Restrict py-pip version for packages using --install-option (#38837)

This commit is contained in:
Manuela Kuhn 2023-07-13 10:00:40 +02:00 committed by GitHub
parent bb7f437bf5
commit 7d5007b5e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View file

@ -44,6 +44,8 @@ class PyNetworkit(PythonPackage):
depends_on("py-scipy", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("python@3:", type=("build", "run"))
# in newer pip versions --install-option does not exist
depends_on("py-pip@:23.0", type="build")
def install_options(self, spec, prefix):
# Enable ext. core-library + parallel build

View file

@ -21,6 +21,8 @@ class PyPymol(PythonPackage):
depends_on("python+tkinter@2.7:", type=("build", "link", "run"), when="@2.3.0:2.4.0")
depends_on("python+tkinter@3.6:", type=("build", "link", "run"), when="@2.5.0:")
# in newer pip versions --install-option does not exist
depends_on("py-pip@:23.0", type="build")
depends_on("gl")
depends_on("glew")
depends_on("libpng")

View file

@ -36,6 +36,8 @@ class PyPyside(PythonPackage):
depends_on("cmake", type="build")
depends_on("py-setuptools", type="build")
# in newer pip versions --install-option does not exist
depends_on("py-pip@:23.0", type="build")
depends_on("py-sphinx", type=("build", "run"))
depends_on("py-sphinx@:3.5.0", type=("build", "run"), when="@:1.2.2")
depends_on("qt@4.5:4.9")

View file

@ -42,6 +42,8 @@ class PyPyside2(PythonPackage):
depends_on("py-wheel", type="build")
# https://bugreports.qt.io/browse/PYSIDE-1385
depends_on("py-wheel@:0.34", when="@:5.14", type="build")
# in newer pip versions --install-option does not exist
depends_on("py-pip@:23.0", type="build")
depends_on("qt@5.11:+opengl")
depends_on("graphviz", when="+doc", type="build")

View file

@ -19,6 +19,8 @@ class PyShiboken(PythonPackage):
depends_on("cmake", type="build")
depends_on("py-setuptools", type="build")
# in newer pip versions --install-option does not exist
depends_on("py-pip@:23.0", type="build")
depends_on("py-sphinx@:3.4", type=("build", "run"))
depends_on("libxml2")
depends_on("qt@:4.8")