Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: feature/python-pip-sle15.6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7