diff --git a/.github/workflows/ci-py.yml b/.github/workflows/ci-py.yml index f203ff7eb..0239330b3 100644 --- a/.github/workflows/ci-py.yml +++ b/.github/workflows/ci-py.yml @@ -44,7 +44,7 @@ jobs: strategy: matrix: - python-version: ["3.10", "3.12"] + python-version: ['3.10', '3.13'] steps: - uses: actions/checkout@v4 @@ -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 @@ -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 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ee68e32ae..f35c08d1d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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: | diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index 6c49ae216..57537d387 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -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: | diff --git a/hugr-py/pyproject.toml b/hugr-py/pyproject.toml index 88383735b..2766b4bbd 100644 --- a/hugr-py/pyproject.toml +++ b/hugr-py/pyproject.toml @@ -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" @@ -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", diff --git a/uv.lock b/uv.lock index 689cbe26b..e0d9030b4 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,9 @@ version = 1 -requires-python = ">=3.10, <3.13" +requires-python = ">=3.10, <3.14" +resolution-markers = [ + "python_full_version < '3.13'", + "python_full_version >= '3.13'", +] [manifest] members = [