Skip to content
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: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
fail-fast: false
matrix:
os_dist: [
{os: ubuntu-24.04, dist: cp310-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp311-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp312-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp313-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp314-manylinux_x86_64},
{os: ubuntu-24.04, dist: cp315-manylinux_x86_64},

# manylinux_i686 disabled because scipy isn't prebuilt and fails to build.
#
Expand Down Expand Up @@ -68,17 +68,17 @@
# {os: ubuntu-latest, dist: cp310-musllinux_x86_64},
# {os: ubuntu-latest, dist: cp310-musllinux_i686},

{os: macos-14, dist: cp310-macosx_x86_64, macosarch: x86_64},
{os: macos-14, dist: cp311-macosx_x86_64, macosarch: x86_64},
{os: macos-14, dist: cp312-macosx_x86_64, macosarch: x86_64},
{os: macos-14, dist: cp313-macosx_x86_64, macosarch: x86_64},
{os: macos-14, dist: cp314-macosx_x86_64, macosarch: x86_64},
{os: macos-14, dist: cp315-macosx_x86_64, macosarch: x86_64},

{os: macos-14, dist: cp310-macosx_arm64, macosarch: arm64},
{os: macos-14, dist: cp311-macosx_arm64, macosarch: arm64},
{os: macos-14, dist: cp312-macosx_arm64, macosarch: arm64},
{os: macos-14, dist: cp313-macosx_arm64, macosarch: arm64},
{os: macos-14, dist: cp314-macosx_arm64, macosarch: arm64},
{os: macos-14, dist: cp315-macosx_arm64, macosarch: arm64},

# pypy OSX builds disabled because numpy isn't prebuilt and fails to build.
#
Expand All @@ -93,11 +93,11 @@
#
# {os: macOS-10.15, dist: pp39-macosx_x86_64},

{os: windows-2025, dist: cp310-win_amd64},
{os: windows-2025, dist: cp311-win_amd64},
{os: windows-2025, dist: cp312-win_amd64},
{os: windows-2025, dist: cp313-win_amd64},
{os: windows-2025, dist: cp314-win_amd64},
{os: windows-2025, dist: cp315-win_amd64},

# cp310-win32 disabled because numpy isn't prebuilt and fails to build.
#
Expand All @@ -118,7 +118,7 @@
persist-credentials: false
- uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
- run: python dev/overwrite_dev_versions_with_date.py
- run: python -m pip install pybind11~=2.11.1 cibuildwheel~=3.3.1 setuptools wheel
- run: python -m pip install pybind11~=2.11.1 cibuildwheel~=4.3.4 setuptools wheel
- run: python -m cibuildwheel --print-build-identifiers
- run: python -m cibuildwheel --output-dir dist
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
Expand Down Expand Up @@ -179,7 +179,7 @@
with:
persist-credentials: false
- uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
- run: python -m pip install pybind11~=2.11.1 cibuildwheel~=3.3.1 setuptools wheel
- run: python -m pip install pybind11~=2.11.1 cibuildwheel~=4.3.4 setuptools wheel
- run: python setup.py sdist
- run: pip install dist/*.tar.gz
check_sdist_installs_sinter:
Expand Down Expand Up @@ -238,22 +238,22 @@
with:
name: dist-stimflow
path: dist-stimflow
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1.14.3

Check notice on line 241 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

ci.yml:241: prefer trusted publishing for authentication: this step
with:
user: __token__
packages_dir: dist-stim
password: ${{ secrets.pypi_token_stim }}
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1.14.3

Check notice on line 246 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

ci.yml:246: prefer trusted publishing for authentication: this step
with:
user: __token__
packages_dir: dist-stimcirq
password: ${{ secrets.pypi_token_stimcirq }}
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1.14.3

Check notice on line 251 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

ci.yml:251: prefer trusted publishing for authentication: this step
with:
user: __token__
packages_dir: dist-sinter
password: ${{ secrets.pypi_token_sinter }}
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1.14.3

Check notice on line 256 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

ci.yml:256: prefer trusted publishing for authentication: this step
with:
user: __token__
packages_dir: dist-stimflow
Expand Down
2 changes: 1 addition & 1 deletion doc/developer_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ sudo perf report

## <a name="venv"></a>Creating a python dev environment

First, create a fresh python 3.6+ virtual environment using your favorite
First, create a fresh python 3.11+ virtual environment using your favorite
method:
[`python -m venv`](https://docs.python.org/3/library/venv.html),
[`virtualenvwrapper`](https://virtualenvwrapper.readthedocs.io/en/latest/),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _get_extensions():
long_description=long_description,
long_description_content_type='text/markdown',
ext_modules=_get_extensions(),
python_requires='>=3.6.0',
python_requires='>=3.11',
Comment thread
Strilanc marked this conversation as resolved.
packages=['stim'],
package_dir={'stim': 'glue/python/src/stim'},
package_data={'': [*HEADER_FILES, 'glue/python/src/stim/__init__.pyi', 'glue/python/README.md', 'pyproject.toml']},
Expand Down
Loading