Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !647

Merged
Created Jun 14, 2024 by Carlos Ramos Carreño@vnmabusDeveloper

Allow pip to be installed in Suse SLE 15.6

  • Overview 6
  • Commits 1
  • 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
Reviewer
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