Hello community,

here is the log from the commit of package python-radon for openSUSE:Factory 
checked in at 2019-02-27 17:28:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-radon (Old)
 and      /work/SRC/openSUSE:Factory/.python-radon.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-radon"

Wed Feb 27 17:28:03 2019 rev:4 rq:674885 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-radon/python-radon.changes        
2019-02-01 11:45:08.752570944 +0100
+++ /work/SRC/openSUSE:Factory/.python-radon.new.28833/python-radon.changes     
2019-02-27 17:28:03.695344175 +0100
@@ -1,0 +2,15 @@
+Thu Feb 14 04:42:27 UTC 2019 - John Vandenberg <[email protected]>
+
+- Fix tests which were erroring but the error was being ignored
+- Remove tests from the package
+- Use GitHub repository for the link, as it has links to other
+  resources
+- Update to v3.0.1
+  * Automatically exclude binary files, instead of producing an error
+- from 3.0.0
+  * Include files with no extension but a Python shebang
+  * Fix calculation of total complexity for classes
+  * Update Colorama dependency to avoid conflicts with pytest
+  * Fix raw metrics, which were completely broken
+
+-------------------------------------------------------------------

Old:
----
  radon-2.4.0.tar.gz

New:
----
  radon-3.0.1.tar.gz

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

Other differences:
------------------
++++++ python-radon.spec ++++++
--- /var/tmp/diff_new_pack.Dq33yR/_old  2019-02-27 17:28:04.467343899 +0100
+++ /var/tmp/diff_new_pack.Dq33yR/_new  2019-02-27 17:28:04.471343897 +0100
@@ -18,30 +18,29 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-radon
-Version:        2.4.0
+Version:        3.0.1
 Release:        0
 Summary:        Code Metrics in Python
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://radon.readthedocs.org/
+URL:            https://github.com/rubik/radon
 Source:         
https://files.pythonhosted.org/packages/source/r/radon/radon-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-colorama >= 0.4
+Requires:       python-flake8-polyfill
+Requires:       python-mando >= 0.6
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module colorama >= 0.3}
+BuildRequires:  %{python_module colorama >= 0.4}
 BuildRequires:  %{python_module flake8-polyfill}
 BuildRequires:  %{python_module mando >= 0.6}
 BuildRequires:  %{python_module pytest >= 2.7}
 BuildRequires:  %{python_module pytest-mock}
 # /SECTION
-Requires:       python-colorama >= 0.3
-Requires:       python-flake8-polyfill
-Requires:       python-mando >= 0.6
-BuildArch:      noarch
-Requires(post):   update-alternatives
-Requires(postun):  update-alternatives
-
 %python_subpackages
 
 %description
@@ -58,6 +57,7 @@
 
 %build
 %python_build
+rm -r */lib/radon/tests
 
 %install
 %python_install
@@ -66,7 +66,7 @@
 %python_clone -a %{buildroot}%{_bindir}/radon
 
 %check
-%python_exec radon/tests/run.py
+%python_exec -m pytest --strict
 
 %post
 %python_install_alternative radon

++++++ radon-2.4.0.tar.gz -> radon-3.0.1.tar.gz ++++++
++++ 28517 lines of diff (skipped)


Reply via email to