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

setuptools imports pycodestyle prematurely

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.2
    • None
    • None

    Description

      Trying to pip install -e in avro/lang/py3 leads to a failure:

       

       $ pip install -e .
      Looking in indexes: https://pypi.org/simple, https://40bf213c9f242207e515ffbe97ea98c1655548e584e42898:@packagecloud.io/syapse/General/pypi/simple
      Obtaining file:///home/michaels/dev/avro/lang/py3
          Complete output from command python setup.py egg_info:
          Traceback (most recent call last):
            File "<string>", line 1, in <module>
            File "/home/michaels/dev/avro/lang/py3/setup.py", line 38, in <module>
              import pycodestyle
          ImportError: No module named 'pycodestyle'    ----------------------------------------
      Command "python setup.py egg_info" failed with error code 1 in /home/michaels/dev/avro/lang/py3/

      This is because AVRO-2240 / https://github.com/apache/avro/pull/347 introduces import pycodestyle into setup.py even though it is never used directly as a module in there.

       

      Mea culpa.

      Attachments

        Issue Links

          Activity

            People

              kojiromike Michael A. Smith
              kojiromike Michael A. Smith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: