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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d218cb3d836b38574bab632a543e0bd8cc0355fa0dee66ed90b016e255ce22f
|
|
| MD5 |
8803cbf7400e80c2dc2c73edfe969351
|
|
| BLAKE2b-256 |
d6f31c194dce4b1f4d78dfdc09c03a1626299bac0a53028f9b1bcc10a6d31e62
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opensuse_distro_aliases-0.2.4.tar.gz -
Subject digest:
6d218cb3d836b38574bab632a543e0bd8cc0355fa0dee66ed90b016e255ce22f - Sigstore transparency entry: 1159102058
- Sigstore integration time:
-
Permalink:
rpm-software-management/opensuse-distro-aliases@ceea13e814e81dc4e0f5b70fe7f71f310cbed577 -
Branch / Tag:
refs/tags/0.2.4 - Owner: https://github.com/rpm-software-management
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ceea13e814e81dc4e0f5b70fe7f71f310cbed577 -
Trigger Event:
push
-
Statement type:
File details
Details for the file opensuse_distro_aliases-0.2.4-py3-none-any.whl.
File metadata
- Download URL: opensuse_distro_aliases-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f2665876621407937fb2e0879be7dc115c3837ebca65a33191aebee860bbbe2
|
|
| MD5 |
2d09ed08bba5bcf2e09d6bd38ee45b94
|
|
| BLAKE2b-256 |
274e34b9ddd8d10bded44ecb3c042f65e9093cdcb519d2450ef3aa78a52b4930
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opensuse_distro_aliases-0.2.4-py3-none-any.whl -
Subject digest:
6f2665876621407937fb2e0879be7dc115c3837ebca65a33191aebee860bbbe2 - Sigstore transparency entry: 1159102108
- Sigstore integration time:
-
Permalink:
rpm-software-management/opensuse-distro-aliases@ceea13e814e81dc4e0f5b70fe7f71f310cbed577 -
Branch / Tag:
refs/tags/0.2.4 - Owner: https://github.com/rpm-software-management
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ceea13e814e81dc4e0f5b70fe7f71f310cbed577 -
Trigger Event:
push
-
Statement type: