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.4.tar.gz (3.7 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.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opensuse_distro_aliases-0.2.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for opensuse_distro_aliases-0.2.4.tar.gz
Algorithm Hash digest
SHA256 6d218cb3d836b38574bab632a543e0bd8cc0355fa0dee66ed90b016e255ce22f
MD5 8803cbf7400e80c2dc2c73edfe969351
BLAKE2b-256 d6f31c194dce4b1f4d78dfdc09c03a1626299bac0a53028f9b1bcc10a6d31e62

See more details on using hashes here.

Provenance

The following attestation bundles were made for opensuse_distro_aliases-0.2.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for opensuse_distro_aliases-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2665876621407937fb2e0879be7dc115c3837ebca65a33191aebee860bbbe2
MD5 2d09ed08bba5bcf2e09d6bd38ee45b94
BLAKE2b-256 274e34b9ddd8d10bded44ecb3c042f65e9093cdcb519d2450ef3aa78a52b4930

See more details on using hashes here.

Provenance

The following attestation bundles were made for opensuse_distro_aliases-0.2.4-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