Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pygal for openSUSE:Factory checked in at 2023-12-15 21:46:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygal (Old) and /work/SRC/openSUSE:Factory/.python-pygal.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygal" Fri Dec 15 21:46:06 2023 rev:11 rq:1133201 version:3.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygal/python-pygal.changes 2023-04-22 21:59:46.072968017 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygal.new.25432/python-pygal.changes 2023-12-15 21:46:08.159642821 +0100 @@ -1,0 +2,15 @@ +Thu Dec 14 21:24:19 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 3.0.4: + * Missing declaration of importlib_metadata dependency in setup.py + * Failure with tox due to missing README.md + * Misused entry_points causing failure with Python 3.12 + * Prevent installing with Python versions < 3.8 + * Replace unmaintained pytest-flake8 with plain flake8 + * Remove Iterable import deprecation warning + * Remove invalid escape sequence warnings in tests + * Fix test failures due to removed pytest attribute + * Fix linting errors with latest isort and flake8 +- use packaged COPYING + +------------------------------------------------------------------- Old: ---- COPYING pygal-3.0.0.tar.gz New: ---- pygal-3.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygal.spec ++++++ --- /var/tmp/diff_new_pack.dtdIwx/_old 2023-12-15 21:46:09.203680983 +0100 +++ /var/tmp/diff_new_pack.dtdIwx/_new 2023-12-15 21:46:09.203680983 +0100 @@ -16,25 +16,24 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%global skip_python2 1 %{?sle15_python_module_pythons} Name: python-pygal -Version: 3.0.0 +Version: 3.0.4 Release: 0 Summary: A python svg graph plotting library License: LGPL-3.0-or-later Group: Development/Languages/Python URL: http://pygal.org/ Source: https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version}.tar.gz -Source10: https://raw.githubusercontent.com/Kozea/pygal/%{version}/COPYING BuildRequires: %{python_module CairoSVG} BuildRequires: %{python_module Flask} +BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pyquery} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-importlib-metadata Requires: python-lxml Requires(post): update-alternatives Requires(postun):update-alternatives @@ -55,8 +54,6 @@ # not sure where to report sed -Ei 's:.pytest-runner.,?::' setup.py -cp %{SOURCE10} . - %build %python_build ++++++ pygal-3.0.0.tar.gz -> pygal-3.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/PKG-INFO new/pygal-3.0.4/PKG-INFO --- old/pygal-3.0.0/PKG-INFO 2021-11-24 22:09:38.822427000 +0100 +++ new/pygal-3.0.4/PKG-INFO 2023-11-21 16:33:36.094948500 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pygal -Version: 3.0.0 +Version: 3.0.4 Summary: A Python svg graph plotting library Home-page: https://www.pygal.org/ Author: Florian Mounier / Kozea @@ -16,11 +16,92 @@ Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Multimedia :: Graphics :: Presentation Provides: pygal +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst +License-File: COPYING +Requires-Dist: importlib-metadata Provides-Extra: lxml +Requires-Dist: lxml; extra == "lxml" Provides-Extra: docs +Requires-Dist: sphinx; extra == "docs" +Requires-Dist: sphinx_rtd_theme; extra == "docs" +Requires-Dist: pygal_sphinx_directives; extra == "docs" Provides-Extra: png +Requires-Dist: cairosvg; extra == "png" Provides-Extra: test -License-File: COPYING +Requires-Dist: pyquery; extra == "test" +Requires-Dist: flask; extra == "test" +Requires-Dist: cairosvg; extra == "test" +Requires-Dist: lxml; extra == "test" +Requires-Dist: pygal_maps_world; extra == "test" +Requires-Dist: pygal_maps_fr; extra == "test" +Requires-Dist: pygal_maps_ch; extra == "test" +Requires-Dist: coveralls; extra == "test" +Requires-Dist: flake8; extra == "test" +Requires-Dist: pytest-runner; extra == "test" +Requires-Dist: pytest-cov; extra == "test" +Requires-Dist: pytest-isort; extra == "test" +Requires-Dist: pytest; extra == "test" + +# Pygal + + +[![Build Status](https://travis-ci.org/Kozea/pygal.svg?branch=master)](https://travis-ci.org/Kozea/pygal) +[![Coverage Status](https://coveralls.io/repos/Kozea/pygal/badge.svg?branch=master&service=github)](https://coveralls.io/github/Kozea/pygal?branch=master) +[![Documentation Status](https://readthedocs.org/projects/pygal/badge/?version=latest)](https://readthedocs.org/projects/pygal/?badge=latest) + + +@@TOC@@ + +## Description + +**pygal** is a dynamic SVG charting library written in python. +All the documentation is on http://pygal.org + + +## Installation + +As simple as:: + + $ pip install pygal + + +## Test + +Pygal is tested with py.test:: + + + $ pip install pytest + $ py.test + + +## Contribute + +You are welcomed to fork the project and make pull requests. +Be sure to create a branch for each feature, write tests if needed and run the current tests ! + + +You can also support the project: + +[![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=paradoxxx_zero&url=https://github.com/Kozea/pygal&title=Pygal&tags=github&category=software) +[![gittip](http://i.imgur.com/IKcQB2P.png)](https://www.gittip.com/paradoxxxzero/) + + + +## License + +Copyright © 2012-2016 Kozea +LGPLv3: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. -UNKNOWN + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/README new/pygal-3.0.4/README --- old/pygal-3.0.0/README 2020-10-12 14:50:29.000000000 +0200 +++ new/pygal-3.0.4/README 2023-11-21 09:55:45.000000000 +0100 @@ -16,23 +16,18 @@ ## Installation -As simple as: +As simple as:: -``` $ pip install pygal -``` - ## Test -Pygal is tested with py.test: +Pygal is tested with py.test:: -``` $ pip install pytest $ py.test -``` ## Contribute diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/pygal/__about__.py new/pygal-3.0.4/pygal/__about__.py --- old/pygal-3.0.0/pygal/__about__.py 2021-11-24 21:42:08.000000000 +0100 +++ new/pygal-3.0.4/pygal/__about__.py 2023-11-21 16:32:14.000000000 +0100 @@ -1,5 +1,5 @@ __title__ = "pygal" -__version__ = "3.0.0" +__version__ = "3.0.4" __summary__ = "A Python svg graph plotting library" __uri__ = "https://www.pygal.org/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/pygal/__init__.py new/pygal-3.0.4/pygal/__init__.py --- old/pygal-3.0.0/pygal/__init__.py 2020-10-13 09:18:52.000000000 +0200 +++ new/pygal-3.0.4/pygal/__init__.py 2023-11-21 09:55:45.000000000 +0100 @@ -29,7 +29,7 @@ import traceback import warnings -import pkg_resources +from importlib_metadata import entry_points from pygal import maps from pygal.config import Config @@ -62,7 +62,7 @@ from pygal.graph.map import BaseMap -for entry in pkg_resources.iter_entry_points('pygal.maps'): +for entry in entry_points(group="pygal.maps"): try: module = entry.load() except Exception: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/pygal/test/test_maps.py new/pygal-3.0.4/pygal/test/test_maps.py --- old/pygal-3.0.0/pygal/test/test_maps.py 2020-10-12 14:50:29.000000000 +0200 +++ new/pygal-3.0.4/pygal/test/test_maps.py 2023-11-21 09:55:45.000000000 +0100 @@ -18,10 +18,10 @@ # along with pygal. If not, see <http://www.gnu.org/licenses/>. """Map plugins tests are imported here""" -import pkg_resources +from importlib_metadata import entry_points # Load plugins tests -for entry in pkg_resources.iter_entry_points('pygal.test.test_maps'): +for entry in entry_points(group="pygal.test.test_maps"): module = entry.load() for k, v in module.__dict__.items(): if k.startswith('test_'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/pygal.egg-info/PKG-INFO new/pygal-3.0.4/pygal.egg-info/PKG-INFO --- old/pygal-3.0.0/pygal.egg-info/PKG-INFO 2021-11-24 22:09:38.000000000 +0100 +++ new/pygal-3.0.4/pygal.egg-info/PKG-INFO 2023-11-21 16:33:36.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pygal -Version: 3.0.0 +Version: 3.0.4 Summary: A Python svg graph plotting library Home-page: https://www.pygal.org/ Author: Florian Mounier / Kozea @@ -16,11 +16,92 @@ Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Multimedia :: Graphics :: Presentation Provides: pygal +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst +License-File: COPYING +Requires-Dist: importlib-metadata Provides-Extra: lxml +Requires-Dist: lxml; extra == "lxml" Provides-Extra: docs +Requires-Dist: sphinx; extra == "docs" +Requires-Dist: sphinx_rtd_theme; extra == "docs" +Requires-Dist: pygal_sphinx_directives; extra == "docs" Provides-Extra: png +Requires-Dist: cairosvg; extra == "png" Provides-Extra: test -License-File: COPYING +Requires-Dist: pyquery; extra == "test" +Requires-Dist: flask; extra == "test" +Requires-Dist: cairosvg; extra == "test" +Requires-Dist: lxml; extra == "test" +Requires-Dist: pygal_maps_world; extra == "test" +Requires-Dist: pygal_maps_fr; extra == "test" +Requires-Dist: pygal_maps_ch; extra == "test" +Requires-Dist: coveralls; extra == "test" +Requires-Dist: flake8; extra == "test" +Requires-Dist: pytest-runner; extra == "test" +Requires-Dist: pytest-cov; extra == "test" +Requires-Dist: pytest-isort; extra == "test" +Requires-Dist: pytest; extra == "test" + +# Pygal + + +[![Build Status](https://travis-ci.org/Kozea/pygal.svg?branch=master)](https://travis-ci.org/Kozea/pygal) +[![Coverage Status](https://coveralls.io/repos/Kozea/pygal/badge.svg?branch=master&service=github)](https://coveralls.io/github/Kozea/pygal?branch=master) +[![Documentation Status](https://readthedocs.org/projects/pygal/badge/?version=latest)](https://readthedocs.org/projects/pygal/?badge=latest) + + +@@TOC@@ + +## Description + +**pygal** is a dynamic SVG charting library written in python. +All the documentation is on http://pygal.org + + +## Installation + +As simple as:: + + $ pip install pygal + + +## Test + +Pygal is tested with py.test:: + + + $ pip install pytest + $ py.test + + +## Contribute + +You are welcomed to fork the project and make pull requests. +Be sure to create a branch for each feature, write tests if needed and run the current tests ! + + +You can also support the project: + +[![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=paradoxxx_zero&url=https://github.com/Kozea/pygal&title=Pygal&tags=github&category=software) +[![gittip](http://i.imgur.com/IKcQB2P.png)](https://www.gittip.com/paradoxxxzero/) + + + +## License + +Copyright © 2012-2016 Kozea +LGPLv3: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. -UNKNOWN + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/pygal.egg-info/requires.txt new/pygal-3.0.4/pygal.egg-info/requires.txt --- old/pygal-3.0.0/pygal.egg-info/requires.txt 2021-11-24 22:09:38.000000000 +0100 +++ new/pygal-3.0.4/pygal.egg-info/requires.txt 2023-11-21 16:33:36.000000000 +0100 @@ -1,3 +1,4 @@ +importlib-metadata [docs] sphinx @@ -19,8 +20,8 @@ pygal_maps_fr pygal_maps_ch coveralls +flake8 pytest-runner pytest-cov -pytest-flake8 pytest-isort pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/setup.cfg new/pygal-3.0.4/setup.cfg --- old/pygal-3.0.0/setup.cfg 2021-11-24 22:09:38.822427000 +0100 +++ new/pygal-3.0.4/setup.cfg 2023-11-21 16:33:36.095948700 +0100 @@ -4,12 +4,10 @@ [pycodestyle] ignore = E731,E402,E741,W503 -[tool:pytest] -flake8-ignore = - *.py E731 E402 E741 W503 W504 - pygal/__init__.py F401 - pygal/_compat.py F821 F401 - docs/conf.py ALL +[flake8] +per-file-ignores = + *.py:E731 E741 + pygal/__init__.py:E402 F401 [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.0/setup.py new/pygal-3.0.4/setup.py --- old/pygal-3.0.0/setup.py 2020-10-14 16:00:24.000000000 +0200 +++ new/pygal-3.0.4/setup.py 2023-11-21 15:25:16.000000000 +0100 @@ -40,18 +40,11 @@ ROOT = os.path.dirname(__file__) -# Explicitly specify the encoding of pygal/__init__.py if we're on py3. -kwargs = {} -if sys.version_info[0] == 3: - kwargs['encoding'] = 'utf-8' - cairosvg = 'cairosvg' -else: - cairosvg = 'cairosvg==0.5' - tests_requirements = [ - "pyquery", "flask", cairosvg, 'lxml', 'pygal_maps_world', 'pygal_maps_fr', + "pyquery", "flask", 'cairosvg', 'lxml', 'pygal_maps_world', 'pygal_maps_fr', 'pygal_maps_ch', 'coveralls', - 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort', + 'flake8', + 'pytest-runner', 'pytest-cov', 'pytest-isort', 'pytest' ] @@ -64,23 +57,27 @@ name=about['__title__'], version=about['__version__'], description=about['__summary__'], + long_description=open('README').read(), + long_description_content_type="text/x-rst", url=about['__uri__'], author=about['__author__'], author_email=about['__email__'], license=about['__license__'], platforms="Any", + python_requires=">=3.8", packages=find_packages(), provides=['pygal'], scripts=["pygal_gen.py"], keywords=[ "svg", "chart", "graph", "diagram", "plot", "histogram", "kiviat"], setup_requires=['pytest-runner'], + install_requires=['importlib-metadata'], # TODO: remove this (see #545, #546) cmdclass={'test': PyTest}, package_data={'pygal': ['css/*', 'graph/maps/*.svg']}, extras_require={ 'lxml': ['lxml'], 'docs': ['sphinx', 'sphinx_rtd_theme', 'pygal_sphinx_directives'], - 'png': [cairosvg], + 'png': ['cairosvg'], 'test': tests_requirements }, classifiers=[