diff --git a/chartify-3.0.3.tar.gz b/chartify-3.0.3.tar.gz deleted file mode 100644 index 2b8152a..0000000 --- a/chartify-3.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d50ae772a4f78a45b3ed912ed64d8c6fe8fd19afae0f214c4d994ebd3944c0e5 -size 4019384 diff --git a/chartify-3.0.4.tar.gz b/chartify-3.0.4.tar.gz new file mode 100644 index 0000000..571bf1f --- /dev/null +++ b/chartify-3.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5289bd942df2e0599866431ef7d8bdfd2a69dbc47560d8585828d0e5468470dd +size 4020253 diff --git a/python-chartify.changes b/python-chartify.changes index 7c89f9a..7807fdc 100644 --- a/python-chartify.changes +++ b/python-chartify.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Nov 22 17:20:53 UTC 2022 - Ben Greiner + +- Update to 3.0.4 + * This update is a maintanaince release with no new features and + mainly behind the scenes updates + * Limit versions of bokeh, Jinja, and importlib-metadata to fix + build error. This is only necessary for python 3.6 it seems. + * Updated required versions of pytest and coverage + * Update setup.py (#135) + * Update options.py (#133) + * Change ChromeDriver link to avoid deprecated site (#134) + * Added test case and fix from PR #127 + * Eliminate a number of deprecation warnings +- Use python dependency generator + * Adjust requirements.txt accordingly, unpin where needed + ------------------------------------------------------------------- Fri Feb 12 15:46:27 UTC 2021 - Ben Greiner diff --git a/python-chartify.spec b/python-chartify.spec index 9fe8b11..6203656 100644 --- a/python-chartify.spec +++ b/python-chartify.spec @@ -1,7 +1,7 @@ # # spec file for package python-chartify # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -# NEP29: TW does not have python36-scipy anymore -%define skip_python36 1 Name: python-chartify -Version: 3.0.3 +Version: 3.0.4 Release: 0 Summary: Python library for plotting charts License: Apache-2.0 @@ -30,25 +27,20 @@ Source: https://github.com/spotify/chartify/archive/%{version}.tar.gz#/c BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Pillow >= 6.2.0 -Requires: python-bokeh >= 2.0.0 -Requires: python-ipykernel >= 5.0 -Requires: python-ipython >= 7.0 -Requires: python-pandas >= 1.0.0 -Requires: python-scipy >= 1.0.0 -# ignoring https://github.com/SeleniumHQ/selenium/issues/5296 -Requires: python-selenium >= 3.7.0 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Pillow >= 6.2.0} -BuildRequires: %{python_module bokeh >= 2.0.0} +BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module Pillow >= 8.4.0} +BuildRequires: %{python_module bokeh >= 2.0.0 with %python-bokeh < 2.5} BuildRequires: %{python_module ipykernel >= 5.0} BuildRequires: %{python_module ipython >= 7.0} -BuildRequires: %{python_module pandas >= 1.0.0} +BuildRequires: %{python_module pandas >= 1.0.0 with %python-pandas < 2} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module scipy >= 1.0.0} +BuildRequires: %{python_module scipy >= 1.0.0 with %python-scipy < 2} +# ignoring https://github.com/SeleniumHQ/selenium/issues/5296 BuildRequires: %{python_module selenium >= 3.7.0} # /SECTION +%{?python_enable_dependency_generator} %python_subpackages %description @@ -57,6 +49,16 @@ Chartify is a Python library for creating charts. %prep %setup -q -n chartify-%{version} rm tox.ini +# raise bokeh upper limit, +# unpin selenium (see comment above) +# unpin Jinja2 (see release notes), but keep a pinning char for the check in setup.py +# pandas: https://github.com/spotify/chartify/pull/143 +sed -i \ + -e '/bokeh/ s/,<2.3.0/,<2.5/' \ + -e '/selenium/ s/,<=3.8.0//' \ + -e '/Jinja2/ s/<3.1.0/>1/' \ + -e '/pandas/ s/0<2.0.0/0,<2.0.0/' \ + requirements.txt %build %python_build @@ -71,6 +73,7 @@ rm tox.ini %files %{python_files} %doc AUTHORS.rst README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/chartify +%{python_sitelib}/chartify-%{version}*-info %changelog