distribute fails unittests on python-3.2

Toshio Kuratomi avatarToshio Kuratomi created an issue

distutils in python-3.2 adds an abiflags value to configvars. This breaks the easy_install unittests.

In this bug: http://bugs.python.org/issue11200

It was diagnosed that a lot of code was copy and pasted from distutils. I'll attach a patch that fixes the unittest issue but a future cleanup might involve either using inheritance to more closely sync with the distutils install command or updating the copied code.

Comments (4)

  1. Toshio Kuratomi

    Changes pushed to 0.6-maint. the changes are slightly different than the patch since we decided to always have abiflags in config_vars -- it'll just be the empty string unless sys.abiflags exists (python >= 3.2).

  2. Toshio Kuratomi

    I asked tarek to review on IRC and he thought that sounded like the better of the two approaches (only set abiflags on Python-3.2+ or have it in config_vars but set to empty string). Other than that, I'm not knowledgable enough to make that decision.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.