[
https://issues.apache.org/jira/browse/AVRO-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948011#comment-16948011
]
Hudson commented on AVRO-2576:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #745 (See
[https://builds.apache.org/job/AvroJava/745/])
AVRO-2576: Fix Premature Import pycodestyle (#664) (nandorkollar:
[https://github.com/apache/avro/commit/097ff2d69b52cddb249ea27c89bea7059f6a79df])
* (edit) lang/py/.gitignore
* (edit) lang/py/setup.cfg
* (edit) lang/py/src/avro/tether/tether_task_runner.py
* (edit) lang/py3/setup.cfg
* (edit) LICENSE.txt
* (edit) lang/py/setup.py
* (edit) lang/py3/setup.py
* (edit) share/docker/Dockerfile
* (edit) lang/py/src/avro/protocol.py
* (edit) lang/py/build.sh
* (edit) lang/py3/.gitignore
* (edit) pom.xml
> setuptools imports pycodestyle prematurely
> ------------------------------------------
>
> Key: AVRO-2576
> URL: https://issues.apache.org/jira/browse/AVRO-2576
> Project: Apache Avro
> Issue Type: Bug
> Reporter: Michael A. Smith
> Assignee: Michael A. Smith
> Priority: Major
> Fix For: 1.10.0
>
>
> Trying to {{pip install -e}} in avro/lang/py3 leads to a failure:
>
> {noformat}
> $ pip install -e .
> Looking in indexes: https://pypi.org/simple,
> https://40bf213c9f242207e515ffbe97ea98c1655548e584e42898:@packagecloud.io/syapse/General/pypi/simple
> Obtaining file:///home/michaels/dev/avro/lang/py3
> Complete output from command python setup.py egg_info:
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/home/michaels/dev/avro/lang/py3/setup.py", line 38, in <module>
> import pycodestyle
> ImportError: No module named 'pycodestyle'
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /home/michaels/dev/avro/lang/py3/{noformat}
> This is because AVRO-2240 / [https://github.com/apache/avro/pull/347]
> introduces {{import pycodestyle}} into {{setup.py}} even though it is never
> used directly as a module in there.
>
> Mea culpa.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)