Skip to content

Commit 27fc7d4

Browse files
author
Release Manager
committed
Trac #34430: python_igraph: Update to 0.9.11, update spkg-install to use --config-settings
We modernize how we pass build options to the package, using the PEP 517 `--config-settings` mechanism. This is the same as in #34421, where it was needed as a critical bug fix. (For `python_igraph` there is no bug because the analysis in #33138 is still true for our current version of `python_igraph`.) Also including a minor upgrade to `python_igraph`. URL: https://trac.sagemath.org/34430 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): David Coudert
2 parents f913282 + 675fff9 commit 27fc7d4

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tarball=python-igraph-VERSION.tar.gz
2-
sha1=6b717972163a4abfc8324e1a760c830526cc1a66
3-
md5=81929a9ffe5e7c40bf0be5a40d11a211
4-
cksum=2293691814
2+
sha1=b54b4f1a0c7ce8a80ddb35d35b4e5d1552592793
3+
md5=9ce0139a294d1c738abc4eb75aab84cd
4+
cksum=4113725847
55
upstream_url=https://pypi.io/packages/source/i/igraph/igraph-VERSION.tar.gz
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.9
1+
0.9.11
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
cd src
2-
eval sdh_pip_install $(eval sdh_prefix_args "--build-option" --use-pkg-config) .
2+
# Use --use-pep517 because https://github.com/igraph/python-igraph as of 0.9.11 does not have pyproject.toml
3+
# and so "pip wheel" would use a legacy build method, ignoring --config-settings.
4+
#
5+
# TODO: With setuptools 63.2.0, passing another --config-settings "--global-option=--no-wait" (not really needed)
6+
# kills the "--global-option=--use-pkg-config".
7+
# https://github.com/pypa/setuptools/issues/3380 makes changes to this, so we can revisit this after
8+
# the next setuptools upgrade.
9+
#
10+
sdh_pip_install --use-pep517 --config-settings "--global-option=--use-pkg-config" .

0 commit comments

Comments
 (0)