Bug 1689602 - not possible to use dependency to python-sphinx in rawhide
Summary: not possible to use dependency to python-sphinx in rawhide
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinx
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX2
TreeView+ depends on / blocked
 
Reported: 2019-03-16 22:27 UTC by Michal Ambroz
Modified: 2019-03-22 13:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-17 12:33:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Ambroz 2019-03-16 22:27:45 UTC
Description of problem:
Recently the beta of the python-sphinx was pushed to the rawhide.There is something wrong about the package,because it cannot be used as dependency for some reason.

Version-Release number of selected component (if applicable):
2.0.0~b1-1.fc31 (it is quite possible that the ~b1 could be part of the problem, as the version is not purely numeric.)

How reproducible:
100%

Steps to Reproduce:
1. fedpkg build for yara, which has dependency to python-sphinx
2. koji ends with error in the root.log:
https://kojipkgs.fedoraproject.org//work/tasks/7202/33547202/root.log
DEBUG util.py:554:  BUILDSTDERR: No matching package to install: 'python-sphinx'

Comment 1 Miro Hrončok 2019-03-17 12:27:41 UTC
There is no python-sphinx, just python2-sphinx and python3-sphinx. python2-sphinx was removed from rawhide, as was announced to devel-announce and all package maintainers with packages depending on python2-sphinx were cc'ed.

Depending on python-sphinx is forbidden for years now, so I haven't CC'ed packages depending on python-sphinx, sorry about that.

https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/message/X7A7AYR4HJPXKGV7WWNIILRPHE6F4RQ7/

Please read https://fedoraproject.org/wiki/Changes/Sphinx2

Comment 2 Miro Hrončok 2019-03-17 12:33:10 UTC
I've now forwarded the e-mail to:

Maintainers by package:
aqsis                kwizart pmachata
davix                adev andreamanzi gbitzes
fastd                heffer
flexiport            rmattes
generatorrunner      hobbes1069 jreznik rdieter than
jansson              jirka jsmith
liblognorm           mbartos mdarade rsroka
libmemcached         jorton remi
llvm3.9              jistone nalimilan orion petersen
mellowplayer         martinkg
metrics              gil
nfs-ganesha          dang devos jiffintt kkeithle skoduri
osgearth             smani
pcl                  rmattes timn
python-oauth2client  mbaldessari ralph
udis86               dcantrel scottt
waf                  salimma thm
yara                 rebus

Packages by maintainer:
adev       davix
andreamanzi davix
dang       nfs-ganesha
dcantrel   udis86
devos      nfs-ganesha
gbitzes    davix
gil        metrics
heffer     fastd
hobbes1069 generatorrunner
jiffintt   nfs-ganesha
jirka      jansson
jistone    llvm3.9
jorton     libmemcached
jreznik    generatorrunner
jsmith     jansson
kkeithle   nfs-ganesha
kwizart    aqsis
martinkg   mellowplayer
mbaldessari python-oauth2client
mbartos    liblognorm
mdarade    liblognorm
nalimilan  llvm3.9
orion      llvm3.9
petersen   llvm3.9
pmachata   aqsis
ralph      python-oauth2client
rdieter    generatorrunner
rebus      yara
remi       libmemcached
rmattes    flexiport pcl
rsroka     liblognorm
salimma    waf
scottt     udis86
skoduri    nfs-ganesha
smani      osgearth
than       generatorrunner
thm        waf
timn       pcl

Comment 3 Miro Hrončok 2019-03-17 12:34:36 UTC
BTW Michal, contacting you thru yara-maintainers bounces.

Comment 4 Michal Ambroz 2019-03-18 14:53:05 UTC
(In reply to Miro Hrončok from comment #1)
> There is no python-sphinx, just python2-sphinx and python3-sphinx.
> python2-sphinx was removed from rawhide, as was announced to devel-announce
> and all package maintainers with packages depending on python2-sphinx were
> cc'ed.
Sorry I beg to differ. When I the package is just using the sphinx-* commands and not the python includes,
I should not really have to care whether you have sphinx under python2 or python3.

If you removed python2-sphinx package (which was till now providing the python-sphinx,
then I believe this should have been added manually to the python3-sphinx package to also provide the python-sphinx.

Best regards
Michal Ambroz

Comment 5 Miro Hrončok 2019-03-18 14:59:41 UTC
That would violate Fedora Packaging guidelines we currently have and also it would bring inconsistency with the rest of Fedora.

If you really feel some python-foo should be provided by python2-foo packages while other python-bar should be provided by python3-bar packages, feel free to present that idea tot he Fedora Packaging Committee. As a member of that committee, I would vote against.

If you feel that all python-foo should be provided by python3-foo, we are aiming there, but not there yet. https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

Note that a "I don't care what python version I get, hence I (build)require python-foo and I get some" was never supported. Using python-foo in Fedora spec files is forbidden.

Comment 6 Miro Hrončok 2019-03-19 16:24:30 UTC
Note thet if you just want the sphinx-build command/tool (and you don't care about the Python version), you can use:

BuildRequires: /usr/bin/sphinx-build

Comment 7 Michal Ambroz 2019-03-22 13:09:55 UTC
OK thank you ... that is probably suitable solution.


Note You need to log in before you can comment on or make changes to this bug.