Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ktdreyer/python-311-copr
https://github.com/ktdreyer/python-311-copr
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ktdreyer/python-311-copr
- Owner: ktdreyer
- Created: 2024-08-14T17:50:19.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T22:02:10.000Z (3 months ago)
- Last Synced: 2024-08-28T00:08:09.486Z (3 months ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![test package installs](https://github.com/ktdreyer/python-311-copr/actions/workflows/tests.yml/badge.svg)](https://github.com/ktdreyer/python-311-copr/actions/workflows/tests.yml)
Extra libraries for Python 3.11 on RHEL 8 and 9. Requires EPEL.
https://copr.fedorainfracloud.org/coprs/ktdreyer/python3.11/
Useful for [errata-tool-ansible](https://github.com/ktdreyer/errata-tool-ansible).
## Installation Instructions
```
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm
dnf copr enable -y ktdreyer/python3.11
```Then install `python3.11` packages, for example:
```
yum -y install python3.11-requests-gssapi
# OR
yum -y install python3.11-dnf
```## Rebuilding locally:
To build a package from dist-git, using mock:
```
fedpkg --release epel8 mockbuild --root rhel+epel-8-x86_64 -- --addrepo=https://download.copr.fedorainfracloud.org/results/ktdreyer/python3.11/epel-8-x86_64/fedpkg --release epel9 mockbuild --root rhel+epel-9-x86_64 -- --addrepo=https://download.copr.fedorainfracloud.org/results/ktdreyer/python3.11/epel-9-x86_64/
```
## Bugs
I've copied and and heavily modified packages from RHEL for this. When the RHEL maintainers ship an update to the underlying libraries (eg rpm-lib), I must merge RHEL's changes in and rebuild.
These packages also depend on `python3.11-rpm` from EPEL where we have the same convention. For example, https://bugzilla.redhat.com/show_bug.cgi?id=2265373