Skip to content

Commit

Permalink
perf: Python 3.13 support
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Sep 10, 2024
1 parent c66e60a commit efb9c24
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ home-page = "https://www.oziproject.dev"
author = "Eden Ross Duff MSc"
author-email = "[email protected]"
license = "Unlicense"
requires-python = '>=3.10, <3.14'
download-url = "https://github.com/OZI-Project/ozi-spec/archive/refs/tags/{version}.tar.gz"
project-urls = ["Documentation, https://docs.oziproject.dev/en/latest/ozi_spec.html"]
keywords = "specification,standard,OZI,mesonbuild"
Expand All @@ -25,6 +26,7 @@ classifiers = [
'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',
'Intended Audience :: Other Audience',
'Natural Language :: English',
Expand Down Expand Up @@ -201,6 +203,7 @@ ignore = [
"RUF009",
"RUF012",
"RUF015",
"RUF200",
"SIM",
"T201",
"TCH002",
Expand Down Expand Up @@ -312,15 +315,24 @@ commands =
description = quickly fix minor source issues
deps = pipx
skip_install = true
commands_pre =
commands =
pipx run --python {env_python} -q black -S .
pipx run --python {env_python} -q isort .
pipx run --python {env_python} -q autoflake -i -r .
pipx run --python {env_python} -q ruff check ozi_spec --fix
pipx run --python {env_python} black -S .
pipx run --python {env_python} isort .
pipx run --python {env_python} autoflake -i -r .
pipx run --python {env_python} ruff check . --fix
commands_post =
[testenv:scm]
description = OZI supply chain management (setuptools_scm)
deps = setuptools_scm[toml]>=8
commands =
{env_python} -m setuptools_scm {posargs}
[testenv:invoke]
description = OZI invoke task entrypoint, for more info use "tox -e invoke -- --list"
no_package = true
commands_post =
{env_python} -m invoke --search-root={env_tmp_dir}/subprojects/ozi/ozi {posargs}
"""

0 comments on commit efb9c24

Please sign in to comment.