A tool for installing and managing Python packages
Go to file
Miro Hrončok 2a64b8d1a3 rpminspect: Disable the unicode inspection
rpminspect reported:

    A forbidden code point, 0x202E, was found in the pip-21.2.3/AUTHORS.txt source file on line 635 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 (from python3.12-pip):

    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).

Cherry-picked from fd85d3c16a
2024-02-15 05:42:27 +01:00
tests Make STI CI work: Drop other Pythons and pipenv, add EPEL, etc. 2024-02-15 05:42:27 +01:00
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-10-14 19:37:16 -07:00
9760.patch Updates from Fedora 34: 2021-06-09 17:43:02 +02:00
cve-2007-4559-tarfile.patch Use tarfile.data_filter for extracting (CVE-2007-4559, PEP-721, PEP-706) 2023-08-10 13:18:31 +02:00
don-t-split-git-references-on-unicode-separators.patch Updates from Fedora 34: 2021-06-09 17:43:02 +02:00
dummy-certifi.patch Update to 21.1.1 2021-09-17 19:13:51 +02:00
gating.yaml Add gating.yaml from RHEL 2021-06-02 12:51:48 +02:00
no-version-warning.patch Update to 21.2.3 2021-09-17 19:14:32 +02:00
nowarn-pip._internal.main.patch Update to 21.2.3 2021-09-17 19:14:32 +02:00
pip-allow-different-versions.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 19:37:16 -07:00
python-pip.rpmlintrc Update to 21.1.1 2021-09-17 19:13:51 +02:00
python-pip.spec Require Python with tarfile filters 2024-02-14 15:52:57 +01:00
remove-existing-dist-only-if-path-conflicts.patch Fix broken uninstallation by a bogus downstream patch 2021-09-17 19:15:07 +02:00
rpminspect.yaml rpminspect: Disable the unicode inspection 2024-02-15 05:42:27 +01:00
sources Update to 21.2.3 2021-09-17 19:14:32 +02:00