Bug 2081915 - copr-frontend FTBFS with werkzeug 2.1.2
Summary: copr-frontend FTBFS with werkzeug 2.1.2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: frontend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Copr Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2069345
TreeView+ depends on / blocked
 
Reported: 2022-05-05 01:27 UTC by Charalampos Stratakis
Modified: 2023-02-09 12:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-09 12:18:21 UTC
Embargoed:


Attachments (Terms of Use)
build.log (377.54 KB, text/plain)
2022-05-05 01:27 UTC, Charalampos Stratakis
no flags Details

Description Charalampos Stratakis 2022-05-05 01:27:29 UTC
Created attachment 1877191 [details]
build.log

The latest version of python-werkzeug, 2.1.2, intended for rawhide makes copr-frontend FTBFS with 33 test failures, most of those with:

E       assert 400 == 200
E        +  where 400 = <WrapperTestResponse streamed [400 BAD REQUEST]>.status_code

Full build logs attached.

Comment 1 Pavel Raiskup 2022-05-05 05:20:48 UTC
Thank you for the report.  Is werkzeug 2.1.2 built somewhere so we can
experiment with that?  Copr or Koji side-tag?

Comment 2 Charalampos Stratakis 2022-05-05 12:11:16 UTC
(In reply to Pavel Raiskup from comment #1)
> Thank you for the report.  Is werkzeug 2.1.2 built somewhere so we can
> experiment with that?  Copr or Koji side-tag?

Of course. You can try out this Copr: https://copr.fedorainfracloud.org/coprs/cstratak/werkzeug-2.1.2/

Comment 3 Pavel Raiskup 2022-07-26 19:13:45 UTC
This is an incompatibility of the new werkzeug release, and not-supported
flask-restful package:

  https://github.com/flask-restful/flask-restful/issues/936

We could migrate to one of the flask-restful alternatives, though this causes
problems in the APIv2 logic, and APIv2 should have been removed already, per
our plan:

  https://fedora-copr.github.io/posts/EOL-APIv1-APIv2

We'll stay on F35 for some time. Please ignore this error for now
on Rawdhie.  We'll try to drop the problematic dependency in
next copr-frontend release, and then close this bug.

Comment 4 Pavel Raiskup 2022-07-26 19:15:10 UTC
Thanks to Frantisek Zatloukal for debugging and providing helpful info!

Comment 5 Jakub Kadlčík 2022-08-25 01:06:39 UTC
The APIv2 that Pavel mentioned is now removed but the copr-frontend is
still failing to build in F37/Rawhide. I think it is caused by
python3-flask-2.2.2-1.fc37.noarch.

I created a new issue for it:
https://pagure.io/copr/copr/issue/2293

Comment 6 Jakub Kadlčík 2022-08-31 22:31:34 UTC
Modified in
https://pagure.io/copr/copr/pull-request/2298


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