diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43fd0ead33..2a675b349e 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'] @@ -96,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" @@ -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'] @@ -140,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/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) --------------------- 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