Hello community, here is the log from the commit of package python-jupyter_kernel_test for openSUSE:Factory checked in at 2020-12-17 17:06:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter_kernel_test (Old) and /work/SRC/openSUSE:Factory/.python-jupyter_kernel_test.new.5145 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_kernel_test" Thu Dec 17 17:06:02 2020 rev:4 rq:856666 version:0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter_kernel_test/python-jupyter_kernel_test.changes 2020-01-16 18:20:25.192946949 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyter_kernel_test.new.5145/python-jupyter_kernel_test.changes 2020-12-17 17:09:20.325972870 +0100 @@ -1,0 +2,10 @@ +Thu Dec 17 11:17:27 UTC 2020 - Benjamin Greiner <c...@bnavigator.de> + +- Provide the old jupyter package name only for the primary + Python3 interpreter -- gh#openSUSE/python-rpm-macros#66 +- Build wheel from source via flit +- Add jupyter_kernel_test-pr37-usejsonschema.patch to remove + dependency on nose gh#jupyter/jupyter_kernel_test#37 +- Run tests with ipykernel + +------------------------------------------------------------------- Old: ---- jupyter_kernel_test-0.3-py3-none-any.whl New: ---- jupyter_kernel_test-0.3.tar.gz jupyter_kernel_test-pr37-usejsonschema.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter_kernel_test.spec ++++++ --- /var/tmp/diff_new_pack.2saIj7/_old 2020-12-17 17:09:20.845973387 +0100 +++ /var/tmp/diff_new_pack.2saIj7/_new 2020-12-17 17:09:20.849973390 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jupyter_kernel_test # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,27 +18,33 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -%bcond_with test -Name: python-jupyter_kernel_test +%define mname jupyter_kernel_test +Name: python-%{mname} Version: 0.3 Release: 0 Summary: Machinery for testing Jupyter kernels via the messaging protocol License: BSD-3-Clause Group: Development/Languages/Python -URL: http://github.com/Calysto/octave_kernel -Source0: https://files.pythonhosted.org/packages/py3/j/jupyter_kernel_test/jupyter_kernel_test-%{version}-py3-none-any.whl +URL: https://github.com/jupyter/jupyter_kernel_test +Source: %{url}/archive/%{version}.tar.gz#/%{mname}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM gh#github.com/jupyter/jupyter_kernel_test#37 -- use jsonschema to validate messages, removes nose +Patch0: %{url}/pull/37.patch#/%{mname}-pr37-usejsonschema.patch +BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module jupyter_client} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pip} -BuildRequires: %{python_module traitlets} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-jupyter_client >= 4.3.0 -Requires: python-nose +BuildRequires: python3-flit +Requires: python-jsonschema +Requires: python-jupyter_client Requires: python-traitlets +Provides: python-jupyter-kernel-test = %{version}-%{release} BuildArch: noarch -%ifpython3 -Provides: jupyter-jupyter_kernel_test = %{version} +# SECTION test requirements +BuildRequires: %{python_module ipykernel} +# /SECTION +%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" +Provides: jupyter-jupyter_kernel_test = %{version}-%{release} %endif %python_subpackages @@ -49,24 +55,23 @@ (currently 5.0). %prep -%setup -q -T -c +%autosetup -p1 -n %{mname}-%{version} %build -# Not needed +python3 -m flit.tomlify +%pyproject_wheel %install -cp -a %{SOURCE0} . %pyproject_install -%python_expand cp %{buildroot}%{$python_sitelib}/jupyter_kernel_test-%{version}.dist-info/COPYING.md . -%if %{with test} %check -%python_exec test_octave_kernel.py -%endif +%pyunittest test_ipykernel.py -v +# test_irkernel.py: no jupyter R kernel package on openSUSE yet (R-IRkernel) %files %{python_files} %license COPYING.md -%{python_sitelib}/jupyter_kernel_test/ -%{python_sitelib}/jupyter_kernel_test-%{version}.dist-info +%doc README.rst +%{python_sitelib}/%{mname} +%{python_sitelib}/%{mname}-%{version}*-info %changelog ++++++ jupyter_kernel_test-pr37-usejsonschema.patch ++++++ ++++ 698 lines (skipped) _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org