Skip to main content

Aliases for active openSUSE releases

Project description

This project provides a list of the currently maintained openSUSE distributions. It is the openSUSE equivalent of fedora-distro-aliases.

Usage

>>> from opensuse_distro_aliases import get_distro_aliases
>>> aliases = get_distro_aliases()

Obtain the name and version of all currently active releases:

>>> [f"{d.name} {d.version}" for d in aliases["opensuse-all"]]
['openSUSE Leap 15.6', 'openSUSE Leap 15.5', 'openSUSE Leap Micro 6.0', 'openSUSE Leap Micro 5.5', 'openSUSE Tumbleweed 20240714']

Get the corresponding main development project in the Open Build Service:

>>> [f"{d.name}: {d.obs_project_name}" for d in aliases["opensuse-all"]]
['openSUSE Leap: openSUSE:Leap:15.6', 'openSUSE Leap: openSUSE:Leap:15.5', 'openSUSE Leap Micro: openSUSE:Leap:Micro:6.0', 'openSUSE Leap Micro: openSUSE:Leap:Micro:5.5', 'openSUSE Tumbleweed: openSUSE:Factory']

The caveat of the function get_distro_aliases is that it performs network calls, which can be slow, flaky or otherwise unavailable (e.g. in koji or OBS builds). Since the openSUSE distribution releases are quite seldom, we provide the pre-fetched result of get_distro_aliases as the constant CACHED_ACTIVE_DISTRIBUTION_ALIASES. The only difference between the pre-fetched and the fetched value should be the version of openSUSE Tumbleweed (this version changes daily, but has otherwise little significance).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opensuse_distro_aliases-0.2.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opensuse_distro_aliases-0.2.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file opensuse_distro_aliases-0.2.3.tar.gz.

File metadata

  • Download URL: opensuse_distro_aliases-0.2.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for opensuse_distro_aliases-0.2.3.tar.gz
Algorithm Hash digest
SHA256 708732fff465688ec8c684e49b5c17424b00d521607b6273050c8e98a92877cb
MD5 2f29be728c1292b5b133e19dc1d75d54
BLAKE2b-256 8fc8acf25f6beee22d66bc10fbcd8621e35254ce2625af1333604338c64f9258

See more details on using hashes here.

Provenance

The following attestation bundles were made for opensuse_distro_aliases-0.2.3.tar.gz:

Publisher: release.yml on rpm-software-management/opensuse-distro-aliases

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opensuse_distro_aliases-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for opensuse_distro_aliases-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa6f9f2e70253e4a85e617cafba86c549ba21e70db400c9263fe8b3fd35cbf06
MD5 cef4f904b08763b9fb9ec618402e9404
BLAKE2b-256 dc73d5cbf74be080441f1538d2c4c8aaccb6db82d866f42a7a77c7684f6f3f1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for opensuse_distro_aliases-0.2.3-py3-none-any.whl:

Publisher: release.yml on rpm-software-management/opensuse-distro-aliases

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page