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.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for opensuse_distro_aliases-0.2.2.tar.gz
Algorithm Hash digest
SHA256 78dcfeb87ec1293770c576c07eec78282872f6d3ecdde830c14de8a1313181d7
MD5 076ef8ae93384829984e1da2e93edc09
BLAKE2b-256 818a43621cd39c9712acc14daffe3a8168989b9fde57ba0ca4cb2009c9ee6137

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for opensuse_distro_aliases-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fad10ea49b62752762fe1d2e2928497fc78ded0343d2d1ed8eb1d90ae7568b
MD5 27ab1549acd496da1d79da216ef8ffdc
BLAKE2b-256 41960e1a3c4fd7f06b1b5238a572eca2f9587a96f469834ecce859d649fb2122

See more details on using hashes here.

Provenance

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

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

Attestations:

Supported by

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