Comments (4)
When I use the annotate command, the parts
do contain instance
:
$ bin/buildout -c test-4.3.cfg annotate
...
parts=
instance
omelette
ploneversioncheck
createcoverage
code-analysis
And when I run the buildout for real, it indeed creates a bin/instance
script.
This is on Mac.
So: no idea.
You could try an upgrade to zc.buildout
2.13.8, or even 3.0.1 which still works on Python 2.7.
from buildout.
Sorry, after encountered the bug (seen by gotcha), I have included instance part in base.cfg to continue working.
I just removed my local correction and bumped zc.buildout to 3.0.1.
If you test again, I think you will now have the error.
from buildout.
Okay, when I revert your change, it no longer installs the instance
part.
Let's see, when I take the relevant extends and parts lines, it boils down to this config:
test-4.3.cfg
extends =
https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-4.3.x.cfg
extends = plone-4.3.x.cfg
parts = instance
parts += test
base.cfg
extends = https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg
parts +=
code-analysis
i18ndude
parts +=
omelette
ploneversioncheck
createcoverage
From that, I would hope for the following buildout parts, preferably in this order:
instance
test
code-analysis
i18ndude
omelette
ploneversioncheck
createcoverage
Instead, the resulting [buildout] parts
option is:
$ bin/buildout -c test-4.3.cfg query buildout:parts
omelette
ploneversioncheck
createcoverage
code-analysis
i18ndude
When I comment out base.cfg
, I get:
$ bin/buildout -c test-4.3.cfg query buildout:parts
instance
test
When I keep base.cfg
but comment out qa.cfg
:
$ bin/buildout -c test-4.3.cfg query buildout:parts
instance
test
omelette
ploneversioncheck
createcoverage
In the original config again, with annotate
I see:
parts=
omelette
ploneversioncheck
createcoverage
code-analysis
i18ndude
IMPLICIT_VALUE
+= base.cfg
+= https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg
So the parts +=
from buildout.plonetest/master/test-4.3.x.cfg
and the parts=
from buildout.plonetest/master/test-4.3.x.cfg
are effectively ignored.
It could be a bug in Buildout, that it uses an unexpected order when using nested extends.
What seems to work for me:
- Remove the extends of
qa.cfg
frombase.cfg
. - Instead copy it to
test-4.3.cfg
(and the other versions files, so a bit of duplication) like this:
extends =
https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-4.3.x.cfg
https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg
base.cfg
from buildout.
Related Issues (20)
- setuptools vendoring of distutils breaks `zc.buildout` (and `dev.py`) HOT 8
- 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
- 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.