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

Add __version to __init__.py (PEP396)

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.10.0
    • Component/s: python
    • Labels:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              masatana Masahiro Tanaka

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment