Bug 1217371 - Traceback when running blue (from package python311-blue)
Summary: Traceback when running blue (from package python311-blue)
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: All openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Daniel Garcia
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-21 16:22 UTC by Olivier Tilloy
Modified: 2023-11-22 10:50 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.