- 07 Jan, 2015 3 commits
-
-
Marius Gedminas authored
Recent setuptools versions changed the canonical spelling of release candidate versions from 'cN' to 'rcN'. Using the older spelling causes a UserWarning about the version requiring normalization, and test failures where the expected output contains a different (normalized) version number. For the record, the UserWarning looks like this: /home/mg/src/buildout/eggs/setuptools-11.3.1-py2.7.egg/setuptools/dist.py:283: UserWarning: The version specified requires normalization, consider using '1.2rc1' instead of '1.2c1'. and the failures can be seen at https://travis-ci.org/buildout/buildout/jobs/46215472
-
Tres Seaver authored
Don't assume pkg_resources is a module.
-
Marius Gedminas authored
In setuptools < 8.3 pkg_resources.py was a module, so import pkg_resources print(pkg_resources.__file__) would print something like /home/mg/src/buildout/eggs/setuptools-8.0.4-py2.7.egg/pkg_resources.py Starting from setuptools 8.3 pkg_resources became a package, so the above code prints /home/mg/src/buildout/eggs/setuptools-11.3.1-py2.7.egg/pkg_resources/__init__.py which means a single os.path.dirname() is no longer sufficient to find the location of the .egg file/directory. I'm pretty sure 'setuptools' itself was always a package, so use two os.path.dirname()s on setuptools.__file__ to find the .egg location more reliably with both old and new setuptools versions. Fixes https://github.com/buildout/buildout/issues/227
-
- 06 Jan, 2015 1 commit
-
-
Tres Seaver authored
-
- 16 Dec, 2014 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
version-range requirements in a way that caused it to think there wasn't a single-version requirement. IOW, buildout throught that versions were being picked when they weren't.
-
- 14 Dec, 2014 6 commits
-
-
Jim Fulton authored
Should have been removed in a previous commit.
-
Jim Fulton authored
-
Jim Fulton authored
Setuptools8
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
- 25 Nov, 2014 1 commit
-
-
Godefroid Chapelle authored
Add option to bootstrap.py to pin setuptools version
-
- 10 Nov, 2014 4 commits
-
-
Godefroid Chapelle authored
Merge branch 'pin_setuptools_in_bootstrap' of github.com:buildout/buildout into pin_setuptools_in_bootstrap
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
Godefroid Chapelle authored
-
- 06 Nov, 2014 3 commits
-
-
Marius Gedminas authored
PKG-INFO for setuptools 3.3 has non-ASCII characters. This causes two test failures on Python 2, one of them rather unobvious (testing_bugfix.txt complains about the different number of logging handlers, of all things).
-
Marius Gedminas authored
This simplifies testing all Python versions to 'tox'. Unfortunately detox cannot be used to run the tests in parallel since dev.py scribbles directly into the top-level of the source tree (in bin/).
-
Marius Gedminas authored
Tests with Python 3.4 passed on Travis, for a bit.
-
- 04 Nov, 2014 8 commits
-
-
Alex Clark authored
Contains fix for #198
-
Alex Clark ☺ authored
Fix for the #198 fix
-
Marius Gedminas authored
Should fix https://travis-ci.org/buildout/buildout/jobs/39918144
-
Marius Gedminas authored
Closes #203 Some background: PEP 453 introduced the 'ensurepip' module to Python 3.4. 'make install' runs 'python3.4 -m ensurepip' which installs setuptools into site-packages. Our test suite doesn't like that. Luckily, Python's ./configure has an option to disable ensurepip.
-
Marius Gedminas authored
Travis thinks something is wrong when the script produces no output in 10 minutes, which leads to sporadic test failures like https://travis-ci.org/buildout/buildout/jobs/39916822
-
Marius Gedminas authored
If PYTHON_VER is not known to the Makefile, don't fall back to PYTHON_MINOR of 2.7.3, instead ask the user to specify a correct PYTHON_MINOR explicitly. Otherwise you get weird failures like #203. Also allow the user to override PYTHON_MINOR on the `make` command line, e.g. make PYTHON_VER=3.3 PYTHON_MINOR=3.3.6
-
Marius Gedminas authored
Closes #202.
-
Reinout van Rees authored
-
- 03 Nov, 2014 2 commits
-
-
Reinout van Rees authored
Perhaps older versions also support this option, but at least 0.7.2 does not. So I picked the oldest version I had handy in my buildout egg cache...
-
Reinout van Rees authored
A working_set passed into install() is the sign that we're called from buildout.py to install buildout, setuptools, an extension or a recipe. Those need the global pkg_resources.working_set, for instance to load entry points. So... conflicts with global packages are possible, but they should be ignored so that we can grab the right versions ourselves. The paths that end up in the bin scripts that we generate are OK.
-
- 01 Nov, 2014 4 commits
-
-
Alex Clark authored
-
Alex Clark authored
-
Alex Clark authored
-
Alex Clark ☺ authored
Fix for buildout 2.2.3 upgrade/downgrade problems
-
- 31 Oct, 2014 6 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
non-matching versions. Ignoring version conflicts for buildout and setuptools, this enables buildout/setuptools upgrades/downgrades after a bootstrap.
-
Reinout van Rees authored
-
Reinout van Rees authored
Whatever the method we used to find it, cache the result. Not just in one of the cases. And it makes the method more readable as it doesn't mix functionality
-