Skip to content

Commit

Permalink
ci: Increase Poetry HTTP requests timeout (#59)
Browse files Browse the repository at this point in the history
This was added in 2022, so it's been around for a while as an option.
Others have used this for similar issues [1][2].

[1] python-poetry/poetry#6009
[2] chaoss/grimoirelab-github-actions#9
  • Loading branch information
jesse-c authored Jul 23, 2024
1 parent 2ceec7f commit dae0bbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,8 @@ jobs:
poetry build
- name: Publish
run: |
poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}
run: poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}
# Allow for slow uploads [1]
# [1] https://python-poetry.org/docs/faq#my-requests-are-timing-out
env:
POETRY_REQUESTS_TIMEOUT: 120 # Seconds
2 changes: 1 addition & 1 deletion src/cpr_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_MAJOR = "1"
_MINOR = "1"
_PATCH = "8"
_PATCH = "9"
_SUFFIX = ""

VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
Expand Down

0 comments on commit dae0bbc

Please sign in to comment.