Skip to content

Commit

Permalink
Don't leak our Python (#18)
Browse files Browse the repository at this point in the history
* Don't leak our Python

* Use unique ID

* Add changelog entry
  • Loading branch information
hynek authored Oct 10, 2022
1 parent 165eea4 commit 360dd1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The contents listing of the SDist, the contents listing of the wheel, *and* the package metadata are now conveniently added to the CI run summary.
So, you don't have to click through the build logs or download anything to give it a quick glimpse.
[#17](/~https://github.com/hynek/build-and-inspect-python-package/pull/17)
- The Python environment that is used by us is better isolated.
[#18](/~https://github.com/hynek/build-and-inspect-python-package/pull/18)


## [1.3](/~https://github.com/hynek/build-and-inspect-python-package/compare/v1.2...v1.3)
Expand Down
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ runs:
using: composite
steps:
- uses: actions/setup-python@v4
id: python-baipp
with:
python-version: "3.10"
update-environment: false

- name: Create venv for tools
run: python3.10 -m venv /tmp/baipp
run: ${{ steps.python-baipp.outputs.python-path }} -m venv /tmp/baipp
shell: bash

- run: /tmp/baipp/bin/python -m pip install -r ${{ github.action_path }}/requirements/tools.txt
Expand Down

0 comments on commit 360dd1c

Please sign in to comment.