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

Allow pip to be installed in Suse SLE 15.6

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Carlos Ramos Carreño requested to merge vnmabus/slapos.core:feature/python-pip-sle15.6 into master Jun 14, 2024
  • Overview 6
  • Commits 1
  • Pipelines 0
  • Changes 1

In Suse SLE 15.6, ansible can be installed either from the OpenSuse repo of from PackageHub.

The version installed from OpenSuse requires Python >= 3.10. Thus, it depends on the modern Python (version 3.11) provided by the Python 3 module, instead of on the Python provided by the base system module (version 3.6). Packages installed for the modern Python, such as pip, will have python311 as a prefix instead of just python3.

On the other hand, the ansible version in PackageHub is older and can be used with the older Python version.

Thus, we check if either version of the package is installed, and if not we install the more modern from those available.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/python-pip-sle15.6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7