Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-altair for openSUSE:Factory checked in at 2023-09-13 20:45:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-altair (Old) and /work/SRC/openSUSE:Factory/.python-altair.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-altair" Wed Sep 13 20:45:29 2023 rev:13 rq:1110808 version:5.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-altair/python-altair.changes 2023-01-28 19:00:18.419716077 +0100 +++ /work/SRC/openSUSE:Factory/.python-altair.new.1766/python-altair.changes 2023-09-13 20:47:39.100681291 +0200 @@ -1,0 +2,40 @@ +Wed Sep 13 06:39:45 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 5.1.1: + * infer dtype pandas fallback + * The chart.transformed_data() method was added to extract transformed + chart data + * Introduction of a new data transformer named vegafusion + * A JupyterChart class was added to support accessing params and + selections from Python + * Support for field encoding inference for objects that support the + DataFrame Interchange Protocol + * Add support for new referencing logic in version 4.18 of jsonschema + * A new transform method transform_extent is available + * Drop support for Python 3.7 which is end-of-life + * Hard dependencies: Increase minimum required pandas version to 0.25 + * TitleParam to Title in example gallery and sync scatterplot table + * Fix bug in reconstructing layered charts with from_json/from_dict + * Remove extra files in site-packages from wheel + * Introduction of parameters. There are two types of parameters, selection + parameters and variable parameters. Variable parameters are new to + Altair, and while selections are not new, much of the old terminology + has been deprecated. + * Grouped bar charts and jitter are now supported using offset channels + * vl-convert is now used as the default backend for saving Altair charts as + svg and png files + * Saving charts with HTML inline is now supported without having + altair_saver installed. + * Ordered pandas categorical data are now automatically encoded as sorted + ordinal data. + * The Title and Impute aliases were added for TitleParams and ImputeParams + * More informative autocompletion by removing deprecated methods and for + * Substantially improved error handling. Both in terms of finding the more + relevant error, and in terms of improving the formatting and clarity of + the error messages. + * Support data type inference for columns with special characters. + * Responsive width support using width="container" when saving charts to + html or displaying them with the default html renderer. +- Switch to pyproject macros. + +------------------------------------------------------------------- Old: ---- altair-4.2.2.tar.gz New: ---- altair-5.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-altair.spec ++++++ --- /var/tmp/diff_new_pack.jYYf5t/_old 2023-09-13 20:47:40.100716966 +0200 +++ /var/tmp/diff_new_pack.jYYf5t/_new 2023-09-13 20:47:40.104717109 +0200 @@ -16,39 +16,41 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-altair -Version: 4.2.2 +Version: 5.1.1 Release: 0 Summary: Declarative statistical visualization library for Python License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/altair-viz/altair -Source: https://files.pythonhosted.org/packages/source/a/altair/altair-%{version}.tar.gz +Source: https://github.com/altair-viz/altair/archive/refs/tags/v%{version}.tar.gz#/altair-%{version}.tar.gz BuildRequires: %{python_module Jinja2} -BuildRequires: %{python_module entrypoints} +BuildRequires: %{python_module anywidget} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module black} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module jupyter_ipython} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pip} +##BuildRequires: %%{python_module vl-convert-python} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module toolz} -BuildRequires: %{python_module typing} +BuildRequires: %{python_module typing-extensions} BuildRequires: %{python_module vega_datasets} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Jinja2 -Requires: python-entrypoints Requires: python-jsonschema Requires: python-numpy +Requires: python-packaging Requires: python-pandas Requires: python-toolz -Requires: python-typing +Requires: python-typing-extensions Recommends: python-jupyter_ipython +Recommends: python-pyarrow Recommends: python-vega_datasets +##Recommends: python-vl-convert-python BuildArch: noarch %python_subpackages @@ -63,19 +65,20 @@ %setup -q -n altair-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # disable tests that require network -%pytest altair -k 'not test_examples' +# vega requires vl-convert-python, not packaged +%pytest -k 'not (test_examples or test_vegalite_compiler or with_format_vega)' %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/altair/ -%{python_sitelib}/altair-%{version}*-info/ +%{python_sitelib}/altair-%{version}.dist-info/ ++++++ altair-4.2.2.tar.gz -> altair-5.1.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-altair/altair-4.2.2.tar.gz /work/SRC/openSUSE:Factory/.python-altair.new.1766/altair-5.1.1.tar.gz differ: char 4, line 1