Bug 1217371

Summary: Traceback when running blue (from package python311-blue)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Olivier Tilloy <olivier.tilloy>
Component: PythonAssignee: Daniel Garcia <daniel.garcia>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: daniel.garcia
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olivier Tilloy 2023-11-21 16:22:41 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Build Identifier: 

I installed python311-blue and just ran it:

[osomon@laptop ~]$ blue
Traceback (most recent call last):
  File "/usr/bin/blue", line 33, in <module>
    sys.exit(load_entry_point('blue==0.9.1', 'console_scripts', 'blue')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/blue/__init__.py", line 458, in main
    assert config_param.name == 'config'
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Reproducible: Always
Comment 1 Olivier Tilloy 2023-11-21 16:36:54 UTC
https://build.opensuse.org/package/view_file/openSUSE:Factory/python-blue/black-23.3.patch?expand=1 might need updating to be compatible with the version of python311-black currently in Tumbleweed (23.11.0).
Comment 2 Daniel Garcia 2023-11-22 07:58:06 UTC
Fixed in devel project: https://build.opensuse.org/package/show/devel:languages:python/python-blue
Comment 3 OBSbugzilla Bot 2023-11-22 09:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1217371) was mentioned in
https://build.opensuse.org/request/show/1128026 Factory / python-blue
Comment 4 Daniel Garcia 2023-11-22 10:50:33 UTC
Fix sent to Factory, it should arrive to the distribution soon.