From 12dc829ddbc3847b52cf078d6fbfa6f7b8d1f17e Mon Sep 17 00:00:00 2001 From: Alec Edgington Date: Wed, 23 Oct 2024 15:08:34 +0100 Subject: [PATCH 1/3] Set MacOS deployment target to 13. --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43fd0ead33..0398a2b992 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,8 +65,6 @@ jobs: build_macos_x86_wheels: name: Build macos x86 wheels runs-on: macos-13 - env: - MACOSX_DEPLOYMENT_TARGET: '12.0' strategy: matrix: python-version: ['3.10', '3.11', '3.12', '3.13'] @@ -110,7 +108,7 @@ jobs: name: Build macos arm64 wheels runs-on: macos-15 env: - MACOSX_DEPLOYMENT_TARGET: '12.0' + MACOSX_DEPLOYMENT_TARGET: '13.0' strategy: matrix: python-version: ['3.10', '3.11', '3.12', '3.13'] From a8051143a271224951426aa7710f0bd52736d20f Mon Sep 17 00:00:00 2001 From: Alec Edgington Date: Wed, 23 Oct 2024 15:15:19 +0100 Subject: [PATCH 2/3] Drop support for MacOS 12. --- .github/workflows/release.yml | 8 ++++---- pytket/docs/getting_started.rst | 2 +- pytket/docs/install.rst | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0398a2b992..2a675b349e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,8 +94,8 @@ jobs: conan create recipes/pybind11 conan create recipes/pybind11_json/all --version 0.2.14 cd pytket - # Ensure wheels are compatible with MacOS 12.0 and later: - export WHEEL_PLAT_NAME=macosx_12_0_x86_64 + # Ensure wheels are compatible with MacOS 13.0 and later: + export WHEEL_PLAT_NAME=macosx_13_0_x86_64 pip install -U pip build delocate python -m build delocate-wheel -v -w "$GITHUB_WORKSPACE/wheelhouse/" "dist/pytket-"*".whl" @@ -138,8 +138,8 @@ jobs: conan create recipes/pybind11 conan create recipes/pybind11_json/all --version 0.2.14 cd pytket - # Ensure wheels are compatible with MacOS 12.0 and later: - export WHEEL_PLAT_NAME=macosx_12_0_arm64 + # Ensure wheels are compatible with MacOS 13.0 and later: + export WHEEL_PLAT_NAME=macosx_13_0_arm64 python${{ matrix.python-version }} -m pip install -U pip build delocate python${{ matrix.python-version }} -m build delocate-wheel -v -w "$GITHUB_WORKSPACE/wheelhouse/" "dist/pytket-"*".whl" diff --git a/pytket/docs/getting_started.rst b/pytket/docs/getting_started.rst index 76a4236a14..17fece3741 100644 --- a/pytket/docs/getting_started.rst +++ b/pytket/docs/getting_started.rst @@ -8,7 +8,7 @@ API for interacting with tket and transpiling to and from other popular quantum circuit specifications. Pytket is compatible with 64-bit Python 3.10, 3.11, 3.12 and 3.13, on Linux, -MacOS (12.0 or later) and Windows. Install pytket from PyPI using: +MacOS (13.0 or later) and Windows. Install pytket from PyPI using: :: diff --git a/pytket/docs/install.rst b/pytket/docs/install.rst index 1fb014fb1a..8aaafb32ea 100644 --- a/pytket/docs/install.rst +++ b/pytket/docs/install.rst @@ -70,7 +70,9 @@ At a couple of points in the development of the software, we had to increase the One possibility is that you are using an old version of ``pip`` that cannot accept the more recent Linux builds. Try running ``pip install --upgrade pip`` to upgrade it to the most recent version and upgrade ``pytket``. -As of pytket release 1.24.0 installing the latest version of pytket requires python version 3.10, 3.11 or 3.12. If you have an older version of python then you will need to upgrade it to use the latest version of pytket and the extensions. +As of pytket release 1.24.0 installing the latest version of pytket requires python version 3.10 or above. If you have an older version of python then you will need to upgrade it to use the latest version of pytket and the extensions. + +As of pytket release 1.34.0 MacOS 12 is no longer supported: please upgrade to MacOS 13 or above to use the latest version of pytket. There is a `known issue `_ with installing pytket in a conda environment on MacOS: you may not be able to From bdb0799648adfca896c1923bb8fda262c2509054 Mon Sep 17 00:00:00 2001 From: Alec Edgington Date: Wed, 23 Oct 2024 15:15:54 +0100 Subject: [PATCH 3/3] Update changelog. --- pytket/docs/changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/pytket/docs/changelog.rst b/pytket/docs/changelog.rst index 88e3db78c8..c2a77a4d16 100644 --- a/pytket/docs/changelog.rst +++ b/pytket/docs/changelog.rst @@ -16,6 +16,7 @@ Fixes: General: * Support Python 3.13. +* Drop support for MacOS 12. 1.33.1 (October 2024) ---------------------