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 GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/03 21:26:00 UTC

[jira] [Commented] (AVRO-2240) egg_info fails for avro-python3 using python2

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

ASF GitHub Bot commented on AVRO-2240:
--------------------------------------

kojiromike commented on a change in pull request #347: AVRO-2240 Fix py3 Setup
URL: https://github.com/apache/avro/pull/347#discussion_r230568303
 
 

 ##########
 File path: lang/py3/setup.py
 ##########
 @@ -145,6 +151,16 @@ def Main():
       license = 'Apache License 2.0',
       keywords = 'avro serialization rpc',
       url = 'http://avro.apache.org/',
+      classifiers=(
+          'License :: OSI Approved :: Apache Software License',
+          'Programming Language :: Python :: 3 :: Only',
+          'Programming Language :: Python :: 3.4',
+          'Programming Language :: Python :: 3.5',
+          'Programming Language :: Python :: 3.6',
+          'Programming Language :: Python :: 3.7',
+          'Programming Language :: Python :: 3.8',
 
 Review comment:
   I added the additional trove classifiers per [the non-discussion on the mailing list](https://mail-archives.apache.org/mod_mbox/avro-dev/201810.mbox/%3CCA%2BB44%2BC0MLQreV2tozd8GFv74qnyBT0%2B3rd44Ey29Gv4T_9%2B3Q%40mail.gmail.com%3E).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Major
>
> 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)