1. 10 May, 2017 2 commits
    • Maurits van Rees's avatar
      Travis: run buildout in newest mode. · 9c1d657e
      Maurits van Rees authored
      That fixed the build for me locally.
      Error on Travis:
      
      $ bin/buildout
      Getting distribution for 'zc.buildout<2.4.dev'.
      While:
        Installing.
        Loading extensions.
        Getting distribution for 'zc.buildout<2.4.dev'.
      An internal error occurred due to a bug in either zc.buildout or in a
      recipe being used:
      Traceback (most recent call last):
        File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/buildout.py", line 2123, in main
          getattr(buildout, command)(args)
        File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/buildout.py", line 637, in install
          self._load_extensions()
        File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/buildout.py", line 1163, in _load_extensions
          newest=self.newest, allow_hosts=self._allow_hosts)
        File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/easy_install.py", line 913, in install
          return installer.install(specs, working_set)
        File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/easy_install.py", line 714, in install
          for dist in self._get_dist(req, ws):
        File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/easy_install.py", line 570, in _get_dist
          dist = self._env.best_match(requirement, ws)
        File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1040, in best_match
          dist = working_set.find(req)
        File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/__init__.py", line 672, in find
          raise VersionConflict(dist, req)
      VersionConflict: (zc.buildout 2.9.3 (/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg), Requirement.parse('zc.buildout<2.4.dev'))
      9c1d657e
    • Maurits van Rees's avatar
      Explicitly require Manager role for `AltDatabaseManager`. · c6fcf3e8
      Maurits van Rees authored
      If you use experimental.publishtraverse and try to call manage_pack,
      it warns that the object (the manage_pack function) has no roles.
      In strict mode it will fail.
      This is an indication that the function *might* be available for anonymous users.
      That is not the case here, but being strict seems good.
      c6fcf3e8
  2. 20 Feb, 2017 3 commits
  3. 15 Feb, 2017 1 commit
  4. 18 Jan, 2017 2 commits
    • Maurits van Rees's avatar
      Fixed dummy runTest on functional test case. (#89) · ecfd7b1b
      Maurits van Rees authored
      In functional doc tests you can apparently have a test case that has
      no runTest method.  Until now the Testing package added a dummy
      runTest method in that case, and set it to None.
      
      But when this dummy runTest method gets called, you get an error:
      
        Error in test runTest (Testing.ZopeTestCase.ZopeTestCase.FunctionalTestCase)
        Traceback (most recent call last):
          File ".../lib/python2.7/unittest/case.py", line 329, in run
            testMethod()
        TypeError: 'NoneType' object is not callable
      
      Simply importing Testing.ZopeTestCase.FunctionalTestCase in a new test
      file may be enough to trigger this.
      
      So this has something to do with the order in which tests are found.
      
      I fixed it by making the dummy runTest method callable.
      ecfd7b1b
    • Tres Seaver's avatar
      Merge pull request #86 from zopefoundation/apply-plonehotfix-20170717-213 · 554c81bc
      Tres Seaver authored
      Apply plonehotfix 20170717 [2.13]
      554c81bc
  5. 17 Jan, 2017 2 commits
  6. 13 Jan, 2017 7 commits
  7. 27 Dec, 2016 2 commits
  8. 21 Dec, 2016 3 commits
  9. 08 Dec, 2016 1 commit
  10. 15 Sep, 2016 2 commits
  11. 14 Sep, 2016 1 commit
  12. 09 Sep, 2016 1 commit
  13. 08 Sep, 2016 1 commit
  14. 07 Sep, 2016 3 commits
  15. 02 Aug, 2016 1 commit
  16. 01 Aug, 2016 1 commit
  17. 17 Jul, 2016 3 commits
  18. 29 Jun, 2016 2 commits
  19. 04 Mar, 2016 2 commits