python-jsonschema failed to build from source in Fedora rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=28222418 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Please fix python-jsonschema 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-jsonschema will be orphaned. Before branching of Fedora 30, python-jsonschema will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1466323 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1466324 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1466325 [details] state.log
The Python 3 tests are calling "python" in subprocess. They should call sys.executbale instead.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
I'd like to update jsonschema to version 3.0.0 (and fix this FTBFS), because I'd like to package poetry - which requires >= 3.0.0a3. But: - 3.0.0 introduces new dependencies, for which the python2 versions were already retired on rawhide (i.e. pyrsistent) - I can't drop the python2 sub-package, because pungi and gofed still depend on it, according to portingd [0] - I can't manage to get the tests to run successfully either way. Could somebody with more python packaging experience please help? [0] https://fedora.portingdb.xyz/pkg/python-jsonschema/
I have a draft of the new version (without running tests) here: https://github.com/decathorpe/rpmbuild-staging/blob/master/SPECS/python-jsonschema.spec https://copr.fedorainfracloud.org/coprs/decathorpe/python-staging/build/846579/
poetry FTW! I wanted to look into it and thank you for packaging it! I suggest to do the following: Update python-jsonschema to >= 3, drop python 2 subpackage. Crete a python2-jsonschema specfile with jsonschema 2.6.x and offer it to the maintainers of: fts-rest gofed kimchi pungi python-falcon python-nbformat python-openstacksdk python-proliantutils python-warlock to maintain. They would either pick it up and maintain it or they would need to get rid of the dependency.
Yeah, that sounds like a sensible path forward. I'll work on it.
I have both packages (python2-jsonschema v2.6.0 [0], python-jsonschema v3.0.0a5 [1]) working, with *passing* test suites for both. It looks like COPR has been down since yesterday, so I've linked koji scratch builds instead: [py2] [py3] Do you have suggestions how to coordinate this change? I don't want to break rawhide by abusing my provenpackager rights. [0] https://github.com/decathorpe/rpmbuild-staging/blob/master/SPECS/python2-jsonschema.spec [1] https://github.com/decathorpe/rpmbuild-staging/blob/master/SPECS/python-jsonschema.spec [py2] https://koji.fedoraproject.org/koji/taskinfo?taskID=32141679 [py3] https://koji.fedoraproject.org/koji/taskinfo?taskID=32141681
I'd do it as following: * ask the dependents who want to maintain python2-jsonschema * let them submit it for review * alternatively do it yourself if you are willing to do so * open a PR for python-jsonschema * but don't merge it before python2-jsonschema is in rawhide * and mention not to do so * given a state of this bug, later don't be afraid to merge it yourself * I'd also ask Alan for co-maintainer rights (try e-mail)
Also, maybe check with the dependents of python3-jsonschema as well for potential breakage?
BTW COPR seems to be up again.
Thanks for your advice! I've submitted the python2-jsonschema review request myself, and will work on the rest later.
The new python2-jsonschema package has already been approved (thanks, Miro!), and I've prepared a pull request for the required python-jsonschema changes: https://src.fedoraproject.org/rpms/python-jsonschema/pull-request/3 I have rebuilt all dependent packages (of both py2 and py3 versions) in my decathorpe/python-staging COPR repository, and all builds succeeded (except two, which failed for unrelated reasons): https://copr.fedorainfracloud.org/coprs/decathorpe/python-staging/monitor/ # fts-rest: already broken (not tracked by koschei, so _shrug_ about reason) Error: Problem: conflicting requests - nothing provides python-myghty >= 1.1 needed by python-pylons-1.0.1-3.fc21.noarch # python-openstacksdk: already broken (not tracked by koschei, so _shrug_ about reason) No matching package to install: 'python2-stestr' Not all dependencies satisfied Error: Some packages could not be found.
FWIW openstack/requirements has an upper limit jsonschema<3.0.0 which seems to have been introduced preemptively when bumping req to 2.0.0 in https://review.openstack.org/66464 then it just got inherited until present https://github.com/openstack/requirements/blob/fa509c13b7393abc1b2de7405c5102dc9d0af472/global-requirements.txt#L97 When jsonschema 3.0.0 is released, we could propose the bump in OpenStack global requirements.
Testing bump in OpenStack https://review.openstack.org/632093
since the plan is to fix this with a rebase to 3.0, let's close it as a duplicate of bug 1668078 ?
Not necessarily. The fix for f29 (for which this bug was opened) is a different one, which I'll push separately. But thanks for reminding me - I'll close all appropriate bugs when the rebase is done.
python-jsonschema-2.6.0-6.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-58052493a6
This has been fixed in rawhide, too (in the new python2-jsonschema package). The same patch was applied to fix the build of this package in fedora 29, for which the bodhi update above was submitted As a result, this bug will be automatically closed once that update is pushed to stable.
python-jsonschema-2.6.0-6.fc29 has been pushed to the Fedora 29 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-58052493a6
python-jsonschema-2.6.0-6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.