Lubomír Sedlář
af10ab312b
Remove python 2.7 from tox configuration
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2024-11-29 09:33:52 +01:00
Lubomír Sedlář
d95d1f59e2
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>
2024-11-22 13:54:46 +01:00
Lubomír Sedlář
5172d7e5eb
Install unittest2 only on python 2
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2024-03-12 08:58:39 +01:00
Lubomír Sedlář
ff5a7e6377
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>
2024-01-26 09:45:19 +01: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