If I have understood correctly buildout internally uses setuptools and setuptools ramdomly scrapes HTML pages in hope to finding eggs. This lead to the following problem if any critical host is down and it is referred from PyPi README etc.:
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Because each URL fetch will 1) block buildout progress 2) timeout in long time running buildout becomes pain (takes hours)
How to configure buildout
Timeout faster
Not to scrape arbitrary URLs and what is good known URL set for Plone and common add-ons
To set a timeout of five seconds use bin/buildout -t 5
Set the allow-hosts
parameter in the buildout
section e.g.:
[buildout]
allow-hosts =
*.python.org
This forces buildout to only look on PyPI for downloads.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With