diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 00b9c4f4e..e5fadf4b2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -223,7 +223,7 @@ jobs: - windows-2025-x64-8-core python_version: - '3.10' - - '3.13' + - '3.14' steps: - name: Check out a copy of the git repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/pyproject.toml b/pyproject.toml index 55085a993..4efa48788 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,6 +126,7 @@ dependencies = {file = ["requirements.txt"] } [tool.cibuildwheel] build = "cp310-* cp311-* cp312-* cp313-* cp314-*" +skip = ["*musllinux*", "*manylinux_i686*"] dependency-versions = "latest" enable = ["cpython-prerelease"] environment.PIP_PREFER_BINARY = "1" @@ -133,11 +134,18 @@ before-test = "pip install --group dev" # import-mode=importlib prevents local source shadowing when importing qsimcirq. test-command = "pytest --import-mode=importlib -n auto -s -v {package}/qsimcirq_tests/qsimcirq_test.py" +[tool.cibuildwheel.linux] +manylinux-x86_64-image = "manylinux2014" +manylinux-i686-image = "manylinux2014" + [[tool.cibuildwheel.overrides]] -# Help increase the chances that pip will find binary wheels for NumPy. -# See https://cibuildwheel.pypa.io/en/stable/faq/#building-with-numpy +# For Python 3.14, have to use a more recent manylinux image. select = ["cp314*"] inherit.environment = "append" +manylinux-x86_64-image = "manylinux_2_28" +manylinux-aarch64-image = "manylinux_2_28" +# Help increase the chances that pip will find binary wheels for NumPy. +# See https://cibuildwheel.pypa.io/en/stable/faq/#building-with-numpy environment.PIP_EXTRA_INDEX_URL = "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/" environment.PIP_PRERELEASE = "allow" @@ -154,11 +162,6 @@ delocate-listdeps {wheel} && delocate-wheel --verbose --require-archs {delocate_archs} -w {dest_dir} {wheel} """ -[tool.cibuildwheel.linux] -manylinux-x86_64-image = "manylinux2014" -manylinux-i686-image = "manylinux2014" -skip = "*musllinux*" - [tool.black] target-version = ['py310', 'py311', 'py312', 'py313', 'py314'] extend-exclude = 'third_party'