1. 10 Jun, 2015 3 commits
  2. 12 Apr, 2015 2 commits
  3. 07 Apr, 2015 1 commit
  4. 07 Jan, 2015 3 commits
    • Marius Gedminas's avatar
      Use 'rcN' for release candidate versions in tests · ace153c1
      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
      ace153c1
    • Tres Seaver's avatar
      Merge pull request #228 from mgedmin/pkg_resources-is-a-package-now · 88ad9f41
      Tres Seaver authored
      Don't assume pkg_resources is a module.
      88ad9f41
    • Marius Gedminas's avatar
      Don't assume pkg_resources is a module. · e4101a23
      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
      e4101a23
  5. 06 Jan, 2015 1 commit
  6. 16 Dec, 2014 4 commits
  7. 14 Dec, 2014 7 commits
  8. 25 Nov, 2014 1 commit
  9. 24 Nov, 2014 4 commits
  10. 10 Nov, 2014 4 commits
  11. 06 Nov, 2014 3 commits
    • Marius Gedminas's avatar
      Fix test failures introduced in 067acf75 · 38b6495d
      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).
      38b6495d
    • Marius Gedminas's avatar
      Add a tox.ini · ff054e48
      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/).
      ff054e48
    • Marius Gedminas's avatar
      Claim Python 3.4 support · 763ad52e
      Marius Gedminas authored
      Tests with Python 3.4 passed on Travis, for a bit.
      763ad52e
  12. 04 Nov, 2014 7 commits