| Summary: | Doesn't have %check section although upstream provides unit tests. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matěj Cepl <mcepl> |
| Component: | python-rdflib | Assignee: | Dave Malcolm <dmalcolm> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dmalcolm, mcepl, pingou |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-24 21:36:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Matěj Cepl
2012-01-24 14:18:32 UTC
Because there seem to be a call to a remote url which is not allowed within the koji infrastructure. See : http://koji.fedoraproject.org/koji/taskinfo?taskID=3729302 Not sure how upstream would be willing to change this. FWIW, recent versions of Fedora's python package (2.7.2-10.fc17 onwards iirc) provides some non-standard extensions to unittest, so that you can add this decorator to unit tests in a downstream-only patch: @unittest._skipInRpmBuild(msg) def test_something(): ...etc... @unittest._expectedFailureInRpmBuild(msg) def test_something_else(): ...etc... You have to explicitly define WITHIN_PYTHON_RPM_BUILD within the environment for them to work. See http://pkgs.fedoraproject.org/gitweb/?p=python.git;a=commitdiff;h=866e9292651403b113045cfd33d238c57cd3201e for the patch that added this to "python", and applied it in a fine-grained way to the test suite there. Having said all that, these decorators don't exist in older Fedora python packages, or in RHEL's python packages. http://koji.fedoraproject.org/koji/buildinfo?buildID=295336 Fix in git and builds fine. |