Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-comprehensions for
openSUSE:Factory checked in at 2021-03-18 22:55:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-comprehensions (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.2401
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-comprehensions"
Thu Mar 18 22:55:19 2021 rev:6 rq:879887 version:3.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-flake8-comprehensions/python-flake8-comprehensions.changes
2020-07-14 07:59:30.341831616 +0200
+++
/work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.2401/python-flake8-comprehensions.changes
2021-03-18 22:55:22.287558768 +0100
@@ -1,0 +2,22 @@
+Thu Mar 18 12:59:11 UTC 2021 - Matej Cepl <[email protected]>
+
+- Update to 3.4.0:
+ - Remove rules C407 (Unnecessary <dict/list> comprehension
+ - <builtin> can take a generator) and C412 (Unnecessary
+ <dict/list/set> comprehension - 'in' can take a generator).
+ Both rules recommended increasing laziness, which is not
+ always desirable and can lead to subtle bugs. Also, a fully
+ exhausted generator is slower than an equivalent
+ comprehension, so the advice did not always improve
+ performance.
+ - Drop Python 3.5 support.
+ - Support Python 3.9.
+ - Move license from ISC to MIT License.
+ - Partially reverted the change to C408 to make it apply again
+ to when dict is called with keyword arguments, e.g. dict(a=1,
+ b=2) will be flagged to be rewritten in the literal form
+ {"a": 1, "b": 2}
+- Skip test test_C416_fail_1_list
+ (gh#adamchainz/flake8-comprehensions#313).
+
+-------------------------------------------------------------------
Old:
----
3.2.3.tar.gz
New:
----
3.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-comprehensions.spec ++++++
--- /var/tmp/diff_new_pack.dQo364/_old 2021-03-18 22:55:22.915559446 +0100
+++ /var/tmp/diff_new_pack.dQo364/_new 2021-03-18 22:55:22.919559450 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-comprehensions
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-flake8-comprehensions
-Version: 3.2.3
+Version: 3.4.0
Release: 0
Summary: A flake8 plugin to help you write better list/set/dict
comprehensions
License: ISC
@@ -52,7 +52,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pytest
+# gh#adamchainz/flake8-comprehensions#313
+%pytest -k 'not test_C416_fail_1_list'
%files %{python_files}
%license LICENSE
++++++ 3.2.3.tar.gz -> 3.4.0.tar.gz ++++++
++++ 2607 lines of diff (skipped)