summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Herman <63422190+bryanherman@users.noreply.github.com>2021-03-12 17:53:31 -0500
committerGitHub <noreply@github.com>2021-03-12 22:53:31 +0000
commit839af2bd700211f4f38a99f98c099f8f8c4e5a09 (patch)
tree8ef13a5c9877e3f76e6e5a2df8e8deb4b60444d0
parentf213cf834937fc52518edbd16a82870efaba8b4c (diff)
downloadspack-839af2bd700211f4f38a99f98c099f8f8c4e5a09.tar.gz
spack-839af2bd700211f4f38a99f98c099f8f8c4e5a09.tar.bz2
spack-839af2bd700211f4f38a99f98c099f8f8c4e5a09.tar.xz
spack-839af2bd700211f4f38a99f98c099f8f8c4e5a09.zip
fixed ^python in py-rich, py-dvc (#22264)
-rw-r--r--var/spack/repos/builtin/packages/py-dvc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-rich/package.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-dvc/package.py b/var/spack/repos/builtin/packages/py-dvc/package.py
index 9fc758687b..dc638f2ab8 100644
--- a/var/spack/repos/builtin/packages/py-dvc/package.py
+++ b/var/spack/repos/builtin/packages/py-dvc/package.py
@@ -45,7 +45,7 @@ class PyDvc(PythonPackage):
depends_on('py-networkx@2.1:2.4', when='@:1.11.6', type=('build', 'run'))
depends_on('py-networkx@2.1:', when='@1.11.7:', type=('build', 'run'))
depends_on('py-pydot@1.2.4:', type=('build', 'run'))
- depends_on('py-dataclasses@0.7', when='python@:3.6.999', type=('build', 'run'))
+ depends_on('py-dataclasses@0.7', when='^python@:3.6.999', type=('build', 'run'))
depends_on('py-flatten-dict@0.3.0:0.99', type=('build', 'run'))
depends_on('py-tabulate@0.8.7:', type=('build', 'run'))
depends_on('py-pygtrie@2.3.2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-rich/package.py b/var/spack/repos/builtin/packages/py-rich/package.py
index d49823f733..28f6f8c5fe 100644
--- a/var/spack/repos/builtin/packages/py-rich/package.py
+++ b/var/spack/repos/builtin/packages/py-rich/package.py
@@ -29,7 +29,7 @@ class PyRich(PythonPackage):
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-typing-extensions@3.7.4:3.99', type=('build', 'run'))
- depends_on('py-dataclasses@0.7:0.8', when='python@:3.6', type=('build', 'run'))
+ depends_on('py-dataclasses@0.7:0.8', when='^python@:3.6', type=('build', 'run'))
depends_on('py-pygments@2.6:2.99', type=('build', 'run'))
depends_on('py-commonmark@0.9.0:0.9.999', type=('build', 'run'))
depends_on('py-colorama@0.4.0:0.4.999', type=('build', 'run'))