zopefoundation / grokproject

Script that creates a Grok project directory, installs Grok, the Grok Toolkit and the Zope Toolkit and sets up a complete skeleton for a new Grok web application.
Other
2 stars 8 forks source link

Upgrade grokproject to use more current versions of buildout and setuptools #11

Closed prsephton closed 6 years ago

prsephton commented 6 years ago

This PR is to address the breakage we saw from PYPI dropping support for HTTP. I would sincerely appreciate some reviewers!

prsephton commented 6 years ago

dammit travis.

prsephton commented 6 years ago

Wow, what a mission to get the new buildout working! The main problem is that buildout reports a version conflict where an egg which is being installed already exists in the system path. So, if you have installed for example zope.interface globally, and your buildout intalls a different version in 'eggs directory' buildout fails. Re-running buildout at that point skips the conflict and continues.

Where travis installs from within a virtualenv, buildout detects a version conflict between setuptools installed in the environment, and setuptools installed by bootstrap.py/buildout.

The other problem is that buildout 2 reports very differently between first install ("Installing xxx") and subsequent installs ("Updating xxx"), and that breaks our tests which check the resulting output from buildout. We will have to scrap that idea entirely, and rely on checking result (eg directory structures) after the fact.

prsephton commented 6 years ago

Bringing changes into play. Previous grokproject was broken because of external factors. Hopefully this fixes things again.