Bug 2081916

Summary: wxGTK FTBFS with werkzeug 2.1.2
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: wxGTKAssignee: Scott Talbert <swt>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: alexjnewt, mattdm, swt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-httpbin-0.7.0-18.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-11 23:03:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2069345    
Attachments:
Description Flags
build.log none

Description Charalampos Stratakis 2022-05-05 01:31:47 UTC
Created attachment 1877192 [details]
build.log

The latest version of python-werkzeug, 2.1.2, intended for rawhide makes wxGTK FTBFS with:

Traceback (most recent call last):
  File "/usr/lib64/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib64/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/lib/python3.10/site-packages/httpbin/__init__.py", line 3, in <module>
    from .core import *
  File "/usr/lib/python3.10/site-packages/httpbin/core.py", line 22, in <module>
    from werkzeug.wrappers import BaseResponse
ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers' (/usr/lib/python3.10/site-packages/werkzeug/wrappers/__init__.py)

Full build logs attached.

Comment 1 Charalampos Stratakis 2022-05-05 01:33:06 UTC
It seems upstream is pinning the versions so far: https://github.com/wxWidgets/wxWidgets/commit/1aab9e7ebb540b31f66fee01aa35c2f9ab297f22

Comment 2 Scott Talbert 2022-05-05 02:49:14 UTC
It seems like this should probably be reassigned to python-httpbin, as I don't think anything can be done about this in wxGTK (except perhaps disabling tests).  It appears there's a relatively simple patch than can be applied to python-httpbin.

Comment 3 Charalampos Stratakis 2022-05-05 12:17:52 UTC
I would keep it as is for tracking purposes. When httpbin is fixed I'll verify that wxGTK is also fine.

Comment 4 Charalampos Stratakis 2022-05-11 23:03:23 UTC
Fixed with python-httpbin-0.7.0-18.fc37