Skip to content

chore(python): bump dependencies #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: 3.13
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
Expand All @@ -26,12 +26,12 @@ jobs:
- py313
- pypy3
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Fedora Tox with ${{ matrix.tox_env }}
uses: fedora-python/tox-github-action@6f0add50b32e4bedfd98976984ffa499af4c218b # v39.0
uses: fedora-python/tox-github-action@807f27871410c7391018dc9a245c8cffdced15e9 # v41.0
with:
tox_env: ${{ matrix.tox_env }}
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
cache: pip
cache-dependency-path: |
Expand All @@ -41,9 +41,9 @@ jobs:
name: Build deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
- uses: casperdcl/deploy-pypi@10cf4cd83fc885003a8d4f37f93a5a0f0fc2d2f4 # v2.4.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
- uses: casperdcl/deploy-pypi@928e3123266d588b46c017228f9a9d4c13ad4c93 # v2.5.0
with:
password: ${{ secrets.PYPI_TOKEN }}
build: true
Expand Down
7 changes: 7 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: v1.25.0
ignore:
SNYK-PYTHON-ZIPP-7430899:
- '*':
reason: Introduced by a transitive dependency that is not used in the project. (python 3.7 test in click 1.8.1)
expires: 2025-10-31
patch: {}
46 changes: 19 additions & 27 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,67 +1,59 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile requirements-dev.in
# pip-compile --output-file=requirements-dev.txt requirements-dev.in
#
build==1.2.2.post1
# via pip-tools
certifi==2024.8.30
certifi==2025.7.14
# via requests
charset-normalizer==3.4.0
charset-normalizer==3.4.2
# via requests
click==8.1.7
click==8.1.8
# via pip-tools
coverage[toml]==7.6.8
coverage[toml]==7.9.2
# via pytest-cov
exceptiongroup==1.2.2
# via pytest
idna==3.10
# via requests
importlib-metadata==8.5.0
# via build
iniconfig==2.0.0
iniconfig==2.1.0
# via pytest
mock==5.1.0
mock==5.2.0
# via -r requirements-dev.in
packaging==24.2
packaging==25.0
# via
# build
# pytest
pip-tools==7.4.1
# via -r requirements-dev.in
pluggy==1.5.0
pluggy==1.6.0
# via
# pytest
# pytest-cov
pygments==2.19.2
# via pytest
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.3.3
pytest==8.4.1
# via
# -r requirements-dev.in
# pytest-cov
pytest-cov==6.0.0
pytest-cov==6.2.1
# via -r requirements-dev.in
pyyaml==6.0.2
# via responses
requests==2.32.3
requests==2.32.4
# via responses
responses==0.25.3
responses==0.25.7
# via -r requirements-dev.in
tomli==2.2.1
# via
# build
# coverage
# pip-tools
# pytest
urllib3==2.2.3
urllib3==2.5.0
# via
# requests
# responses
wheel==0.45.1
# via pip-tools
zipp==3.21.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ maintainer_email = hello@upcloud.com
url = https://github.com/UpCloudLtd/upcloud-python-api
packages=['upcloud_api', 'upcloud_api.cloud_manager']
license = MIT
license_files = []
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes issue with twine, pypa/twine#1216 (comment)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know if it makes much of a difference, but I suppose we could add the actual license file here too.

Suggested change
license_files = []
license_files = LICENSE.txt

This syntax is untested, but I suppose it's the correct one per https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#specifying-values. packages above uses something else that doesn't seem to be noted in the config spec.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to trigger the original issue, see https://github.com/UpCloudLtd/upcloud-python-api/actions/runs/16443800646/job/46470548059. Also tried license_files = ['LICENSE.txt'] and license_files = 'LICENSE.txt' with no success.


[options]
python_requires = >=3.9, <4
Expand Down
Loading