Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1550

Version up zc.buildout 3.0.1+slapos002

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos:dev/buildout-3-prepare-for-mr into master Mar 14, 2024
  • Overview 51
  • Commits 22
  • Pipelines 10
  • Changes 28

Adapt SRs to use zc.buildout 3.0.1+slapos002.

Gotchas and relevant details:

  • During slapos.rebootstrap, zc.buildout and its dependencies are reinstalled using the same egg versions, just another Python version. Thus SRs which install Python2 need to use Python2-compatible versions all along. For this stack/slapos-py2.cfg was introduced to use Python2-compatible versions of setuptools, pip and wheel.

  • zc.buildout 3.0.1+slapos002 supports pyproject.toml and should thus reduce the need for using wheels by pinning versions with :whl. However pyproject.toml introduces a multitude of alternative build backends (where before it was always setuptools), which means those build-backends have to be installed too, and provided as setup-eggs to the recipe installing the eggs which need these build-backends. For expediency, a lot of eggs where pinned with :whl, along with a commentary of the build-backend which would be needed to install without :whl. A further complicating factor is that some build-backends require themselves as build-backend (e.g. poetry), thus for such build-backends using :whl will be the most practical solution anyway.

Edited Jun 05, 2024 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev/buildout-3-prepare-for-mr
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7