Skip to content

Commit

Permalink
ci: Use more recent poetry for publishing to PyPI
Browse files Browse the repository at this point in the history
Fixes several issues involving urllib3.
  • Loading branch information
riddell-stan committed Jan 5, 2024
1 parent 6b25386 commit 0fe4af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: pip install "poetry~=1.1.4"
run: pip install poetry~=1.7.1

# export test dependencies from pyproject.toml, install them
- name: Install dependencies
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry==1.1.13
python -m pip install -U requests_toolbelt==1.0.0 # fixes https://github.com/python-poetry/poetry/issues/8679
python -m pip install poetry~=1.7.1
- name: Build and publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down

0 comments on commit 0fe4af7

Please sign in to comment.