Lubomír Sedlář
74db11a836
Remove python 2.7 from tox configuration
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit af10ab312b248052e987ee2c50650e2db85be5e4)
2025-09-29 18:23:45 +03:00
Lubomír Sedlář
755004af02
Drop unittest2
...
The library is imported if available, but we never build it in any
environment where the package would be installed. It was last used for
RHEL 6 builds.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit d95d1f59e2ae243ea794c5f5613fef3249b4fad6)
2025-09-29 18:19:14 +03:00
Lubomír Sedlář
07829f2229
Install unittest2 only on python 2
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 5172d7e5eb )
2024-08-30 13:39:26 +03:00
Lubomír Sedlář
d8a553163f
Make python3-mock dependency optional
...
https://fedoraproject.org/wiki/Changes/RemovePythonMockUsage
Prefer using unittest.mock to a standalone package. The separate
packages should only really be needed on Python 2.7 these days.
The test requirements file is updated to only require mock on old
Python, and the dependency is removed from setup.py to avoid issues
there.
Relates: https://src.fedoraproject.org/rpms/pungi/pull-request/9
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit ff5a7e6377 )
2024-08-30 13:38:43 +03:00
Haibo Lin
4dcb6dee0d
Use requirements.txt
...
JIRA: RHELCMP-1773
Signed-off-by: Haibo Lin <hlin@redhat.com>
2020-08-11 20:36:22 +08:00