diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-gevent/package.py | 20 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-greenlet/package.py | 7 |
2 files changed, 18 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-gevent/package.py b/var/spack/repos/builtin/packages/py-gevent/package.py index 2711633965..5e3b69e3ae 100644 --- a/var/spack/repos/builtin/packages/py-gevent/package.py +++ b/var/spack/repos/builtin/packages/py-gevent/package.py @@ -10,27 +10,31 @@ class PyGevent(PythonPackage): """gevent is a coroutine-based Python networking library.""" homepage = "https://www.gevent.org" - pypi = "gevent/gevent-1.3a2.tar.gz" + pypi = "gevent/gevent-23.7.0.tar.gz" + git = "https://github.com/gevent/gevent.git" + version("23.7.0", sha256="d0d3630674c1b344b256a298ab1ff43220f840b12af768131b5d74e485924237") version("21.12.0", sha256="f48b64578c367b91fa793bf8eaaaf4995cb93c8bc45860e473bf868070ad094e") version("21.8.0", sha256="43e93e1a4738c922a2416baf33f0afb0a20b22d3dba886720bc037cd02a98575") version("1.5.0", sha256="b2814258e3b3fb32786bb73af271ad31f51e1ac01f33b37426b66cb8491b4c29") - version("1.3a2", sha256="f7ab82697111ea233c7beeadf5240f669dfad9c4bbc89a3ec80a49e2c48a65bd") - depends_on("python@2.7:2,3.6:", when="@21.8:", type=("build", "run")) - depends_on("python@2.7:2,3.5:", when="@1.5:", type=("build", "run")) - depends_on("python@2.7:2,3.4:", type=("build", "run")) + # limits according to wheels available on PyPI + depends_on("python@3.8:3.12", when="@23.7.0:", type=("build", "run")) + depends_on("python@2.7:3.10", when="@21.8:21.12", type=("build", "run")) + depends_on("python@2.7:3.8", when="@1.5:20.6.0", type=("build", "run")) + depends_on("py-setuptools@40.8:", when="@20.5.1:", type=("build", "run")) depends_on("py-setuptools@40.8:", when="@1.5:", type="build") depends_on("py-setuptools@24.2:", when="@:1.4", type="build") depends_on("py-cython@3:", when="@20.5.1:", type="build") depends_on("py-cython@0.29.14:", when="@1.5:", type="build") depends_on("py-cython@0.27:", when="@:1.4", type="build") - depends_on("py-cython@0.27:", when="@:1.4", type="build") depends_on("py-cffi@1.12.3:", when="@1.5:", type=("build", "run")) # from pyproject.toml depends_on("py-cffi@1.4:", when="@:1.4", type=("build", "run")) - depends_on("py-greenlet@1.1:1", when="@21.8:", type=("build", "run")) - depends_on("py-greenlet@0.4.17:1", when="@20.12:", type=("build", "run")) + depends_on("py-greenlet@3:", when="@23.7: ^python@3.12:", type=("build", "run")) + depends_on("py-greenlet@2:", when="@22.10.2: ^python@:3.11", type=("build", "run")) + depends_on("py-greenlet@1.1:1", when="@21.8:21.12.0", type=("build", "run")) + depends_on("py-greenlet@0.4.17:1", when="@20.12:21.1.2", type=("build", "run")) depends_on("py-greenlet@0.4.14:", when="@1.5:", type=("build", "run")) depends_on("py-greenlet@0.4.13:", when="@:1.4", type=("build", "run")) depends_on("py-zope-event", when="@20.5.1:", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-greenlet/package.py b/var/spack/repos/builtin/packages/py-greenlet/package.py index 01dae7356a..5a379ff7d4 100644 --- a/var/spack/repos/builtin/packages/py-greenlet/package.py +++ b/var/spack/repos/builtin/packages/py-greenlet/package.py @@ -12,7 +12,12 @@ class PyGreenlet(PythonPackage): homepage = "https://github.com/python-greenlet/greenlet" pypi = "greenlet/greenlet-0.4.17.tar.gz" - version("2.0.2", sha256="e7c8dc13af7db097bed64a051d2dd49e9f0af495c26995c00a9ee842690d34c0") + version("3.0.0a1", sha256="1bd4ea36f0aeb14ca335e0c9594a5aaefa1ac4e2db7d86ba38f0be96166b3102") + version( + "2.0.2", + sha256="e7c8dc13af7db097bed64a051d2dd49e9f0af495c26995c00a9ee842690d34c0", + preferred=True, + ) version("1.1.3", sha256="bcb6c6dd1d6be6d38d6db283747d07fda089ff8c559a835236560a4410340455") version("1.1.2", sha256="e30f5ea4ae2346e62cedde8794a56858a67b878dd79f7df76a0767e356b1744a") version("1.1.0", sha256="c87df8ae3f01ffb4483c796fe1b15232ce2b219f0b18126948616224d3f658ee") |