Bug 1824314
Summary: | build python-pymod2pkg for EPEL 8 | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Ken Dreyer (Red Hat) <kdreyer> |
Component: | python-pymod2pkg | Assignee: | Alan Pevec (Fedora) <apevec> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel8 | CC: | apevec, jpena, jru, openstack-sig |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-pymod2pkg-0.17.1-2.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-01 10:53:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ken Dreyer (Red Hat)
2020-04-15 19:46:08 UTC
When I use the master branch, I can build the package in an epel8 chroot, but I need to patch out these test dependencies: git diff diff --git a/python-pymod2pkg.spec b/python-pymod2pkg.spec index 57c9639..8803c8d 100644 --- a/python-pymod2pkg.spec +++ b/python-pymod2pkg.spec @@ -46,9 +46,6 @@ Requires: python3-pbr BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: python3-pbr -BuildRequires: python3-stestr -BuildRequires: python3-testresources -BuildRequires: python3-testtools %{?python_provide:%python_provide python3-%{sname}} %description -n python3-%{sname} @@ -72,11 +69,11 @@ This is a Python3 version. %check %if %{with python3} -PYTHON=python3 stestr-3 run +python3 tests.py rm -rf .testrepository %endif %if %{with python2} -PYTHON=python2 stestr run +python2 tests.py %endif %install The upstream documentation simply recommends running "python tests.py", https://docs.openstack.org/pymod2pkg/latest/#running-the-testsuite I don't know enough to say why pymod2pkg still BuildRequires these, but %check passes fine without them. FEDORA-EPEL-2020-2e01b78435 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2e01b78435 Actually, I think the documentation is outdated, since all OpenStack projects standardized on using stestr for tests. In any case, since removing all those test dependencies and switching to "python setup.py test" works fine, I have built the package (see the Bodhi update). Thanks! This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. FEDORA-EPEL-2020-2e01b78435 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2e01b78435 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-2e01b78435 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |