Valentyn Tymofieiev created AVRO-2738:
-----------------------------------------
Summary: avro-python3==1.9.2 adds an implicit dependency on
pycodestyle
Key: AVRO-2738
URL: https://issues.apache.org/jira/browse/AVRO-2738
Project: Apache Avro
Issue Type: Improvement
Reporter: Valentyn Tymofieiev
The new package fails to install unless pycodestyle is installed.
{noformat}
:~$ docker run -it --entrypoint=/bin/bash python:3.7-stretch
root@04b45a100d16:/# pip install avro-python3
Collecting avro-python3
Downloading avro-python3-1.9.2.tar.gz (37 kB)
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-mmy4vspt/avro-python3/setup.py'"'"';
__file__='"'"'/tmp/pip-install-mmy4vspt/avro-python3/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
--egg-base /tmp/pip-install-mmy4vspt/avro-python3/pip-egg-info
cwd: /tmp/pip-install-mmy4vspt/avro-python3/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-mmy4vspt/avro-python3/setup.py", line 41, in
<module>
import pycodestyle
ModuleNotFoundError: No module named 'pycodestyle'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check
the logs for full command output.
root@04b45a100d16:/#
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)