https://bugzilla.redhat.com/show_bug.cgi?id=1177009
--- Comment #6 from Mario Blättermann <mario.blaettermann(a)gmail.com> ---
(In reply to Miroslav SuchĂ˝ from comment #5)
you have python-foo and python3-foo together.
Try running:
pyp2rpm -n tempest-lib -d ./ -b 2 -p 3 > python-tempest-lib.spec
Very interesting, that way I get BuildRequires without python-oslo-sphinx:
BuildRequires: python-devel
BuildRequires: python-pbr
BuildRequires: python-sphinx
%if %{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-pbr
BuildRequires: python3-sphinx
%endif # if with_python3
Having a look at the file requirements.txt, I don't see oslo-sphinx anywhere:
pbr>=0.8.1
Babel>=1.3
fixtures>=0.3.14
oslo.config>=1.4.0.0a3
iso8601>=0.1.9
But while attempting to build the package with the spec file generated by
pyp2rpm, I get an error message:
+ sphinx-build doc/source html
Making output directory...
Running Sphinx v1.2.2
Extension error:
Could not import extension oslosphinx (exception: No module named oslosphinx)
pyp2rpm isn't aware of this extra BR ... We need python3-oslo-sphinx. Another
idea: Let's build the docs with python2 for the time being and put them in a
-common or -docs package, unless there would be a difference between the py2
and py2 docs for this package (the latter is rather unlikely). Only when Python
2 ultimately goes out of Fedora, we need another solution.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component