From dae0bbcd8646396d1a31e75ed35f6a2216e30644 Mon Sep 17 00:00:00 2001 From: Jesse Claven Date: Tue, 23 Jul 2024 12:03:48 +0100 Subject: [PATCH] ci: Increase Poetry HTTP requests timeout (#59) 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] https://github.com/python-poetry/poetry/issues/6009 [2] https://github.com/chaoss/grimoirelab-github-actions/pull/9 --- .github/workflows/publish.yml | 7 +++++-- src/cpr_sdk/version.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2736355..ccd306a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/src/cpr_sdk/version.py b/src/cpr_sdk/version.py index 59efca9..98cd443 100644 --- a/src/cpr_sdk/version.py +++ b/src/cpr_sdk/version.py @@ -1,6 +1,6 @@ _MAJOR = "1" _MINOR = "1" -_PATCH = "8" +_PATCH = "9" _SUFFIX = "" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)