Skip to content

Commit

Permalink
Pin pybind11 to 2.9.1 (#955)
Browse files Browse the repository at this point in the history
* Do not pip install it in wheel workflows
  • Loading branch information
molpopgen committed Aug 3, 2022
1 parent 4935fbb commit 415f026
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/manylinux/buildwheels.sh
Expand Up @@ -28,7 +28,7 @@ do
rm -rf build/
# Instead of letting setup.py install a newer numpy we install it here
# using the oldest supported version for ABI compatibility
${PYBIN} -m pip install --no-cache oldest-supported-numpy pybind11-global
${PYBIN} -m pip install --no-cache oldest-supported-numpy
PATH=${PYPATH}:$PATH ${PYBIN} setup.py build_ext -i
PATH=${PYPATH}:$PATH ${PYBIN} setup.py bdist_wheel
done
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
brew install gsl
# Upgrade pip to get bdist_wheel
pip install --upgrade pip
pip install setuptools wheel pybind11-global
pip install setuptools wheel
# Instead of letting setup.py install a newer numpy we install it here
# using the oldest supported version for ABI compatibility
pip install oldest-supported-numpy
Expand Down
5 changes: 5 additions & 0 deletions doc/misc/changelog.md
Expand Up @@ -21,6 +21,11 @@ Bug fixes
* Fixed edge case when importing demes models with burn-in time of 0.
PR {pr}`949`.

Dependencies

* Pinned pybind11 to 2.9.1.
PR {pr}`955`.

## 0.18.1

Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
# We need setup.cfg support, which setuptools indtroduced in 30.3.0.
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm", "pybind11[global]>=2.9.0"]
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm", "pybind11[global]==2.9.1"]
2 changes: 1 addition & 1 deletion requirements/conda_minimal_deps.txt
@@ -1,5 +1,5 @@
intervaltree
pybind11>=2.9.0
pybind11==2.9.1
numpy
scipy
attrs>=0.19.2
Expand Down
2 changes: 1 addition & 1 deletion requirements/development.txt
@@ -1,7 +1,7 @@
# NOTE: any pinning should also be coordinated
# with requirements.in and doc/requirements.in
# and may require regenerating the .txt files.
pybind11[global]
pybind11[global]==2.9.1
intervaltree
numpy
scipy
Expand Down

0 comments on commit 415f026

Please sign in to comment.