Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.buildout
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • slapos.buildout
  • Merge requests
  • !29

Merged
Created Jan 08, 2024 by Xavier Thompson@xavier_thompsonOwner

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

  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: rebase/bootstrap-from-old
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7