Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2814

Add __version to __init__.py (PEP396)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.2
    • 1.10.0
    • python
    • None

    Description

      Currently, we couldn't get _version_ from avro module.

      >>> import avro
      >>> avro.__version__
      Traceback (most recent call last):
       File "<stdin>", line 1, in <module>
      AttributeError: module 'avro' has no attribute '__version__'
      

      We should expose avro's version as avro._version_ to respect PEP 396

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              masatana Masahiro Tanaka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: