Skip to content

Commit

Permalink
Bump max Python version to 3.13
Browse files Browse the repository at this point in the history
Also update dev dependencies.
  • Loading branch information
maread99 committed Jan 14, 2025
1 parent 29b9d35 commit 6c11b93
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.11"]
python-version: ["3.9", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ repos:
hooks:
- id: check-yaml
- repo: https://github.com/psf/black
rev: 24.2.0
rev: 24.10.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.11
language_version: python3.13
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: [flake8-docstrings]
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
Expand Down Expand Up @@ -70,4 +72,4 @@ write_to = "src/valimp/_version.py"

[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311']
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
59 changes: 29 additions & 30 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
#
# pip-compile --extra=dev --output-file=requirements_dev.txt pyproject.toml
#
astroid==3.0.3
astroid==3.3.8
# via pylint
black==24.2.0
black==24.10.0
# via valimp (pyproject.toml)
build==1.0.3
build==1.2.2.post1
# via pip-tools
cfgv==3.4.0
# via pre-commit
click==8.1.7
click==8.1.8
# via
# black
# pip-tools
Expand All @@ -22,23 +22,23 @@ colorama==0.4.6
# click
# pylint
# pytest
dill==0.3.8
dill==0.3.9
# via pylint
distlib==0.3.8
distlib==0.3.9
# via virtualenv
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via pytest
filelock==3.13.1
filelock==3.16.1
# via virtualenv
flake8==7.0.0
flake8==7.1.1
# via
# flake8-docstrings
# valimp (pyproject.toml)
flake8-docstrings==1.7.0
# via valimp (pyproject.toml)
identify==2.5.34
identify==2.6.5
# via pre-commit
importlib-metadata==7.0.1
importlib-metadata==8.5.0
# via build
iniconfig==2.0.0
# via pytest
Expand All @@ -48,72 +48,71 @@ mccabe==0.7.0
# via
# flake8
# pylint
mypy==1.8.0
mypy==1.14.1
# via valimp (pyproject.toml)
mypy-extensions==1.0.0
# via
# black
# mypy
nodeenv==1.8.0
nodeenv==1.9.1
# via pre-commit
packaging==23.2
packaging==24.2
# via
# black
# build
# pytest
pathspec==0.12.1
# via black
pip-tools==7.4.0
pip-tools==7.4.1
# via valimp (pyproject.toml)
platformdirs==4.2.0
platformdirs==4.3.6
# via
# black
# pylint
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via pytest
pre-commit==3.6.1
pre-commit==4.0.1
# via valimp (pyproject.toml)
pycodestyle==2.11.1
pycodestyle==2.12.1
# via flake8
pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.2.0
# via flake8
pylint==3.0.3
pylint==3.3.3
# via valimp (pyproject.toml)
pyproject-hooks==1.0.0
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.0.1
pytest==8.3.4
# via valimp (pyproject.toml)
pyyaml==6.0.1
pyyaml==6.0.2
# via pre-commit
snowballstemmer==2.2.0
# via pydocstyle
tomli==2.0.1
tomli==2.2.1
# via
# black
# build
# mypy
# pip-tools
# pylint
# pyproject-hooks
# pytest
tomlkit==0.12.3
tomlkit==0.13.2
# via pylint
typing-extensions==4.9.0
typing-extensions==4.12.2
# via
# astroid
# black
# mypy
# pylint
virtualenv==20.25.0
virtualenv==20.28.1
# via pre-commit
wheel==0.42.0
wheel==0.45.1
# via pip-tools
zipp==3.17.0
zipp==3.21.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down
22 changes: 11 additions & 11 deletions requirements_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
#
# pip-compile --extra=tests --output-file=requirements_tests.txt pyproject.toml
#
black==24.2.0
black==24.10.0
# via valimp (pyproject.toml)
click==8.1.7
click==8.1.8
# via black
colorama==0.4.6
# via
# click
# pytest
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via pytest
flake8==7.0.0
flake8==7.1.1
# via
# flake8-docstrings
# valimp (pyproject.toml)
Expand All @@ -26,29 +26,29 @@ mccabe==0.7.0
# via flake8
mypy-extensions==1.0.0
# via black
packaging==23.2
packaging==24.2
# via
# black
# pytest
pathspec==0.12.1
# via black
platformdirs==4.2.0
platformdirs==4.3.6
# via black
pluggy==1.4.0
pluggy==1.5.0
# via pytest
pycodestyle==2.11.1
pycodestyle==2.12.1
# via flake8
pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.2.0
# via flake8
pytest==8.0.1
pytest==8.3.4
# via valimp (pyproject.toml)
snowballstemmer==2.2.0
# via pydocstyle
tomli==2.0.1
tomli==2.2.1
# via
# black
# pytest
typing-extensions==4.9.0
typing-extensions==4.12.2
# via black

0 comments on commit 6c11b93

Please sign in to comment.