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 2023-04-12 12:52:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-intake (Old) and /work/SRC/openSUSE:Factory/.python-intake.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-intake" Wed Apr 12 12:52:06 2023 rev:11 rq:1078543 version:0.6.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-intake/python-intake.changes 2022-11-25 13:11:41.719859520 +0100 +++ /work/SRC/openSUSE:Factory/.python-intake.new.19717/python-intake.changes 2023-04-12 12:52:07.377115224 +0200 @@ -1,0 +2,18 @@ +Wed Apr 12 01:28:35 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 0.6.8: + * user parameter parsed as string before conversion to given type + * numpy source becomes first to have read() path avoid dask + * when registering drivers dynamically, corresponding open_* functions will + be created automatically (plus refactor/cleanup of the discovery code) + * catalog .gui attribute will make top-level GUI instance instead of cut + down one-catalog version + * server fix for upstream dask change giving newlined in report + * editable plots, based on hvPlot's "explorer" + * remove "text" input to YAMLFileCatalog + * GUI bug fixes + * allow catalog TTL as None +- Add patch use-sys-executable.patch: + * Use sys.executable, rather than hardcoding python. + +------------------------------------------------------------------- Old: ---- intake-0.6.6-gh.tar.gz New: ---- intake-0.6.8-gh.tar.gz use-sys-executable.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-intake.spec ++++++ --- /var/tmp/diff_new_pack.I76vt9/_old 2023-04-12 12:52:08.089119385 +0200 +++ /var/tmp/diff_new_pack.I76vt9/_new 2023-04-12 12:52:08.093119408 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-intake # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,14 @@ Name: python-intake -Version: 0.6.6 +Version: 0.6.8 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-UPSTREAM gh#intake/intake#728 +Patch0: use-sys-executable.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++++++ intake-0.6.6-gh.tar.gz -> intake-0.6.8-gh.tar.gz ++++++ ++++ 19435 lines of diff (skipped) ++++++ use-sys-executable.patch ++++++ >From 9f1bc05396fe8fc148265cb55261bad57e149795 Mon Sep 17 00:00:00 2001 From: Steve Kowalik <ste...@wedontsleep.org> Date: Wed, 12 Apr 2023 11:14:31 +1000 Subject: [PATCH] Use sys.executable when starting http server To avoid calling python directly, which may be Python 2 in some environments, use sys.executable, which returns the path of the current interpreter when starting the test http server. --- intake/conftest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/intake/conftest.py b/intake/conftest.py index db04fa61c..13bafddb2 100644 --- a/intake/conftest.py +++ b/intake/conftest.py @@ -8,6 +8,7 @@ import os import posixpath import subprocess +import sys import tempfile import time @@ -142,9 +143,9 @@ def intake_server(request): def http_server(): port_as_str = str(pick_port()) if PY2: - cmd = ["python", "-m", "SimpleHTTPServer", port_as_str] + cmd = [sys.executable, "-m", "SimpleHTTPServer", port_as_str] else: - cmd = ["python", "-m", "http.server", port_as_str] + cmd = [sys.executable, "-m", "http.server", port_as_str] p = subprocess.Popen(cmd, cwd=os.path.join(here, "catalog", "tests")) url = "http://localhost:{}/".format(port_as_str) timeout = 5