Bug 1881047 - python-sphinx-copybutton FTBFS
Summary: python-sphinx-copybutton FTBFS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinx-copybutton
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-21 12:41 UTC by Lumír Balhar
Modified: 2020-09-27 00:15 UTC (History)
1 user (show)

Fixed In Version: python-sphinx-copybutton-0.3.0-3.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-27 00:15:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2020-09-21 12:41:38 UTC
python-sphinx-copybutton FTBFS — it uses %tox macro in its specfile but there is no tox configuration upstream. I'd like to fix it but I don't know how to properly run tests for this project.

Comment 1 Jerry James 2020-09-21 15:11:04 UTC
Thank you for the report, Lumir.  There don't seem to be any tests in the tarball, so I'm not sure why there was a %check script in the first place.  Even worse, the pyproject bits don't seem to be supported.  I've removed all that and reverted to the classic %py3_build / %py3_install approach.

Now I wonder how this package ever managed to build before.

Comment 2 Fedora Update System 2020-09-21 15:27:52 UTC
FEDORA-2020-5466429b51 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5466429b51

Comment 3 Lumír Balhar 2020-09-22 05:55:00 UTC
%pyproject_ macros work well for projects without pyproject.toml because they fallback to setup.py which is there so the problem is only with tests. Test configuration is in package.json and it seems to aim only to JS files and uses ava tool I know nothing about.

Comment 4 Jerry James 2020-09-22 14:19:39 UTC
The %pyproject_build macro was trying to run the tests, which is why I reverted to %py3_build.  As for ava, that seems to be this: https://github.com/avajs/ava.  We don't have it in Fedora.

Comment 5 Fedora Update System 2020-09-23 15:25:32 UTC
FEDORA-2020-5466429b51 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5466429b51`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5466429b51

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-09-27 00:15:54 UTC
FEDORA-2020-5466429b51 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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