-
Notifications
You must be signed in to change notification settings - Fork 31
Modernize sandbox: Reduce footprint of Buildout, fix macOS >= 11, improve CI #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
seut
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
|
|
||
| [tox] | ||
| recipe = gp.recipe.tox | ||
| [crate:macosx] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we consider (it's a more generic question, about our builds, etc.) the new Apple (M1 and soon M2) chips?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I've added a note about that topic at https://github.com/orgs/crate/projects/20#card-83361325.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our own code is pure python and not platform dependent. I don't think we need to go overboard with the test matrix.
If GHA action happens to add runners, sure why not, but please don't put other extra effort into this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree and deleted the note again. The state of support for M1 Silicon on GHA is tracked over here:
- The sandbox setup is now based on vanilla Python and virtualenv. - A convenient bootstrap script is provided, which can be used like `source bootstrap.sh`. - The test runner has not been changed, it is still `zope.testrunner`. - The command line invocation interface `./bin/test` has not been changed. - Buildout is now only used for downloading the CrateDB tarball using `hexagonit.recipe.download`. References: - #428 - crate-workbench/test-buildout-python310#1
Instead of using GNU getopt in the `setup_ci.sh` program, the needed information is propagated using environment variables.
bbb9beb to
13a494b
Compare
Hi there,
the Buildout-based sandbox croaked on some ends. It has been investigated on behalf of #428 and crate-workbench/test-buildout-python310#1, and finally converged into an upstream bug report at buildout/buildout#609.
However, I am at the same time taking the chance to reduce the footprint of the Buildout setup on
crate-pythonto resolve and improve the situation.source bootstrap.sh, both locally and on CI.zope.testrunner../bin/testhas not been changed.hexagonit.recipe.downloadrecipe.BUILDOUT_VERSION,CRATEDB_VERSIONandSQLALCHEMY_VERSIONhave been introduced for defining the corresponding software component versions. Those will be used for propagating information from the build matrix slot. With this change, we can get rid of needing GNU getopt in thesetup_ci.shprogram, which further reduces the amount of specialized routines needed to satisfy specific platform requirements.With kind regards,
Andreas.