Hide Forgot
Description of problem: just run python setup.py test in %check section Version-Release number of selected component (if applicable): python-rdflib-3.2.0-3 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
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.