Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/build-wheel-linux-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:

- name: Install Dependencies (Python)
run: |
python${{ matrix.python_version }} -m pip install numpy nanobind pybind11 PyYAML cmake ninja
python${{ matrix.python_version }} -m pip install numpy nanobind!=2.10.0 pybind11 PyYAML cmake ninja
# Add cmake and ninja to the PATH env var
PYTHON_BINS=$(find /opt/_internal/cpython-${{ matrix.python_version }}.*/bin -maxdepth 1 -type d | tr '\n' ':' | sed 's/:$//')
echo $PYTHON_BINS >> $GITHUB_PATH
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:

- name: Install Dependencies (Python)
run: |
python${{ matrix.python_version }} -m pip install numpy nanobind pybind11 PyYAML cmake ninja
python${{ matrix.python_version }} -m pip install numpy nanobind!=2.10.0 pybind11 PyYAML cmake ninja
# Add cmake and ninja to the PATH env var
PYTHON_BINS=$(find /opt/_internal/cpython-${{ matrix.python_version }}.*/bin -maxdepth 1 -type d | tr '\n' ':' | sed 's/:$//')
echo $PYTHON_BINS >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-wheel-linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
- name: Install Dependencies (Python)
run: |
python${{ matrix.python_version }} -m pip install numpy nanobind pybind11 PyYAML cmake ninja
python${{ matrix.python_version }} -m pip install numpy nanobind!=2.10.0 pybind11 PyYAML cmake ninja
# Add cmake and ninja to the PATH env var
PYTHON_BINS=$(find /opt/_internal/cpython-${{ matrix.python_version }}.*/bin -maxdepth 1 -type d | tr '\n' ':' | sed 's/:$//')
echo $PYTHON_BINS >> $GITHUB_PATH
Expand Down Expand Up @@ -291,7 +291,7 @@ jobs:
- name: Install Dependencies (Python)
run: |
python${{ matrix.python_version }} -m pip install numpy nanobind pybind11 PyYAML cmake ninja
python${{ matrix.python_version }} -m pip install numpy nanobind!=2.10.0 pybind11 PyYAML cmake ninja
# Add cmake and ninja to the PATH env var
PYTHON_BINS=$(find /opt/_internal/cpython-${{ matrix.python_version }}.*/bin -maxdepth 1 -type d | tr '\n' ':' | sed 's/:$//')
echo $PYTHON_BINS >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-wheel-macos-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:

- name: Install Dependencies (Python)
run: |
python${{ matrix.python_version }} -m pip install numpy nanobind pybind11 PyYAML cmake ninja
python${{ matrix.python_version }} -m pip install numpy nanobind!=2.10.0 pybind11 PyYAML cmake ninja

- name: Build LLVM / MLIR
if: steps.cache-llvm-build.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
# LAPACKE reference implementation. TODO: Look into how to upgrade beyond this limit.
- name: Install Dependencies (Python)
run: |
python${{ matrix.python_version }} -m pip install numpy nanobind pybind11 PyYAML ninja delocate
python${{ matrix.python_version }} -m pip install numpy nanobind!=2.10.0 pybind11 PyYAML ninja delocate
python${{ matrix.python_version }} -m pip install cmake'<4'

- name: Get Cached LLVM Source
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check-catalyst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y -q install ninja-build make cmake clang
python3 -m pip install nanobind pybind11
python3 -m pip install nanobind!=2.10.0 pybind11

- name: Get Cached LLVM Source
id: cache-llvm-source
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
sudo apt-get install -y python3 python3-pip cmake ninja-build clang lld

python3 --version | grep ${{ needs.constants.outputs.primary_python_version }}
python3 -m pip install numpy pybind11 nanobind PyYAML
python3 -m pip install numpy pybind11 nanobind!=2.10.0 PyYAML

- name: Build LLVM
if: steps.cache-llvm-build.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y python3 python3-pip cmake ninja-build ccache clang lld
python3 --version | grep ${{ needs.constants.outputs.primary_python_version }}
python3 -m pip install numpy nanobind pybind11
python3 -m pip install numpy nanobind!=2.10.0 pybind11

- name: Get Cached LLVM Source
id: cache-llvm-source
Expand Down Expand Up @@ -681,7 +681,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y -q install cmake ninja-build
python3 -m pip install nanobind pybind11
python3 -m pip install nanobind!=2.10.0 pybind11

- name: Download Catalyst-Runtime Artifact
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -714,7 +714,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y -q install cmake ninja-build
python3 -m pip install nanobind pybind11
python3 -m pip install nanobind!=2.10.0 pybind11

- name: Install lcov # Manually install lcov_1.15-1_all
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ known_third_party = ["diastatic-malt", "jax", "jaxlib", "numpy", "pennylane"]
skips = ["B607"]

[build-system]
requires = ["setuptools>=62", "wheel", "pybind11>=2.12.0", "numpy!=2.0.0", "nanobind", "cmake", "ninja"]
requires = ["setuptools>=62", "wheel", "pybind11>=2.12.0", "numpy!=2.0.0", "nanobind!=2.10.0", "cmake", "ninja"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pip>=22.3
# this bug was fixed in 2.0.1 (https://github.com/numpy/numpy/pull/26995)
numpy!=2.0.0
# llvm requires nanobind 2.9 or higher
nanobind>=2.9
# nanobind 2.10.0 is broken: https://github.com/wjakob/nanobind/issues/1237#issuecomment-3628633127
nanobind>=2.9,!=2.10.0
pybind11>=2.12.0
PyYAML

Expand Down