commit python-papermill for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-papermill for openSUSE:Factory checked in at 2022-02-28 19:43:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-papermill (Old) and /work/SRC/openSUSE:Factory/.python-papermill.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-papermill" Mon Feb 28 19:43:42 2022 rev:7 rq:957990 version:2.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-papermill/python-papermill.changes 2021-09-23 23:03:58.612319590 +0200 +++ /work/SRC/openSUSE:Factory/.python-papermill.new.1958/python-papermill.changes 2022-02-28 19:44:10.317954853 +0100 @@ -1,0 +2,18 @@ +Mon Feb 28 07:47:37 UTC 2022 - Ben Greiner <code@bnavigator.de> + +- Update to v0.3.4 + * Add read handler for GitHub notebooks PR #622 + * Add cell description to tqdm PR #565 + * Update builds for python 3.9 and 3.10 + * Update file read to not fail early with boto empty file + exception PR #614 + * Support new version of gcsfs PR #624 + * Fix an issue where the PapermillExecutionError can be pickled + but will not be unpicklable PR #629 + * Update documentation build and theme + * Remove deprecated pyarrow.hdfs.connect call from iorw.py + * Remove support for python 3.5 +- Drop papermill-pr624-gcsfs.patch merged upstream +- Add papermill-fix-test.patch + +------------------------------------------------------------------- Old: ---- papermill-2.3.3.tar.gz papermill-pr624-gcsfs.patch New: ---- papermill-2.3.4.tar.gz papermill-fix-test.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-papermill.spec ++++++ --- /var/tmp/diff_new_pack.lfbpF5/_old 2022-02-28 19:44:11.097955145 +0100 +++ /var/tmp/diff_new_pack.lfbpF5/_new 2022-02-28 19:44:11.113955151 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-papermill # -# 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 @@ -18,29 +18,24 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 Name: python-papermill -Version: 2.3.3 +Version: 2.3.4 Release: 0 Summary: Tool to parametrize and run Jupyter and nteract Notebooks License: BSD-3-Clause URL: https://github.com/nteract/papermill Source: https://files.pythonhosted.org/packages/source/p/papermill/papermill-%{version}.tar.gz -# PATCH-FIX-UPSTREAM papermill-pr624-gcsfs.patch -- gh#nteract/papermill#624 -Patch1: https://github.com/nteract/papermill/pull/624.diff#/papermill-pr624-gcsfs.pa... +# PATCH-FIX-UPSTREAM papermill-fix-test.patch -- used missing attribute +Patch1: https://github.com/nteract/papermill/commit/35a1b6a8a47a4e0dee2612294d467de2... BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML Requires: python-ansiwrap -Requires: python-black Requires: python-click Requires: python-entrypoints -Requires: python-ipython >= 5.0 Requires: python-nbclient >= 0.2.0 -Requires: python-nbconvert >= 5.5 Requires: python-nbformat >= 5.1.2 -Requires: python-pandas Requires: python-requests >= 2.21.0 Requires: python-tenacity Requires: python-tqdm >= 4.32.2 @@ -57,7 +52,6 @@ BuildRequires: %{python_module ansiwrap} BuildRequires: %{python_module azure-datalake-store} BuildRequires: %{python_module azure-storage-blob} -BuildRequires: %{python_module black} BuildRequires: %{python_module boto3} BuildRequires: %{python_module click} BuildRequires: %{python_module entrypoints} @@ -67,9 +61,11 @@ BuildRequires: %{python_module mock} BuildRequires: %{python_module moto} BuildRequires: %{python_module nbclient >= 0.2.0} -BuildRequires: %{python_module nbconvert >= 5.5} BuildRequires: %{python_module nbformat >= 5.1.2} +BuildRequires: %{python_module notebook} BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pytest-env} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.21.0} BuildRequires: %{python_module tenacity} @@ -93,7 +89,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -x +# TestBrokenNotebook2: different output type expected +%pytest -k "not TestBrokenNotebook2" %post %python_install_alternative papermill ++++++ papermill-2.3.3.tar.gz -> papermill-2.3.4.tar.gz ++++++ ++++ 1959 lines of diff (skipped) ++++++ papermill-fix-test.patch ++++++ From 35a1b6a8a47a4e0dee2612294d467de2dc4d60c6 Mon Sep 17 00:00:00 2001 From: Matthew Seal <mseal007@gmail.com> Date: Sat, 22 Jan 2022 15:32:31 -0800 Subject: [PATCH] Fixed linting / test issue --- papermill/tests/test_engines.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/papermill/tests/test_engines.py b/papermill/tests/test_engines.py index f0f2eaeb..27a2f34a 100644 --- a/papermill/tests/test_engines.py +++ b/papermill/tests/test_engines.py @@ -81,15 +81,16 @@ def test_save_new_nb(self): nb_man = NotebookExecutionManager(self.nb) nb_man.save(nb=self.foo_nb) self.assertEqual(nb_man.nb.metadata['foo'], 'bar') - + def test_get_cell_description(self): nb_man = NotebookExecutionManager(self.nb) self.assertIsNone(nb_man.get_cell_description(nb_man.nb.cells[0])) self.assertEqual(nb_man.get_cell_description(nb_man.nb.cells[1]), 'DESC') - + def test_notebook_start(self): nb_man = NotebookExecutionManager(self.nb) - nb_man.nb_path.metadata['foo'] = 'bar' + nb_man.nb.metadata['foo'] = 'bar' + nb_man.save = Mock() nb_man.notebook_start() self.assertEqual(nb_man.nb.metadata.papermill['start_time'], nb_man.start_time.isoformat())
participants (1)
-
Source-Sync