Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-flake8-pyi for 
openSUSE:Factory checked in at 2023-08-28 17:14:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-pyi (Old)
 and      /work/SRC/openSUSE:Factory/.python-flake8-pyi.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flake8-pyi"

Mon Aug 28 17:14:02 2023 rev:10 rq:1105954 version:23.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flake8-pyi/python-flake8-pyi.changes      
2023-03-06 18:57:00.473110616 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-pyi.new.1766/python-flake8-pyi.changes
    2023-08-28 17:14:05.138216989 +0200
@@ -1,0 +2,26 @@
+Fri Aug 25 11:40:31 UTC 2023 - Markéta Machová <mmach...@suse.com>
+
+- Update to 23.6.0
+  * Y011/Y014/Y015: Allow math constants math.inf, math.nan, math.e, 
+    math.pi, math.tau, and their negatives in default values. Some 
+    other semantically equivalent values, such as x = inf (from math 
+    import inf), or x = np.inf (import numpy as np), should be rewritten 
+    to x = math.inf.
+  * Y053: Disallow string or bytes literals with length >50 characters. 
+    Previously this rule only applied to parameter default values; 
+    it now applies everywhere.
+  * Y054: Disallow numeric literals with a string representation >10 
+    characters long. Previously this rule only applied to parameter 
+    default values; it now applies everywhere.
+  * Y055: Unions of the form type[X] | type[Y] can be simplified to type[X | 
Y].
+  * The way in which flake8-pyi modifies pyflakes runs has been improved.
+  * Introduce Y056: Various type checkers have different levels of support 
+    for method calls on __all__. Use __all__ += ["foo", "bar"] instead, 
+    as this is known to be supported by all major type checkers.
+  * Support Python 3.12
+  * Support PEP 695 syntax for declaring type aliases
+  * Introduce Y057: Do not use typing.ByteString or collections.abc.ByteString.
+  * flake8-pyi no longer supports being run on Python 3.7.
+  * flake8-pyi no longer supports being run with flake8 <v6.
+
+-------------------------------------------------------------------

Old:
----
  flake8_pyi-23.1.2.tar.gz

New:
----
  flake8_pyi-23.6.0.tar.gz

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

Other differences:
------------------
++++++ python-flake8-pyi.spec ++++++
--- /var/tmp/diff_new_pack.s27XnE/_old  2023-08-28 17:14:06.286258215 +0200
+++ /var/tmp/diff_new_pack.s27XnE/_new  2023-08-28 17:14:06.290258358 +0200
@@ -18,7 +18,7 @@
 
 %define skip_python2 1
 Name:           python-flake8-pyi
-Version:        23.1.2
+Version:        23.6.0
 Release:        0
 Summary:        A plugin for flake8 to enable linting .pyi files
 License:        MIT
@@ -29,14 +29,14 @@
 # PYTHONPATH resolution for tests running inside osc
 Patch0:         set-tests-python-path.patch
 BuildRequires:  %{python_module ast-decompiler}
-BuildRequires:  %{python_module base >= 3.6.0}
+BuildRequires:  %{python_module base >= 3.8.0}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module attrs}
-BuildRequires:  %{python_module flake8 >= 3.2.1}
+BuildRequires:  %{python_module flake8 >= 6.0.0}
 BuildRequires:  %{python_module pyflakes >= 2.1.1}
 # Use pytest directly to bypass setup.py test dependencies
 BuildRequires:  %{python_module pytest}
@@ -46,8 +46,8 @@
 # /SECTION
 BuildRequires:  fdupes
 Requires:       python-attrs
-Requires:       python-base >= 3.6.0
-Requires:       python-flake8 >= 3.2.1
+Requires:       python-base >= 3.8.0
+Requires:       python-flake8 >= 6.0.0
 Requires:       python-pyflakes >= 2.1.1
 Requires:       python-typing
 BuildArch:      noarch

++++++ flake8_pyi-23.1.2.tar.gz -> flake8_pyi-23.6.0.tar.gz ++++++
++++ 2695 lines of diff (skipped)

++++++ set-tests-python-path.patch ++++++
--- /var/tmp/diff_new_pack.s27XnE/_old  2023-08-28 17:14:06.378261519 +0200
+++ /var/tmp/diff_new_pack.s27XnE/_new  2023-08-28 17:14:06.378261519 +0200
@@ -1,10 +1,10 @@
-Index: flake8_pyi-23.1.2/tests/test_pyi_files.py
+Index: flake8_pyi-23.6.0/tests/test_pyi_files.py
 ===================================================================
---- flake8_pyi-23.1.2.orig/tests/test_pyi_files.py
-+++ flake8_pyi-23.1.2/tests/test_pyi_files.py
-@@ -35,16 +35,21 @@ def test_pyi_file(path: str) -> None:
-             message = line[match.end() : end_pos].strip()
-             expected_output += f"{path}:{lineno}: {match.group(1)}{message}\n"
+--- flake8_pyi-23.6.0.orig/tests/test_pyi_files.py
++++ flake8_pyi-23.6.0/tests/test_pyi_files.py
+@@ -42,16 +42,21 @@ def test_pyi_file(path: str) -> None:
+         option = flag.split("=")[0]
+         assert option != "--ignore", bad_flag_msg
  
 +    pythonpath = os.environ.get("PYTHONPATH")
 +    pythonpath = f"PYTHONPATH={pythonpath}:."

Reply via email to