The unversioned Python RPM macros
Go to file
Karolina Surma eb3f38ce4b Add new options for %%py{3}_check_import: -f, -t, -e
-f: optionally read a file with module names to test
-t: bool flag - if set, filter only top-level modules
-e: optionally exclude module names matching the given glob (Unix
shell-style wildcards)
Importing all modules may cause bogus failures in some cases,
eg. when the imported code assumes there is an existing graphical window.
Such behaviour may be by design, hence for automatic processing it's
more convinient to - in some cases - check only for top-level modules
or filter out the troublemakers.

Related: rhbz#1950291
2021-12-14 21:28:45 +01:00
tests Add new options for %%py{3}_check_import: -f, -t, -e 2021-12-14 21:28:45 +01:00
.gitignore New branch setup 2020-10-08 23:33:09 +00:00
compileall2.py RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00
gating.yaml Add gating.yaml from RHEL 2021-06-02 12:42:49 +02:00
import_all_modules.py Add new options for %%py{3}_check_import: -f, -t, -e 2021-12-14 21:28:45 +01:00
macros.pybytecompile Escape % symbols in macro files comments 2021-05-05 17:18:32 +02:00
macros.python Add new options for %%py{3}_check_import: -f, -t, -e 2021-12-14 21:28:45 +01:00
macros.python3 Add new options for %%py{3}_check_import: -f, -t, -e 2021-12-14 21:28:45 +01:00
macros.python-srpm Define a new macros %python_wheel_dir and %python_wheel_pkg_prefix 2021-11-05 10:47:41 +01:00
python-rpm-macros.spec Add new options for %%py{3}_check_import: -f, -t, -e 2021-12-14 21:28:45 +01:00
python.lua Update comment for python_altnames() to reflect the reality 2021-04-22 18:25:28 +02:00
sources RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00