Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1550

Merged
Created Mar 14, 2024 by Xavier Thompson@xavier_thompsonOwner

Version up zc.buildout 3.0.1+slapos002

  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: dev/buildout-3-prepare-for-mr
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7