Skip to content

Commit

Permalink
configure poetry to not create its own virtual env
Browse files Browse the repository at this point in the history
this workflow runs in its own container with its own python.
hopefully, this setting will resolve the preceeding (see earlier
commits) venv ambiguity. (and we'll just all use the container's
python environment).
  • Loading branch information
phycodurus committed Nov 1, 2023
1 parent 4a68829 commit 7cf757a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m venv env # create a virtual environment so poetry finds an uses this one
python -m pip install poetry
poetry config virtualenvs.create false # tell poetry not to create a new virtual environment
poetry self add "poetry-dynamic-versioning[plugin]"
- name: Build package with poetry
run: |
Expand Down

0 comments on commit 7cf757a

Please sign in to comment.