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

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

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

 ##########
 File path: lang/py3/setup.py
 ##########
 @@ -145,6 +142,11 @@ 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',
+      ],
 
 Review comment:
   One way to determine this is to look at the download data from pypi and see 
which versions of python people are using when they install this library. The 
results for the past 30 days are the following:
   
   ```
   [
     {
       "python_version": "3.5",
       "download_count": "30258"
     },
     {
       "python_version": "3.6",
       "download_count": "26228"
     },
     {
       "python_version": "3.4",
       "download_count": "9140"
     },
     {
       "python_version": "3.7",
       "download_count": "2502"
     },
     {
       "python_version": null,
       "download_count": "793"
     },
     {
       "python_version": "2.7",
       "download_count": "173"
     },
     {
       "python_version": "2.6",
       "download_count": "3"
     }
   ]
   ```
   
   So it seems it is used commonly on 3.5+ and there is some use on 3.4. 

----------------------------------------------------------------
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:
[email protected]


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

Reply via email to