diff options
| author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-12 17:54:13 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-12 17:42:46 +0000 |
| commit | cd66068af65ea9d73b2bef82de11736a5113c644 (patch) | |
| tree | a93e028ce0a62351128aafea5d9f3899e38a7dfa /testing/ruby-ttytest/gemspec.patch | |
| parent | 5b77648943f4ef6c28f256abb9f85137a9a45a38 (diff) | |
| download | aports-cd66068af65ea9d73b2bef82de11736a5113c644.tar.bz2 aports-cd66068af65ea9d73b2bef82de11736a5113c644.tar.xz | |
main/py3-virtualenv: add missing dependency
Before this change:
$ dabuild sh
$ sudo apk add py3-virtualenv >/dev/null && virtualenv --version
Traceback (most recent call last):
File "/usr/bin/virtualenv", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
This change adds py3-setuptools as a runtime dependency because
pkg_resources is imported by a file installed into /usr/bin/:
$ grep pkg_resources /usr/bin/virtualenv
from pkg_resources import load_entry_point
pkg_resources is part of py3-setuptools:
$ apk info -L py3-setuptools | grep pkg_resources/__init__.py
usr/lib/python3.8/site-packages/pkg_resources/__init__.py
After this change:
$ dabuild sh
$ sudo apk add py3-virtualenv >/dev/null && virtualenv --version
16.7.9
Diffstat (limited to 'testing/ruby-ttytest/gemspec.patch')
0 files changed, 0 insertions, 0 deletions
