From 67f84ea697d4053eafdb9483e7ef351008d01fcb4a6ef7e12fc626ff1281792b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 30 May 2022 22:31:15 +0000 Subject: [PATCH] - Update 0.5.8: - add support for Python 3.10 collections.abc.Iterable - fix test_show - fix failing test - update mplexporter - remove unnecessary imports - Change to new dev version - Update RELEASING.md - Removed upstreamed patch remove-nose.patch, because removal of nose was done. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpld3?expand=0&rev=6 --- mpld3-0.5.7.tar.gz | 3 --- mpld3-0.5.8.tar.gz | 3 +++ python-mpld3.changes | 14 ++++++++++++++ python-mpld3.spec | 5 +---- remove-nose.patch | 39 --------------------------------------- 5 files changed, 18 insertions(+), 46 deletions(-) delete mode 100644 mpld3-0.5.7.tar.gz create mode 100644 mpld3-0.5.8.tar.gz delete mode 100644 remove-nose.patch diff --git a/mpld3-0.5.7.tar.gz b/mpld3-0.5.7.tar.gz deleted file mode 100644 index a44f54a..0000000 --- a/mpld3-0.5.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c589db8b661aee25c93e198e2e18ed47b9a96951de41d96241345acec5f819ab -size 2325789 diff --git a/mpld3-0.5.8.tar.gz b/mpld3-0.5.8.tar.gz new file mode 100644 index 0000000..2e4dea5 --- /dev/null +++ b/mpld3-0.5.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a167dbef836dd7c66d8aa71c06a32d50bffa18725f304d93cb74fdb3545043b +size 2326011 diff --git a/python-mpld3.changes b/python-mpld3.changes index cdd6b50..a212ac2 100644 --- a/python-mpld3.changes +++ b/python-mpld3.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 30 22:22:31 UTC 2022 - Matej Cepl + +- Update 0.5.8: + - add support for Python 3.10 collections.abc.Iterable + - fix test_show + - fix failing test + - update mplexporter + - remove unnecessary imports + - Change to new dev version + - Update RELEASING.md +- Removed upstreamed patch remove-nose.patch, because removal of + nose was done. + ------------------------------------------------------------------- Mon Feb 7 01:54:44 UTC 2022 - Matej Cepl diff --git a/python-mpld3.spec b/python-mpld3.spec index 287bf86..0a1067d 100644 --- a/python-mpld3.spec +++ b/python-mpld3.spec @@ -22,7 +22,7 @@ # Tests are not designed to be non-interactively run, see README.md %bcond_without test Name: python-mpld3 -Version: 0.5.7 +Version: 0.5.8 Release: 0 Summary: D3 Viewer for Matplotlib License: BSD-3-Clause @@ -31,9 +31,6 @@ URL: https://mpld3.github.com Source0: https://files.pythonhosted.org/packages/source/m/mpld3/%{modname}-%{version}.tar.gz # Originally from https://raw.githubusercontent.com/mpld3/mpld3/master/visualize_tests.py Source1: visualize_tests.py -# PATCH-FIX-UPSTREAM remove-nose.patch gh#mpld3/mpld3#505 mcepl@suse.com -# there are just few SkipTests which need to be imported from stdlib -Patch0: remove-nose.patch BuildRequires: %{python_module Jinja2 >= 2.7} BuildRequires: %{python_module matplotlib >= 2.2} BuildRequires: %{python_module pandas} diff --git a/remove-nose.patch b/remove-nose.patch deleted file mode 100644 index 6932635..0000000 --- a/remove-nose.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- - mpld3/mplexporter/tests/test_basic.py | 2 +- - mpld3/test_plots/test_pandas_timeaxis.py | 2 +- - mpld3/tests/test_d3_snapshots.py | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - ---- a/mpld3/mplexporter/tests/test_basic.py -+++ b/mpld3/mplexporter/tests/test_basic.py -@@ -1,7 +1,7 @@ - import matplotlib - import numpy as np - from distutils.version import LooseVersion --from nose.plugins.skip import SkipTest -+from unittest import SkipTest - from numpy.testing import assert_warns - - from ..exporter import Exporter ---- a/mpld3/test_plots/test_pandas_timeaxis.py -+++ b/mpld3/test_plots/test_pandas_timeaxis.py -@@ -7,7 +7,7 @@ def create_plot(): - try: - import pandas as pd - except Exception: -- from nose import SkipTest -+ from unittest import SkipTest - raise SkipTest("pandas not installed") - df2_index = pd.date_range(start="2010-01-01", periods=100, freq='D') - df2 = pd.DataFrame({'a': range(100)}, index=df2_index) ---- a/mpld3/tests/test_d3_snapshots.py -+++ b/mpld3/tests/test_d3_snapshots.py -@@ -4,7 +4,7 @@ import glob - import matplotlib - from . import export - --from nose.plugins.skip import SkipTest -+from unittest import SkipTest - matplotlib.use('Agg') - - TEST_PLOT_FILES = os.path.join(mpld3.BASE_PATH, 'mpld3/test_plots/*.py')