Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-intake for openSUSE:Factory checked in at 2024-03-13 22:17:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-intake (Old) and /work/SRC/openSUSE:Factory/.python-intake.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-intake" Wed Mar 13 22:17:55 2024 rev:14 rq:1157617 version:2.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-intake/python-intake.changes 2024-01-16 21:39:09.931056839 +0100 +++ /work/SRC/openSUSE:Factory/.python-intake.new.1770/python-intake.changes 2024-03-13 22:18:46.720713801 +0100 @@ -1,0 +2,33 @@ +Wed Mar 13 13:29:44 UTC 2024 - Matej Cepl <mc...@cepl.eu> + +- Don't try to build with Python 3.9 + +------------------------------------------------------------------- +Sun Mar 10 16:09:44 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Update to 2.0.3 + * Complete rewrite of the package + * We are making Take2 as a full release. It is still âbetaâ in + the sense that we will be adding many data types, readers and + transformers, and are prepared to revisit the API in general. + The reason not to use a pre-release or RC, is that users never + see these. + ## Relationship to V1 + * We aim to be largely backward compatible with pre-V2 Intake + sources and catalogs. Many data sources have been rewritten to + use the new framework, and many rarely-used features have been + removed. In particular, the following features are no longer + supported for V1 sources: + - the intake server (use tiled instead) + - caching (use fsspec caching instead or custom caching + pipelines) + - âpersistâ and âexportâ (use the new converters and output + classes) + - automatic hvplot (this is now an âoutputâ converter for + pandas and xarray types) + - some niche source features such as CSV file pattern matching + * In addition, not all existing intake_* packages have + corresponding readers in Take2, but we are making progress. +- Drop fix-tests.patch + +------------------------------------------------------------------- Old: ---- fix-tests.patch intake-0.7.0-gh.tar.gz New: ---- _multibuild intake-2.0.3-gh.tar.gz BETA DEBUG BEGIN: Old: corresponding readers in Take2, but we are making progress. - Drop fix-tests.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-intake.spec ++++++ --- /var/tmp/diff_new_pack.4XRUvY/_old 2024-03-13 22:18:48.768789301 +0100 +++ /var/tmp/diff_new_pack.4XRUvY/_new 2024-03-13 22:18:48.784789891 +0100 @@ -16,115 +16,94 @@ # -Name: python-intake -Version: 0.7.0 +%define skip_python39 1 + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%define skip_python39 1 +%else +%define psuffix %{nil} +%bcond_with test +%endif + +Name: python-intake%{psuffix} +Version: 2.0.3 Release: 0 Summary: Data loading and cataloging system License: BSD-2-Clause URL: https://github.com/intake/intake Source: https://github.com/intake/intake/archive/refs/tags/%{version}.tar.gz#/intake-%{version}-gh.tar.gz -# PATCH-FIX-OPENSUSE fix-tests.patch -Patch1: fix-tests.patch -BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 64} +BuildRequires: %{python_module setuptools_scm >= 8} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Jinja2 Requires: python-PyYAML Requires: python-appdirs -Requires: python-dask -Requires: python-entrypoints -Requires: python-fsspec >= 2021.7.0 -Requires: python-msgpack -Requires: python-requests -Recommends: python-bokeh -Recommends: python-dask-dataframe -Recommends: python-hvplot -Recommends: python-msgpack-numpy -Recommends: python-panel >= 0.8.0 -Recommends: python-pyarrow -Recommends: python-python-snappy -Recommends: python-tornado -Suggests: python-intake-parquet -Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires: python-fsspec >= 2023 BuildArch: noarch -# SECTION test requirements +%if %{with test} +BuildRequires: %{python_module Flask} BuildRequires: %{python_module Jinja2} -BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module aiohttp} -BuildRequires: %{python_module appdirs} -BuildRequires: %{python_module bokeh} -BuildRequires: %{python_module dask-dataframe} -BuildRequires: %{python_module dask} -BuildRequires: %{python_module entrypoints} -BuildRequires: %{python_module fsspec >= 2021.7.0} -BuildRequires: %{python_module hvplot >= 0.5.2} -BuildRequires: %{python_module msgpack} +BuildRequires: %{python_module dask-all} +BuildRequires: %{python_module hvplot} +BuildRequires: %{python_module intake = %{version}} # strictly a test req, but not a runtime requirement, not available in openSUSE #BuildRequires: %%{python_module intake-parquet} BuildRequires: %{python_module msgpack-numpy} BuildRequires: %{python_module notebook} -BuildRequires: %{python_module panel >= 0.8.0} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module panel} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module python-snappy} BuildRequires: %{python_module requests} -BuildRequires: %{python_module tornado} +BuildRequires: %{python_module xarray} BuildRequires: %{python_module zarr} -# /SECTION +%endif %python_subpackages %description -A plugin system for loading your data and making data catalogs. +A python package for describing, loading and processing data + +Intake is an open-source package to: + * describe your data declaratively + * gather data sets into catalogs + * search catalogs and services to find the right data you need + * load, transform and output data in many formats + * work with third party remote storage and compute platforms %prep %autosetup -p1 -n intake-%{version} -find intake -path '*/tests/*.py' -exec sed -i '1{/env python/d}' {} ';' %build -%python_build +%if !%{with test} +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} +%pyproject_wheel +%endif %install -%python_install -%python_clone -a %{buildroot}%{_bindir}/intake -%python_clone -a %{buildroot}%{_bindir}/intake-server +%if !%{with test} +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_expand chmod a-x %{buildroot}%{$python_sitelib}/intake-%{version}*-info/* +%endif +%if %{with test} %check -# Looks for `which python`, which we don't have in TW -donttest+=" or test_which" -# test_discover_cli overrides the PYTHONPATH and thus doesn't find the package in buildroot -# test_discover does not find its own config because the registration does not work in our test env -donttest+=" or test_discover" -if [ $(getconf LONG_BIT) -eq 32 ]; then - # the test looks for the wrong dtype on 32-bit (int64 vs int) - donttest+=" or test_zarr_minimal" -fi -# skip tests expecting the unavailable intake-parquet driver (configured in intake/tests/catalog_inherit_params.yml) -donttest+=" or test_inherit_params" -donttest+=" or test_runtime_overwrite_params" -donttest+=" or test_local_param_overwrites" -donttest+=" or test_local_and_global_params" -donttest+=" or test_search_inherit_params" -donttest+=" or test_multiple_cats_params" -# wrong exception class -donttest+=" or test_mlist_parameter" -%pytest -x -ra -k "not (${donttest:4})" - -%post -%python_install_alternative intake -%python_install_alternative intake-server - -%postun -%python_uninstall_alternative intake -%python_uninstall_alternative intake-server +# upstream currently only tests the readers subdir. The rest seems to still expect v1 +# See .github/workflows/main.yaml +%pytest -rsfE intake/readers +%endif +%if !%{with test} %files %{python_files} %doc README.md %license LICENSE -%python_alternative %{_bindir}/intake-server -%python_alternative %{_bindir}/intake %{python_sitelib}/intake -%{python_sitelib}/intake-%{version}*-info +%{python_sitelib}/intake-%{version}.dist-info +%endif ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ intake-0.7.0-gh.tar.gz -> intake-2.0.3-gh.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-intake/intake-0.7.0-gh.tar.gz /work/SRC/openSUSE:Factory/.python-intake.new.1770/intake-2.0.3-gh.tar.gz differ: char 12, line 1