Commit Graph

12 Commits

Author SHA1 Message Date
Charalampos Stratakis
14bc3cbb3e Use tarfile.data_filter for extracting (CVE-2007-4559, PEP-721, PEP-706)
Resolves: RHEL-25737
2024-02-16 15:23:13 +01:00
Miro Hrončok
b4e546ff26 Drop non-RHEL remnants of the spec preventing co-installability
Resolves: RHEL-17746
2024-01-25 17:01:42 +01:00
Miro Hrončok
247648b9c6 Rebuilt for timestamp .pyc invalidation mode
Resolves: RHEL-17746
2024-01-24 00:25:11 +01:00
Miro Hrončok
edad5d26f6 Correct wrong RHEL version in the gating configuration 2024-01-17 23:14:42 +01:00
Miro Hrončok
91e3bd418a rpminspect: Disable the unicode inspection
rpminspect reported:

    A forbidden code point, 0x202E, was found in the pip-23.2.1/AUTHORS.txt source file on line 482 at column 10.
    A forbidden code point, 0x202E, was found in the pip-23.2.1/AUTHORS.txt source file on line 738 at column 0.

This issue was already found and fixed upstream
when pip was added to CentOS Stream for Python 3.11.

https://github.com/pypa/pip/pull/12046

However, the fix got overridden by upstream automation (which creates the file from git log).

The regression was reported upstream in https://github.com/pypa/pip/issues/12467

The patch still applies, so we could reuse it again.
However, rpminspect then not only does not stop reporting this,
but it starts reporting the same problem for the patch:

    A forbidden code point, 0x202E, was found in the 12046.patch source file on line 19 at column 11. This source file is used by (null).
    A forbidden code point, 0x202E, was found in the 12046.patch source file on line 28 at column 1. This source file is used by (null).
    A forbidden code point, 0x202E, was found in the pip-23.2.1/AUTHORS.txt source file on line 482 at column 10. This source file is used by python3.12-pip.spec.
    A forbidden code point, 0x202E, was found in the pip-23.2.1/AUTHORS.txt source file on line 738 at column 0. This source file is used by python3.12-pip.spec.

The file is fine. It's not code.

Note that ideally, we would only exclude AUTHORS.txt, somehow like this:

    unicode:
        exclude: ^AUTHORS\.txt$

However, it does not work (at least on CentOS Zuul CI).
2024-01-10 11:41:07 +01:00
Miro Hrončok
c184ebaeb5 Make CI tests work on RHEL 8, configure gating 2024-01-09 20:42:21 +01:00
Tomáš Hrnčiar
d1ed1b809b Implement alternatives 2024-01-09 20:42:21 +01:00
Tomáš Hrnčiar
1b1710221f Use pre-built manpages
The Sphinx version shipped in python3-sphinx is too old.
2024-01-09 20:42:21 +01:00
Tomáš Hrnčiar
5cfdbeb950 Convert from Fedora for the Python 3.12 stack in RHEL 2024-01-09 20:42:21 +01:00
Tomáš Hrnčiar
820d2ad0e0 Rename SPEC to python3.12-pip.spec 2024-01-09 20:31:45 +01:00
Tomáš Hrnčiar
7a8667b9bf Import from Fedora python-pip @ fb213c6
Resolves: RHEL-17746
2024-01-09 20:31:29 +01:00
Release Configuration Management
77b28834cf New branch setup 2023-12-14 12:13:32 +00:00