python-oauthlib failed to build from source in Fedora rawhide/f30
For details on the mass rebuild see:
Please fix python-oauthlib at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-oauthlib will be orphaned. Before branching of Fedora 31,
python-oauthlib will be retired, if it still fails to build.
For more details on the FTBFS policy, please visit:
Created attachment 1532304 [details]
file build.log too big, will only attach last 1024 bytes
Created attachment 1532305 [details]
file root.log too big, will only attach last 1024 bytes
Created attachment 1532306 [details]
When bootstrapping Python 3.8, I've realized python-oauthlib FTBFS with:
No matching package to install: 'python2-jwt'
Not being able to rebuild python-oauthlib for Python 3.8 blocks cloud-init and some might consider that one important.
One possible solution is to drop python2-oauthlib and python2-requests-oauthlib and inform all consumers.
Another solution is to reintroduce python2-jwt - Carl, have you anticipated this when doing: https://src.fedoraproject.org/rpms/python-jwt/c/af3e1aa4bf3b6dd72fcd8fcc45a5b95088d3e97b?branch=master - e.g. was it intentional or just an overlook? Should we revert?
I thought there was was a bugzilla asking to disable the python2-jwt subpackage, but now that I look I can't find it. I must have lumped that one in with others I was taking the same action on, sorry about that.
I have no preference, I'm happy to bring back python2-jwt. I could change the upper limit from `< 30` to `< 32`, or I could remove that condition entirely until we're ready to drop it again. Whichever you think makes more sense.
I'm OK with creating some pressure and informing the dependent packages that python2-jwt will be gone in Fedora 32.
However stay tuned for the Fedora 31 change that let's you basically do that in a documented way.
For now, please just bring it back for 31. And we can figure out the details later.
I thought F32 was the release when python2 finally disappeared, thus most of the spec files I maintain (or used to maintain) were conditionalized to build python2 if fedora < 32. Although I personally am fine with dropping python2 in F31 to put pressure on the transition my concern is the enormous web of dependencies if we don't all pull the switch at the same time. But the https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 page says python2 subpackages are being removed in F30. Bottom line, I'm a bit confuses as to when the python2 subpackages are supposed to be removed.
python-jwt-1.7.1-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-33d482b714
> I thought F32 was the release when python2 finally disappeared.
I wonder what makes people create such assumptions. What was it for you?
> Although I personally am fine with dropping python2 in F31 to put pressure on the transition
> my concern is the enormous web of dependencies if we don't all pull the switch at the same time.
We are slowly reducing the web of dependencies. Removing everything at the same time would unfortunately currently break Fedora. Hopefully we can do that one day.
> I'm a bit confuses as to when the python2 subpackages are supposed to be removed.
Short answer: When nothing else depends on them.
Longer answer: We are actively trying to speed that up by breaking dependency cycles, removing optimal dependencies, announcing big but isolated removals (like [Sphinx2] or [Django20]), removing old unused software, nonrepsonsive maintainer policies and such. It is tedious but it doesn't break things (much).
I've re-added the python2 subpackage in 1.7.1-2, and built it for rawhide (https://koji.fedoraproject.org/koji/buildinfo?buildID=1239767) and f30 (https://koji.fedoraproject.org/koji/buildinfo?buildID=1239769). I also submitted the f30 update (see comment 8) and added an override (https://bodhi.fedoraproject.org/overrides/python-jwt-1.7.1-2.fc30).
> removing optimal dependencies
I mean optional.
> I've re-added the python2 subpackage in 1.7.1-2...
I've built python-oauthlib-2.1.0-2.fc31 in rawhide. i see no reason to submit it as an update to f30 as well, so let this be closed by your update.
Also, python-oauthlib-2.1.0-2.fc31 builds fine against Python 3.8.
python-jwt-1.7.1-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-33d482b714
python-jwt-1.7.1-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.