Skip to content

Commit

Permalink
chore(py): Support python 3.13 (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q authored Oct 11, 2024
1 parent f74dbf3 commit 051de71
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10", "3.12"]
python-version: ['3.10', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -104,8 +104,8 @@ jobs:
strategy:
matrix:
python-version:
- { py: "3.10", coverage: false }
- { py: "3.12", coverage: true }
- { py: '3.10', coverage: false }
- { py: '3.13', coverage: true }
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
version: "0.4.18"
enable-cache: true
- name: Install Python
run: uv python install 3.12
run: uv python install 3.13

- name: Setup dependencies
run: uv sync
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
version: "0.4.18"
enable-cache: true
- name: Install Python
run: uv python install 3.12
run: uv python install 3.13

- name: Build docs
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
version: "0.4.18"
enable-cache: true
- name: Install Python
run: uv python install 3.12
run: uv python install 3.13

- name: Build sdist and wheels
run: |
Expand Down
3 changes: 2 additions & 1 deletion hugr-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "hugr"
version = "0.8.1"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<3.14"
description = "Quantinuum's common representation for quantum programs"
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
6 changes: 5 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 051de71

Please sign in to comment.