Hello community,
here is the log from the commit of package python-fissix for openSUSE:Factory
checked in at 2020-10-25 18:08:48
Comparing /work/SRC/openSUSE:Factory/python-fissix (Old)
and /work/SRC/openSUSE:Factory/.python-fissix.new.3463 (New)
Package is "python-fissix"
Sun Oct 25 18:08:48 2020 rev:3 rq:835550 version:20.8.0
Changes:
--- /work/SRC/openSUSE:Factory/python-fissix/python-fissix.changes
2020-07-01 14:27:11.450859838 +0200
+++ /work/SRC/openSUSE:Factory/.python-fissix.new.3463/python-fissix.changes
2020-10-25 18:08:51.163472066 +0100
@@ -1,0 +2,8 @@
+Fri Sep 18 15:33:11 UTC 2020 - John Vandenberg
+
+- Activate test suite
+- Update to 20.8.0
+ * include dict in iterating context
+ * Fixed reporting some unchanged files as needing modification
+
+---
Old:
fissix-20.5.1.tar.gz
New:
fissix-20.8.0.tar.gz
Other differences:
--
++ python-fissix.spec ++
--- /var/tmp/diff_new_pack.vfgGuA/_old 2020-10-25 18:08:52.451473285 +0100
+++ /var/tmp/diff_new_pack.vfgGuA/_new 2020-10-25 18:08:52.455473289 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-fissix
-Version:20.5.1
+Version:20.8.0
Release:0
Summary:Backport of lib2to3, with enhancements
License:Python-2.0
@@ -27,7 +27,9 @@
Source:
https://files.pythonhosted.org/packages/source/f/fissix/fissix-%{version}.tar.gz
BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module base >= 3.6}
+BuildRequires: %{python_module pytest >= 6.0.1}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module testsuite}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-appdirs
@@ -39,13 +41,19 @@
%prep
%setup -q -n fissix-%{version}
+sed -i '1{/^#!/d}' fissix/pgen2/token.py
%build
%python_build
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand rm -r %{buildroot}%{$python_sitelib}/fissix/tests/
+%fdupes %{buildroot}%{$python_sitelib}
+}
+
+%check
+%pytest
%files %{python_files}
%doc README.md
++ fissix-20.5.1.tar.gz -> fissix-20.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fissix-20.5.1/LICENSE new/fissix-20.8.0/LICENSE
--- old/fissix-20.5.1/LICENSE 2020-05-14 08:04:03.006515700 +0200
+++ new/fissix-20.8.0/LICENSE 2020-08-18 05:52:48.965715400 +0200
@@ -1,3 +1,9 @@
+Some Python files have been taken from the standard library and are therefore
+PSF licensed. Modifications on these files are also PSF. These files are:
+
+- fissix/*
+
+
A. HISTORY OF THE SOFTWARE
==
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fissix-20.5.1/PKG-INFO new/fissix-20.8.0/PKG-INFO
--- old/fissix-20.5.1/PKG-INFO 1970-01-01 01:00:00.0 +0100
+++ new/fissix-20.8.0/PKG-INFO 1970-01-01 01:00:00.0 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: fissix
-Version: 20.5.1
+Version: 20.8.0
Summary: Monkeypatches to override default behavior of lib2to3.
Home-page: https://github.com/jreese/fissix
Author: John Reese
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fissix-20.5.1/README.md new/fissix-20.8.0/README.md
--- old/fissix-20.5.1/README.md 2020-05-14 08:04:03.006849000 +0200
+++ new/fissix-20.8.0/README.md 2020-08-18 05:52:48.966111200 +0200
@@ -17,3 +17,9 @@
Because this is my personal repository, the license you receive to my code
is from me and not from my employer.
See the ``LICENSE`` file for details.
+
+Used by
+---
+
+* https://pypi.org/project/bowler/ Safe code refactoring for modern Python
projects
+* https://pypi.org/project/modernize/ A hack on top of fissix for modernizing
code for hybrid codebases.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fissix-20.5.1/fissix/__init__.py
new/fissix-20.8.0/fissix/__init__.py
--- old/fissix-20.5.1/fissix/__init__.py2020-05-14 12:14:10.565221000
+0200
+++ new/fissix-20.8.0/fissix/__init__.py2020-08-18 06:00:39.197056800
+0200
@@ -15,7 +15,7 @@
from .pgen2 import driver, grammar, pgen
-__version__ = "20.5.1"
+__version__ = "20.8.0"
__base_version__ = "3.9.0a6+"
__base_revision__ = "v3.9.0a5-508-g7443d42021"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fissix-20.5.1/fissix/fixer_util.py
new/fissix-20.8.0/fissix/fixer_util.py
--- old/fissix-20.5.1/fissix/fixer_util.py