You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Michael A. Smith (Jira)" <ji...@apache.org> on 2019/09/29 15:53:00 UTC

[jira] [Created] (AVRO-2576) setuptools imports pycodestyle prematurely

Michael A. Smith created AVRO-2576:
--------------------------------------

             Summary: 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


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)