Skip to content

Commit

Permalink
chore(py): Support python 3.13 (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q authored Oct 11, 2024
1 parent c13277b commit d8b5150
Show file tree
Hide file tree
Showing 5 changed files with 283 additions and 256 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
with:
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install Python 3.12
run: uv python install 3.12
- name: Install Python 3.13
run: uv python install 3.13
- name: Setup dependencies
run: uv sync --locked
- name: Type check with mypy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-pure-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
with:
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install Python 3.12
run: uv python install 3.12
- name: Install Python 3.13
run: uv python install 3.13

- name: Build sdist and wheels
if: ${{ steps.check-tag.outputs.run == 'true' }}
Expand Down
3 changes: 2 additions & 1 deletion tket2-eccs/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "tket2_eccs"
version = "0.2.0"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<3.14"
description = "Precompiled rewrite sets for the tket 2 compiler"
license = { file = "LICENCE" }
readme = "README.md"
Expand All @@ -16,6 +16,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
Expand Down
3 changes: 2 additions & 1 deletion tket2-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "tket2"
version = "0.4.1"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<3.14"
description = "Quantinuum's TKET2 Quantum Compiler"
license = { file = "LICENCE" }
readme = "README.md"
Expand All @@ -16,6 +16,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
Expand Down
Loading

0 comments on commit d8b5150

Please sign in to comment.