Skip to content

Commit

Permalink
Merge pull request #1256 from VWS-Python/python-3.13
Browse files Browse the repository at this point in the history
Add support for Python 3.13, and drop support for Python 3.12
  • Loading branch information
adamtheturtle authored Feb 22, 2025
2 parents bf54294 + e7ac2b3 commit 3ffbe06
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,21 @@ jobs:

strategy:
matrix:
python-version: ['3.12']
python-version: ['3.13']
platform: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v4
# Avoid issues with depending on a particular version of this
# package from another package.
# We need our tags in order to calculate the version.
# See https://github.com/astral-sh/uv/issues/8148.
with:
fetch-depth: 0
fetch-tags: true

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ jobs:
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
# Avoid issues with depending on a particular version of this
# package from another package.
# We need our tags in order to calculate the version.
# See https://github.com/astral-sh/uv/issues/8148.
with:
fetch-depth: 0
fetch-tags: true

- id: deployment
uses: sphinx-notes/pages@v3
with:
Expand All @@ -25,3 +34,4 @@ jobs:
python_version: '3.13'
sphinx_build_options: -W
publish: ${{ github.ref_name == 'main' }}
checkout: false
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ See the `full documentation <https://vws-python.github.io/vws-auth-tools/>`__.
:target: https://codecov.io/gh/VWS-Python/vws-auth-tools
.. |PyPI| image:: https://badge.fury.io/py/VWS-Auth-Tools.svg
:target: https://badge.fury.io/py/VWS-Auth-Tools
.. |minimum-python-version| replace:: 3.12
.. |minimum-python-version| replace:: 3.13
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ license = { file = "LICENSE" }
authors = [
{ name = "Adam Dangoor", email = "adamdangoor@gmail.com" },
]
requires-python = ">=3.12"
requires-python = ">=3.13"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = [
"version",
Expand Down Expand Up @@ -70,7 +70,7 @@ optional-dependencies.dev = [
"sybil==9.1.0",
"types-requests==2.32.0.20241016",
"vulture==2.14",
"vws-python-mock==2024.8.30",
"vws-python-mock==2025.2.18",
"yamlfix==1.17.0",
]
optional-dependencies.release = [ "check-wheel-contents==0.6.1" ]
Expand Down Expand Up @@ -300,7 +300,7 @@ pep621_dev_dependency_groups = [
[tool.pyproject-fmt]
indent = 4
keep_full_version = true
max_supported_python = "3.12"
max_supported_python = "3.13"

[tool.pytest.ini_options]

Expand Down

0 comments on commit 3ffbe06

Please sign in to comment.