diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 1ac8bc5d..f6d4e8f0 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -33,40 +33,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.8 + - name: Set up Python 3.9 if: github.event_name == 'push' || github.event_name == 'schedule' uses: actions/setup-python@v4 with: - python-version: '3.8' - - name: Build and test (3.8) + python-version: '3.9' + - name: Build and test (3.9) if: github.event_name == 'push' || github.event_name == 'schedule' shell: bash run: | ./.github/workflows/build-test nomypy - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: '3.9' - - name: Build and test including remote checks (3.9) mypy + python-version: '3.10' + - name: Build and test including remote checks (3.10) mypy 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 mypy env: PYTKET_RUN_REMOTE_TESTS: 1 - - name: Build and test including remote checks (3.9) nomypy + - name: Build and test including remote checks (3.10) 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.10 + - name: Set up Python 3.11 if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'schedule' uses: actions/setup-python@v4 with: - python-version: '3.10' - - name: Build and test (3.10) + python-version: '3.11' + - name: Build and test (3.11) if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'schedule' shell: bash run: | @@ -117,10 +117,10 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: '0' - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.10' - name: Download all wheels uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index aee9792f..81ccfe60 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,15 +14,14 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.10 - name: Upgrade pip and install wheel run: pip install --upgrade pip wheel - name: Install pytket qiskit - run: | - pip install . + run: pip install . - name: Install docs dependencies run: | pip install -r .github/workflows/docs/requirements.txt diff --git a/README.md b/README.md index 44258c16..d1ae7020 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ representations. ## Getting started -`pytket-qiskit` is available for Python 3.8, 3.9 and 3.10, on Linux, MacOS +`pytket-qiskit` is available for Python 3.9, 3.10 and 3.11, on Linux, MacOS and Windows. To install, run: ```pip install pytket-qiskit``` diff --git a/docs/changelog.rst b/docs/changelog.rst index ed46b14c..675e35c9 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,11 @@ Changelog ~~~~~~~~~ +Unreleased +---------- + +* Drop support for Python 3.8; add support for 3.11. + 0.33.0 (December 2022) ---------------------- diff --git a/docs/intro.txt b/docs/intro.txt index 70aea340..61d70143 100644 --- a/docs/intro.txt +++ b/docs/intro.txt @@ -9,7 +9,7 @@ representations, simulation and access to the `IBMQ