Restrict py-pip version for packages using --install-option (#38837)
This commit is contained in:
parent
bb7f437bf5
commit
7d5007b5e4
5 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue