diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2023-06-23 22:07:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 15:07:38 -0500 |
commit | 0470fe545fdf4c59c07faa7c51e7e7bc78fd0bb6 (patch) | |
tree | 5b31b073f0e101fcb05ded84e839282a31b1a28a /var | |
parent | db8bf333d33a7eb64b2fca1948bbdf877183e31b (diff) | |
download | spack-0470fe545fdf4c59c07faa7c51e7e7bc78fd0bb6.tar.gz spack-0470fe545fdf4c59c07faa7c51e7e7bc78fd0bb6.tar.bz2 spack-0470fe545fdf4c59c07faa7c51e7e7bc78fd0bb6.tar.xz spack-0470fe545fdf4c59c07faa7c51e7e7bc78fd0bb6.zip |
py-pytest: add 7.3.2 (#38522)
* py-pytest: add 7.3.2
* [@spackbot] updating style on behalf of manuelakuhn
* Swap py-importlib-metadata dependency order
* Restrict python version for older versions
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pytest/package.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest/package.py b/var/spack/repos/builtin/packages/py-pytest/package.py index fcbf83c9f0..5197401b45 100644 --- a/var/spack/repos/builtin/packages/py-pytest/package.py +++ b/var/spack/repos/builtin/packages/py-pytest/package.py @@ -11,7 +11,9 @@ class PyPytest(PythonPackage): homepage = "https://pytest.org/" pypi = "pytest/pytest-5.2.1.tar.gz" + git = "https://github.com/pytest-dev/pytest" + version("7.3.2", sha256="ee990a3cc55ba808b80795a79944756f315c67c12b56abd3ac993a7b8c17030b") version("7.2.1", sha256="d45e0952f3727241918b8fd0f376f5ff6b301cc0777c6f9a556935c92d8a7d42") version("7.1.3", sha256="4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39") version("6.2.5", sha256="131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89") @@ -35,10 +37,8 @@ class PyPytest(PythonPackage): # python_requires depends_on("python@3.7:", when="@7.1:", type=("build", "run")) - depends_on("python@3.6:", when="@6.2:", type=("build", "run")) - depends_on("python@3.5:", when="@5:6.1", type=("build", "run")) - depends_on("python@2.7:2.8,3.4:", when="@3.3:4", type=("build", "run")) - depends_on("python@2.6:2.8,3.3:", when="@:3.2", type=("build", "run")) + # see https://github.com/pytest-dev/pytest/releases/tag/7.3.2 + depends_on("python@:3.11", when="@:7.3.1", type=("build", "run")) # setup_requires depends_on("py-setuptools@45.0:", when="@7:", type=("build", "run")) @@ -51,9 +51,6 @@ class PyPytest(PythonPackage): depends_on("py-setuptools-scm", when="@3.1:", type="build") # install_requires - depends_on("py-attrs@19.2.0:", when="@6.2:", type=("build", "run")) - depends_on("py-attrs@17.4.0:", when="@3.5:6.1", type=("build", "run")) - depends_on("py-attrs@17.2.0:", when="@3.3:3.4", type=("build", "run")) depends_on("py-iniconfig", when="@6.0:", type=("build", "run")) depends_on("py-packaging", when="@4.6:", type=("build", "run")) depends_on("py-pluggy@0.12:1", when="@6.2:", type=("build", "run")) @@ -66,12 +63,15 @@ class PyPytest(PythonPackage): depends_on("py-pluggy@0.5:0.6", when="@:3.6.3", type=("build", "run")) depends_on("py-colorama", when="platform=windows", type=("build", "run")) depends_on("py-exceptiongroup@1:", when="@7: ^python@:3.10", type=("build", "run")) - depends_on("py-importlib-metadata@0.12:", when="@4.6:5.0", type=("build", "run")) depends_on("py-importlib-metadata@0.12:", when="@5.1: ^python@:3.7", type=("build", "run")) + depends_on("py-importlib-metadata@0.12:", when="@4.6:5.0", type=("build", "run")) depends_on("py-tomli@1:", when="@7.1: ^python@:3.10", type=("build", "run")) depends_on("py-tomli@1:", when="@7.0", type=("build", "run")) # Historic dependencies + depends_on("py-attrs@19.2.0:", when="@6.2:7.2", type=("build", "run")) + depends_on("py-attrs@17.4.0:", when="@3.5:6.1", type=("build", "run")) + depends_on("py-attrs@17.2.0:", when="@3.3:3.4", type=("build", "run")) depends_on("py-py@1.8.2:", when="@6:7.1", type=("build", "run")) depends_on("py-py@1.5.0:", when="@3.3:5", type=("build", "run")) depends_on("py-py@1.4.33:", when="@3.1.2:3.2.3,3.2.5:3.2", type=("build", "run")) |