Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for MacOS 12 #1634

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down Expand Up @@ -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"
Expand All @@ -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']
Expand Down Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions pytket/docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Fixes:
General:

* Support Python 3.13.
* Drop support for MacOS 12.

1.33.1 (October 2024)
---------------------
Expand Down
2 changes: 1 addition & 1 deletion pytket/docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

::

Expand Down
4 changes: 3 additions & 1 deletion pytket/docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/CQCL/tket/issues/926>`_ with
installing pytket in a conda environment on MacOS: you may not be able to
Expand Down
Loading