Skip to content

Commit

Permalink
Merge pull request #53 from claui/dependencies
Browse files Browse the repository at this point in the history
Bump dependencies
  • Loading branch information
claui authored Feb 11, 2024
2 parents e78ac0e + 954e9c3 commit 1252421
Show file tree
Hide file tree
Showing 7 changed files with 347 additions and 357 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ name: Build package distribution
on:
workflow_call:
inputs:
ci_poetry_version:
description: |-
The Poetry version to be used to build the distribution.
type: string
required: true
ref:
description: |-
The branch, tag or SHA to checkout.
type: string
required: true

env:
CI_POETRY_VERSION: "1.6.1"

jobs:
build-dist:
runs-on: ubuntu-22.04
Expand All @@ -26,7 +28,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-release-v${{ env.CI_POETRY_VERSION }}
key: poetry-release-v${{ inputs.ci_poetry_version }}

- name: Update PATH
if: steps.load-cached-poetry.outputs.cache-hit == 'true'
Expand All @@ -37,7 +39,7 @@ jobs:
uses: snok/install-poetry@v1
if: steps.load-cached-poetry.outputs.cache-hit != 'true'
with:
version: ${{ env.CI_POETRY_VERSION }}
version: ${{ inputs.ci_poetry_version }}
virtualenvs-create: true
virtualenvs-in-project: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- workflow_call

env:
CI_POETRY_VERSION: "1.6.1"
CI_POETRY_VERSION: "1.7.1"

jobs:
ci-checks:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
needs: ci-checks
uses: ./.github/workflows/build-dist.yml
with:
ci_poetry_version: ${{ env.CI_POETRY_VERSION }}
ref: ${{ github.sha }}

publish-release:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
needs: bump-version
uses: ./.github/workflows/build-dist.yml
with:
ci_poetry_version: ${{ env.CI_POETRY_VERSION }}
ref: release/${{ needs.bump-version.outputs.new_version }}

publish-testpypi:
Expand Down
678 changes: 332 additions & 346 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
Expand All @@ -12,12 +12,12 @@ license = "Apache-2.0"

[tool.poetry.dependencies]
python = "~3.11"
feedgen = "^0.9.0"
feedgen = "^1.0"
requests = "^2.31.0"

[tool.poetry.dev-dependencies]
autopep8 = "*"
mypy = "~=1.5.1"
mypy = "~=1.8"
pdoc = "~=14.0"
poethepoet = "~=0.24"
pylint = "~=3.0"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ def test_from_dict(neo_package: dict[str, Any],
<title>neo – Releases</title>
<updated>2022-10-01T14:46:53+02:00</updated>
<link href="https://www.mediola.com/service#downloads?type=software&amp;product=neo" rel="alternate" type="text/html"/>
<generator uri="https://lkiesow.github.io/python-feedgen" version="0.9.0">python-feedgen</generator>
<generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
<subtitle>Software releases for neo</subtitle>
<entry>
<id>https://mediola.com/service/downloads/versions/2.11.3</id>
<title>2.11.3</title>
<updated>2022-09-26T00:00:00+02:00</updated>
<content>Version 2.11.3</content>
<link href="https://www.mediola.com/service#downloads?type=software&amp;product=neo" rel="alternate" type="text/html"/>
<link href="https://www.mediola.com/service#downloads?type=software&amp;product=neo"/>
<published>2022-09-26T00:00:00+02:00</published>
<rights>https://www.mediola.com/eula</rights>
</entry>
Expand Down

0 comments on commit 1252421

Please sign in to comment.