diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d03c852f..68092206 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,8 +84,9 @@ jobs: env: CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel" CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" - # Disable building PyPy wheels on all platforms - CIBW_SKIP: pp* + # pp*: Disable building PyPy wheels on all platforms + # cp314t-win*: Thisable free-threaded Python3.14 builds on Windows + CIBW_SKIP: pp* cp314t-win* - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eca451f1..3a5eb1d1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 21881241..54011165 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ keywords = ["quantum computing", "photonic quantum computing", "boson sampling"] maintainers = [ { name = "Budapest Quantum Computing Group", email = "kolarovszki@inf.elte.hu" }, ] -requires-python = ">=3.9,<3.14" +requires-python = ">=3.9,<3.15" dependencies = [ "numpy>=1.19.5", "scipy>=1.5.4", @@ -31,6 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering :: Quantum Computing", "Development Status :: 5 - Production/Stable", diff --git a/tox.ini b/tox.ini index 4da14724..8b44b62d 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ [tox] requires = tox>=4 -env_list = py{39,310,311,312,313} +env_list = py{39,310,311,312,313,314} [gh-actions] python = @@ -15,11 +15,12 @@ python = 3.11: py311 3.12: py312 3.13: py313 + 3.14: py314 [testenv] extras = py{39,310,311,312}: jax,dev,tensorflow,matplotlib,dask,qiskit - py313: jax,dev,matplotlib,dask,qiskit + py{313,314}: jax,dev,matplotlib,dask,qiskit deps = pytest-cov pytest-xdist @@ -36,8 +37,8 @@ commands = # `coverage`, because coverage already appends the pwd into `sys.path` that `pytest` # cannot delete. # Therefore, I had to use `pytest-cov`. - py313: pytest --import-mode=append -vvv -s --cov={envsitepackagesdir}/piquasso --skip-tensorflow tests -n auto - !py313: pytest --import-mode=append -vvv -s --cov={envsitepackagesdir}/piquasso tests -n auto + py{39,310,311,312}: pytest --import-mode=append -vvv -s --cov={envsitepackagesdir}/piquasso tests -n auto + py{313,314}: pytest --import-mode=append -vvv -s --cov={envsitepackagesdir}/piquasso --skip-tensorflow tests -n auto coverage xml coverage report