Open
Description
$ pip3 --version
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
$ pip3 install --user argparse-manpage
Collecting argparse-manpage
Using cached https://files.pythonhosted.org/packages/d3/5f/3353e1dd33fcb3801cfe7e6412ad9d75202fc642679d105015e361aceef7/argparse-manpage-4.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "/tmp/pip-build-dwy7230y/argparse-manpage/build_manpages/build_manpages.py", line 10, in <module>
import tomllib
ModuleNotFoundError: No module named 'tomllib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-build-dwy7230y/argparse-manpage/build_manpages/build_manpages.py", line 14, in <module>
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-dwy7230y/argparse-manpage/setup.py", line 11, in <module>
from build_manpages import __version__
File "/tmp/pip-build-dwy7230y/argparse-manpage/build_manpages/__init__.py", line 6, in <module>
from .build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
File "/tmp/pip-build-dwy7230y/argparse-manpage/build_manpages/build_manpages.py", line 17, in <module>
import toml as tomllib
ModuleNotFoundError: No module named 'toml'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-dwy7230y/argparse-manpage/
It installs fine in venv and latest versions of pip
(at least starting with python38-pip-19.3.
). So I suspect that pip-9.0.3 can't handle unresolved dependencies while importing build_manpages
in setup.py
:
Line 11 in 2856951
Lines 24 to 27 in 2856951
argparse-manpage/build_manpages/build_manpages.py
Lines 9 to 18 in 2856951
Metadata
Assignees
Labels
No labels
Activity