You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/09 20:33:00 UTC

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

    [ https://issues.apache.org/jira/browse/AVRO-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947975#comment-16947975 ] 

ASF subversion and git services commented on AVRO-2576:
-------------------------------------------------------

Commit 097ff2d69b52cddb249ea27c89bea7059f6a79df in avro's branch refs/heads/master from Michael A. Smith
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=097ff2d ]

AVRO-2576: Fix Premature Import pycodestyle (#664)

* AVRO-2445: Remove SimpleJSON License and Rat Excludes

* AVRO-2576: Fix Premature Import pycodestyle

* AVRO-2576: Run pycodestyle from setup for py2

* AVRO-2576: Fix and Ignore Lint Failures

* AVRO-2576: Update Setuptools

* AVRO-2576: Use Local pycodestyle If We Can

* AVRO-2576: Run isort from setuptools

* AVRO-2576: Include isort at setuptools time

* AVRO-2576: Rat Exclude Python Setup Files


> 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)