Comments (8)
Fix released in https://pypi.org/project/zc.buildout/3.0.0rc3/
from buildout.
Jenkins has succeeded as well. I have merged my PR: the Plone 6.0 coredev buildout is now using release candidate 3.
from buildout.
My current understanding is the following:
setuptools
is vendoring distutils
. It installs a hack to ensure that its copy of distutils
is used instead of the stdlib
version. Unfortunately, there is still an issue with pip
(pypa/pip#8761) where the mechanism fails and where setuptools
allow pip
to use the stdlib
version.
We are in the dark spot of the problem with zc.buildout>3
since it combines setuptools
and pip
.
from buildout.
...
File "/foo/env/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 57, in __init__
raise TypeError("dist must be a Distribution instance")
TypeError: dist must be a Distribution instance
This is another symptom of the same issue with setuptools
and pip
.
from buildout.
@mauritsvanrees @icemac Would you try that latest release ?
I hope it is the last release candidate.
from buildout.
I am trying it out in plone/buildout.coredev#786 with latest setuptools 62.0.0
.
So far so good:
- All GitHub Actions have succeeded, on all combinations of Python 3.7/3.8/3.9 and Ubuntu/Mac/Windows. It can be that all needed packages were already cached though, so nothing needed to be downloaded or installed. But sounds good already.
- I started Jenkins tests, but those take longer.
- Locally a buildout run using my eggs cache worked fine.
- A local buildout run without downloads or eggs cache is still running. Only problem so far is that I had to restart a few times, but this is due to timeouts when downloading from
files.pythonhosted.org
, so it has nothing to do with the release candidate.
Thanks a lot!
from buildout.
A local buildout run without downloads or eggs cache is still running.
Update: it has finished successfully, after installing 309 packages:
$ ls -1 downloads/dist/ | wc -l
309
$ ls -1 eggs/cp39/ | wc -l
309
$ du -sh downloads/dist/ eggs/cp39/
52M downloads/dist/
205M eggs/cp39/
from buildout.
Thanks for testing it ! And for Plone 6 coredev.
Before cutting a 3.0 release, I still would like to test a buildout that pins a lower version of setuptools
than the one installed in the virtualenv
.
My intuition tells me that it is one of the cases where the race condition mentioned in pypa/pip#8761 could happen. But I could be wrong.
from buildout.
Related Issues (20)
- buildout 3: python3.8 install compiles scipy 1.7.3 but whl HOT 12
- buildout 2/3: Wheel file mode installed via buildout != pip install HOT 10
- buildout3 rc3 problem HOT 16
- ERROR: Package 'collective-jsonmigrator' requires a different Python: 3.8.10 not in '==2.7,>=3.7' HOT 1
- Problem with Buildout on Python 3.10 and macOS >= 11; with reproduction repository HOT 17
- Private pypi repository with basic auth used to work in previous versions HOT 5
- Where does `buildout.exe` come from? HOT 4
- distutils-sig has closed HOT 1
- Error message with pip 22.2+ HOT 4
- gh-actions are run twice for PRs HOT 3
- Recipe feature error, depending on part order HOT 1
- Support PEP 508 markers in section expressions/conditions
- zc.buildout 3.0.0 broken HOT 3
- Buildout may be slow with pip 23 and setuptools 67 HOT 4
- vscode python extension passes `-I` option to the designated python interpreter which is unknown to the python interpreter wrapper installed by zc.recipe.egg
- Parts += bug with multiple extends HOT 4
- be explicit when egg cannot be installed due to python-requires conflict
- Could be nice if a conditional section expression could evaluate a buildout variable
- Bootstrap.py unable to install zc.buildout HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildout.