Commit Graph

7 Commits

Author SHA1 Message Date
Miro Hrončok
12186fe9aa Rebuilt for timestamp .pyc invalidation mode
Resolves: RHEL-17747
2024-01-23 18:00:07 +01:00
Miro Hrončok
fd85d3c16a 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:35:30 +01:00
Miro Hrončok
7d73edb414 Make CI tests work on EPEL 9, configure gating 2024-01-09 20:41:40 +01:00
Tomáš Hrnčiar
f1b86318fc Convert from Fedora for the Python 3.12 stack in RHEL 2024-01-09 20:41:40 +01:00
Tomáš Hrnčiar
18fe540a9d Rename SPEC to python3.12-pip.spec 2024-01-09 20:15:59 +01:00
Tomáš Hrnčiar
41bfe3fcee Import from Fedora python-pip @ fb213c6
Resolves: RHEL-17747
2024-01-09 20:15:24 +01:00
Release Configuration Management
afffd10f9e New branch setup 2023-12-14 12:18:24 +00:00