A tool for installing and managing Python packages
Go to file
Miro Hrončok e1694ed0fe 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

(cherry picked from commit 2a64b8d1a3)
2024-11-05 12:32:41 +01:00
tests CI: Adjust tests for c10s 2024-09-06 12:46:57 +02:00
.gitignore Update to 20.0.2 2020-03-04 12:47:38 +01:00
changelog Convert to %autorelease and %autochangelog 2024-01-25 15:48:44 +01:00
cve-2007-4559-tarfile.patch Use tarfile.data_filter for extracting (CVE-2007-4559, PEP-721, PEP-706) 2024-05-08 00:00:50 +02:00
dummy-certifi.patch Update to 22.3.1 2022-11-16 17:54:41 +01:00
gating.yaml Add gating.yaml 2024-07-26 15:51:44 +02:00
no-version-warning.patch Update to 21.2.3 2021-08-09 20:33:45 +02:00
nowarn-pip._internal.main.patch Update to 22.2 2022-07-25 14:59:00 +02:00
python-pip.rpmlintrc Update rpmlintrc rules to match rpmlint 2 and the current pip 2023-05-22 13:34:10 +02:00
python-pip.spec Verify no unwanted files are present in the package 2024-09-18 11:26:14 +02:00
remove-existing-dist-only-if-path-conflicts.patch No longer use the rpm_install prefix to determine RPM-installed packages 2022-09-06 16:40:34 +02:00
rpminspect.yaml rpminspect: Disable the unicode inspection 2024-11-05 12:32:41 +01:00
sources Update to 23.3.2 2024-01-25 15:52:13 +01:00