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

pybind11 versioning #955

Merged
merged 1 commit into from Aug 3, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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