Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.buildout
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapos.buildout
  • Merge requests
  • !29

Fix bootstrapping zc.buildout 3+ from older zc.buildout

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos.buildout:rebase/bootstrap-from-old into master Jan 08, 2024
  • Overview 11
  • Commits 2
  • Changes 3

The big picture

Support running buildout bootstrap with zc.buildout 2.7.1+slapos20 on a buildout.cfg file containing:

[versions]
zc.buildout = 3.0.1+slapos001

in order to successfully install zc.buildout = 3.0.1+slapos001 and generate a bin/buildout that uses zc.buildout = 3.0.1+slapos001.

This will facilitate migrating to zc.buildout = 3.0.1+slapos001.

In detail

Remove hardcoded dependencies of zc.buildout in bootstrap: easy_install will anyway install all the actual dependencies of the pinned version of zc.buildout, and return a working set containing them all.

Before this, when the pinned zc.buildout had other dependencies than the ones hardcoded, they were installed correctly but bootstrap took only the hardcoded ones into account and wrongly failed due to the other dependencies being missing.

This is needed for buildout 3 because the dependencies now include pip and wheel in addition to setuptools.

Edited Mar 14, 2024 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: rebase/bootstrap-from-old
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7