[ https://issues.apache.org/jira/browse/AVRO-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17096095#comment-17096095 ]
Hudson commented on AVRO-2814: ------------------------------ SUCCESS: Integrated in Jenkins build AvroJava #852 (See [https://builds.apache.org/job/AvroJava/852/]) AVRO-2814: Add __version__ to __init__.py (PEP396) (#865) (github: [https://github.com/apache/avro/commit/1dca808f1294056cd804af4f7bd417bc1917fe8a]) * (edit) lang/py3/avro/__init__.py * (edit) lang/py/avro/__init__.py * (add) lang/py3/avro/tests/test_init.py * (add) lang/py/avro/test/test_init.py * (edit) lang/py3/avro/tests/run_tests.py > Add __version to __init__.py (PEP396) > ------------------------------------- > > Key: AVRO-2814 > URL: https://issues.apache.org/jira/browse/AVRO-2814 > Project: Apache Avro > Issue Type: Improvement > Components: python > Affects Versions: 1.9.2 > Reporter: Masahiro Tanaka > Priority: Major > > Currently, we couldn't get {{__version__}} from avro module. > {code:bash} > >>> import avro > >>> avro.__version__ > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > AttributeError: module 'avro' has no attribute '__version__' > {code} > We should expose avro's version as {{avro.__version__}} to respect [PEP > 396|https://www.python.org/dev/peps/pep-0396/] -- This message was sent by Atlassian Jira (v8.3.4#803005)