diff options
author | vvolkl <valentin.volkl@cern.ch> | 2020-05-05 02:41:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 19:41:19 -0500 |
commit | e575ba277314164870f5f562e1abde5f07731a26 (patch) | |
tree | 90f9823e72d61b8795920772108492223050ffa9 /var | |
parent | befd47259493aae407eec8d69b99ecb15d7df6bd (diff) | |
download | spack-e575ba277314164870f5f562e1abde5f07731a26.tar.gz spack-e575ba277314164870f5f562e1abde5f07731a26.tar.bz2 spack-e575ba277314164870f5f562e1abde5f07731a26.tar.xz spack-e575ba277314164870f5f562e1abde5f07731a26.zip |
bugfix: Update run-time dependencies of py-xenv (#16460)
Otherwise, if I run `xenv` after `spack load py-xenv` it fails with:
```
Traceback (most recent call last):
File "/home/vavolkl/spack/opt/spack/linux-centos7-broadwell/gcc-8.3.0/py-xenv-develop_2018-12-20-lqbxakapsepqo5w3sjhhokj5o7c5jei2/bin/xenv", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
```
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-xenv/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-xenv/package.py b/var/spack/repos/builtin/packages/py-xenv/package.py index c52b71098a..5047691cbd 100644 --- a/var/spack/repos/builtin/packages/py-xenv/package.py +++ b/var/spack/repos/builtin/packages/py-xenv/package.py @@ -18,4 +18,4 @@ class PyXenv(PythonPackage): version('develop', branch='master') version('develop_2018-12-20', commit='ddc3bf5e65e1689da499f639af7a27c5c4242841') - depends_on('py-setuptools', type='build') + depends_on('py-setuptools', type=('build', 'run')) |