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

egg_info fails for avro-python3 using python2

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: python
    • Labels:
      None

      Description

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

       

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

      It would be great if you didn't raise an assertion error for all usages of running setup.py, especially when running egg_info.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                luke-zymergen Luke Zulauf
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: