Skip to content

Commit

Permalink
Update poetry publish workflow version to latest (#430)
Browse files Browse the repository at this point in the history
![image](https://github.com/bakdata/kpops/assets/20357405/16cade09-d279-44ea-a586-cb61eb196a48)


There is a way to increase the timeout:
https://python-poetry.org/docs/faq/#my-requests-are-timing-out

### Edit
The above issue is still not solved. Even after setting the env
variable, the timeout does not increase. Related issue for TestPyPI:
pypi/support#3396
  • Loading branch information
raminqaf authored Jan 26, 2024
1 parent 208cb7b commit ad11fde
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- name: Install Python and set up Poetry
uses: bakdata/ci-templates/actions/[email protected]
with:
poetry-version: "1.4.1" # REASON: https://github.com/python-poetry/poetry/issues/8180
poetry-version: "1.7.1"
python-version: ${{ matrix.python-version }}

- name: Check Poetry lock file consistency
Expand Down Expand Up @@ -82,7 +82,9 @@ jobs:
publish-snapshot-version:
name: Publish snapshot to TestPyPI
needs: [test]
uses: bakdata/ci-templates/.github/workflows/[email protected]
uses: bakdata/ci-templates/.github/workflows/[email protected]
with:
poetry-version: "1.7.1"
secrets:
pypi-token: ${{ secrets.TEST_PYPI_TOKEN }}

Expand All @@ -91,7 +93,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Publish docs from main branch
uses: ./.github/actions/update-docs
Expand All @@ -106,7 +108,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

jobs:
publish:
uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-pypi.yaml@1.25.3
uses: bakdata/ci-templates/.github/workflows/python-poetry-publish-pypi.yaml@1.40.4
with:
publish-to-test: false
poetry-version: "1.5.1"
poetry-version: "1.7.1"
secrets:
pypi-token: "${{ secrets.PYPI_TOKEN }}"
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ on:

jobs:
create-github-release-push-tag:
uses: bakdata/ci-templates/.github/workflows/[email protected].1
uses: bakdata/ci-templates/.github/workflows/[email protected].4
name: Release
with:
release-type: ${{ inputs.release-type }}
poetry-version: "1.5.1"
poetry-version: "1.7.1"
changelog: true
changelog-config: "./.github/changelog-config.json"
changelog-file: "./docs/docs/user/changelog.md"
Expand All @@ -33,7 +33,7 @@ jobs:
needs: create-github-release-push-tag
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all tags; Required for doc versioning

Expand Down

0 comments on commit ad11fde

Please sign in to comment.