diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index c31ae3d..07c3015 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -35,40 +35,40 @@ jobs: with: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* +refs/heads/*:refs/remotes/origin/* - - name: Set up Python 3.9 + - name: Set up Python 3.10 if: github.event_name == 'push' || github.event_name == 'schedule' uses: actions/setup-python@v5 with: - python-version: '3.9' - - name: Build and test (3.9) + python-version: '3.10' + - name: Build and test (3.10) if: github.event_name == 'push' || github.event_name == 'schedule' shell: bash run: | ./.github/workflows/build-test nomypy - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: '3.10' - - name: Build and test including remote checks (3.10) mypy + python-version: '3.11' + - name: Build and test including remote checks (3.11) mypy shell: bash if: (matrix.os == 'macos-12') && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'release' || github.event_name == 'schedule' ) run: | ./.github/workflows/build-test mypy env: PYTKET_RUN_REMOTE_TESTS: 1 - - name: Build and test including remote checks (3.10) nomypy + - name: Build and test including remote checks (3.11) nomypy if: (matrix.os != 'macos-12') && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'release' || github.event_name == 'schedule') shell: bash run: | ./.github/workflows/build-test nomypy env: PYTKET_RUN_REMOTE_TESTS: 1 - - name: Set up Python 3.11 + - name: Set up Python 3.12 if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'schedule' uses: actions/setup-python@v5 with: - python-version: '3.11' - - name: Build and test (3.11) + python-version: '3.12' + - name: Build and test (3.12) if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'schedule' shell: bash run: | @@ -122,10 +122,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: '0' - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Download all wheels uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ad3ea42..466754c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' - name: Upgrade pip and install wheel run: pip install --upgrade pip wheel - name: Install pytket iqm diff --git a/README.md b/README.md index d4d07bb..025a3e9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ executed on [IQM](https://meetiqm.com/)'s quantum devices and simulators. ## Getting started -`pytket-iqm` is available for Python 3.8, 3.9 and 3.10, on Linux, macOS +`pytket-iqm` is available for Python 3.10, 3.11 and 3.12, on Linux, macOS and Windows. To install, run: ```shell diff --git a/docs/changelog.rst b/docs/changelog.rst index 39054ab..366d307 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,14 @@ Changelog ~~~~~~~~~ +Unreleased +---------- + +General: + +* Python 3.12 support added, 3.9 dropped. +* pytket dependency updated to 1.24 + 0.10.0 (January 2024) --------------------- diff --git a/docs/intro.txt b/docs/intro.txt index 06e1d42..e91cfbb 100644 --- a/docs/intro.txt +++ b/docs/intro.txt @@ -4,7 +4,7 @@ pytket-iqm ``pytket-iqm`` is an extension to ``pytket`` that allows ``pytket`` circuits to be executed on IQM's quantum devices and simulators. -``pytket-iqm`` is available for Python 3.9, 3.10 and 3.11, on Linux, MacOS and +``pytket-iqm`` is available for Python 3.10, 3.11 and 3.12, on Linux, MacOS and Windows. To install, run: :: diff --git a/setup.py b/setup.py index be9e196..90f65da 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ version=metadata["__extension_version__"], author="TKET development team", author_email="tket-support@cambridgequantum.com", - python_requires=">=3.9", + python_requires=">=3.10", project_urls={ "Documentation": "https://tket.quantinuum.com/extensions/pytket-iqm/index.html", "Source": "https://github.com/CQCL/pytket-iqm", @@ -42,12 +42,12 @@ license="Apache 2", packages=find_namespace_packages(include=["pytket.*"]), include_package_data=True, - install_requires=["pytket ~= 1.23", "iqm-client ~= 15.2"], + install_requires=["pytket ~= 1.24", "iqm-client ~= 15.2"], classifiers=[ "Environment :: Console", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux",