Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(py): Support python 3.13 #1574

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading