Commit Graph

12 Commits

Author SHA1 Message Date
Miro Hrončok
e0427e3604 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).

(cherry picked from python3.12-pip commit fd85d3c16a1de425ebb1b8973dd5777ddbc71f48)
2025-06-26 11:59:46 +02:00
Miro Hrončok
5045013e96 Fix Bash completion
- Bash functions cannot have dots in them

Resolves: RHEL-100071
2025-06-25 14:21:58 +02:00
Lukáš Zachar
06ce251845 Change the test source location
Change the test source location to support evolving downstream testing
requirements. This is needed both for downstream certification
activities and changes to test development for internal infrastructure
differences.
2024-11-29 14:17:06 +01:00
Tomáš Hrnčiar
e1bc03d94e Require Python with tarfile filters
Resolves: RHEL-25455
2024-02-14 16:02:54 +01:00
Petr Viktorin
74a867423b Use tarfile.data_filter for extracting (CVE-2007-4559, PEP-721, PEP-706)
Resolves: RHBZ#2218247
2023-08-08 15:10:58 +02:00
Lumir Balhar
266b38ccc4 Fix changelog to contain Fedora contributors
Resolves: RHEL-232
2023-03-06 20:51:14 +01:00
Charalampos Stratakis
b1b3e243f1 Add BuildRequires on python3.11-rpm-macros
Resolves: rhbz#2157712
2023-01-30 15:31:06 +01:00
Lukas Zachar
bc600dd016 Add tmt gating plan
Resolves: rhbz#2159330
2023-01-27 16:18:35 +01:00
Charalampos Stratakis
cda643b283 RHEL: Convert from Fedora for the Python 3.11 stack in RHEL
Resolves: rhbz#2157712
2023-01-26 04:37:11 +01:00
Charalampos Stratakis
89729960f7 RHEL: Rename SPEC to python3.11-pip.spec
Resolves: rhbz#2157712
2023-01-26 04:31:07 +01:00
Charalampos Stratakis
eddf99e7ea RHEL: Import from Fedora
Resolves: rhbz#2157712
2023-01-26 04:30:37 +01:00
Release Configuration Management
550d7ab449 New branch setup 2023-01-10 13:58:06 +00:00