Luke Zulauf created AVRO-2240:
---------------------------------

             Summary: egg_info fails for avro-python3 using python2
                 Key: AVRO-2240
                 URL: https://issues.apache.org/jira/browse/AVRO-2240
             Project: Avro
          Issue Type: Bug
          Components: python
    Affects Versions: 1.8.2
            Reporter: Luke Zulauf


When managing dependencies, the ability to call egg_info on any package is 
especially useful (even if the package is not valid for installation with a 
specific python version).

For example, pipenv can't build a lockfile in python2 if avro-python3 is listed 
as a dependency (for any python version)

 

The opposite works (using python3 to check the egg_info of avro (the python2 
version).

 
{code:java}
$ python3 avro/setup.py egg_info
(succeeds)
$ python2 avro/setup.py egg_info
(succeeds)
$ python3 avro-python3/setup.py egg_info
(succeeds)
$ python2 avro-python3/setup.py egg_info
(fails){code}
It would be great if you didn't raise an assertion error for all usages of 
running setup.py, especially when running egg_info.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to