Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-blue for openSUSE:Factory 
checked in at 2023-05-04 17:11:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blue (Old)
 and      /work/SRC/openSUSE:Factory/.python-blue.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-blue"

Thu May  4 17:11:35 2023 rev:9 rq:1084655 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blue/python-blue.changes  2023-01-28 
19:00:45.191865698 +0100
+++ /work/SRC/openSUSE:Factory/.python-blue.new.1533/python-blue.changes        
2023-05-04 17:11:45.340779892 +0200
@@ -1,0 +2,6 @@
+Thu May  4 12:02:24 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Add black-23.3.patch to make it compatible with latest python-black
+  version. gh#grantjenks/blue#97
+
+-------------------------------------------------------------------

New:
----
  black-23.3.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-blue.spec ++++++
--- /var/tmp/diff_new_pack.3v8kqe/_old  2023-05-04 17:11:45.832782772 +0200
+++ /var/tmp/diff_new_pack.3v8kqe/_new  2023-05-04 17:11:45.836782796 +0200
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-blue
 Version:        0.9.1
@@ -29,6 +28,8 @@
 Patch1:         unpin-tomli.patch
 # PATCH-FIX-UPSTREAM flake8-v5-compatibility.patch -- gh#grantjenks/blue#78
 Patch2:         flake8-v5-compatibility.patch
+# PATCH-FIX-OPENSUSE black-23.3.patch -- gh#grantjenks/blue#97
+Patch3:         black-23.3.patch
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module base >= 3.6}
 BuildRequires:  %{python_module black >= 21.7}

++++++ black-23.3.patch ++++++
Index: blue-0.9.1/blue/__init__.py
===================================================================
--- blue-0.9.1.orig/blue/__init__.py
+++ blue-0.9.1/blue/__init__.py
@@ -451,7 +451,7 @@ def main():
         'Black', 'Blue'
     )
     # Change the config param callback to support setup.cfg, tox.ini, etc.
-    config_param = black.main.params[25]
+    config_param = black.main.params[26]
     assert config_param.name == 'config'
     config_param.callback = read_configs
     # Change the version string by adding a redundant Click `version_option`

Reply via email to