Accepting request 984609 from devel:languages:python:jupyter

- Update requirements and test suite setup

- specfile:
  * update requirements
  * switch to pyproject.toml build
- update to version 6.15.0:
  * Bugs fixed
    + Fix compatibility with tornado 6.2 beta #956 (@minrk)
  * Maintenance and upkeep improvements
    + Back to top-level tornado IOLoop #958 (@minrk)
    + Explicitly require pyzmq >= 17 #957 (@minrk)
    + [pre-commit.ci] pre-commit autoupdate #954 (@pre-commit-ci)
- changes from version 6.14.0:
  * Enhancements made
    + Add cpu_count to the usage_reply #952 (@echarles)
  * Bugs fixed
    + use pss memory info type if available for the resource usage
      reply #948 (@echarles)
    + Ensure psutil for the process is accurate #937 (@echarles)
  * Maintenance and upkeep improvements
    + Fix sphinx 5.0 support #951 (@blink1073)
    + [pre-commit.ci] pre-commit autoupdate #950 (@pre-commit-ci)
- changes from version 6.13.1:
  * Bugs fixed
    + Fix richInspectVariables #943 (@davidbrochart)
    + Force debugger metadata in built wheel #941 (@blink1073)
  * Maintenance and upkeep improvements
    + [pre-commit.ci] pre-commit autoupdate #945 (@pre-commit-ci)
    + Clean up typings #939 (@blink1073)
    + [pre-commit.ci] pre-commit autoupdate #938 (@pre-commit-ci) (forwarded request 984608 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/984609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipykernel?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2022-06-24 06:45:00 +00:00 committed by Git OBS Bridge
commit f26bd9e46b
4 changed files with 140 additions and 32 deletions

3
ipykernel-6.15.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b59f9d9672c3a483494bb75915a2b315e78b833a38b039b1ee36dc28683f0d89
size 134691

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c3cc8cb359f2ead70c30f5504971c0d285e2c1c699d2ce9af0216fe9c9fb17c
size 128759

View File

@ -1,3 +1,100 @@
-------------------------------------------------------------------
Wed Jun 22 21:40:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update requirements and test suite setup
-------------------------------------------------------------------
Wed Jun 22 13:38:36 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* update requirements
* switch to pyproject.toml build
- update to version 6.15.0:
* Bugs fixed
+ Fix compatibility with tornado 6.2 beta #956 (@minrk)
* Maintenance and upkeep improvements
+ Back to top-level tornado IOLoop #958 (@minrk)
+ Explicitly require pyzmq >= 17 #957 (@minrk)
+ [pre-commit.ci] pre-commit autoupdate #954 (@pre-commit-ci)
- changes from version 6.14.0:
* Enhancements made
+ Add cpu_count to the usage_reply #952 (@echarles)
* Bugs fixed
+ use pss memory info type if available for the resource usage
reply #948 (@echarles)
+ Ensure psutil for the process is accurate #937 (@echarles)
* Maintenance and upkeep improvements
+ Fix sphinx 5.0 support #951 (@blink1073)
+ [pre-commit.ci] pre-commit autoupdate #950 (@pre-commit-ci)
- changes from version 6.13.1:
* Bugs fixed
+ Fix richInspectVariables #943 (@davidbrochart)
+ Force debugger metadata in built wheel #941 (@blink1073)
* Maintenance and upkeep improvements
+ [pre-commit.ci] pre-commit autoupdate #945 (@pre-commit-ci)
+ Clean up typings #939 (@blink1073)
+ [pre-commit.ci] pre-commit autoupdate #938 (@pre-commit-ci)
+ Clean up types #933 (@blink1073)
+ [pre-commit.ci] pre-commit autoupdate #932 (@pre-commit-ci)
+ Switch to hatch backend #931 (@blink1073)
+ [pre-commit.ci] pre-commit autoupdate #928 (@pre-commit-ci)
+ [pre-commit.ci] pre-commit autoupdate #926 (@pre-commit-ci)
+ Allow enforce PR label workflow to add labels #921 (@blink1073)
+ [pre-commit.ci] pre-commit autoupdate #920 (@pre-commit-ci)
+ [pre-commit.ci] pre-commit autoupdate #919 (@pre-commit-ci)
+ [pre-commit.ci] pre-commit autoupdate #917 (@pre-commit-ci)
- changes from version 6.13.0:
* Enhancements made
+ Add the PID to the resource usage reply #908 (@echarles)
* Bugs fixed
+ Fix qtconsole spawn #915 (@andia89)
* Maintenance and upkeep improvements
+ Add basic mypy support #913 (@blink1073)
+ Clean up pre-commit #911 (@blink1073)
+ Update setup.py #909 (@tlinhart)
+ [pre-commit.ci] pre-commit autoupdate #906 (@pre-commit-ci)
- changes from version 6.12.1:
* Maintenance and upkeep improvements
+ Clean up test deps and test setup #904 (@blink1073)
- changes from version 6.12.0:
* Enhancements made
+ use packaging instead of pkg_resources to parse versions #900
(@minrk)
* Bugs fixed
+ Make cell_id optional #902 (@blink1073)
+ Do not try to send on iostream if closed #899 (@blink1073)
- changes from version 6.11.0:
* Enhancements made
+ Include method signatures in experimental completion results
#895 (@MrBago)
+ Try to pass cell id to executing kernel. #886 (@Carreau)
* Maintenance and upkeep improvements
+ Handle warnings in tests #896 (@blink1073)
+ Run flake and remove deprecated import #894 (@blink1073)
+ Add ignore-revs file #893 (@blink1073)
+ Autoformat with black and isort #892 (@blink1073)
+ Add pytest opts and pre-commit #889 (@blink1073)
- changes from version 6.10.0:
* Enhancements made
+ Improve performance of stderr and stdout stream buffer #888
(@MrBago)
* Bugs fixed
+ Check if the current thread is the io thread #884 (@jamadeo)
* Maintenance and upkeep improvements
+ More CI cleanup #887 (@blink1073)
+ CI cleanup #885 (@blink1073)
* Documentation improvements
+ Add precision about subprocess stdout/stderr capturing #883
(@lesteve)
-------------------------------------------------------------------
Fri Mar 18 18:23:12 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -19,27 +19,53 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-ipykernel
Version: 6.9.2
Version: 6.15.0
Release: 0
Summary: IPython Kernel for Jupyter
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/ipython/ipykernel
Source: https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
# SECTION build-system
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: jupyter-jupyter_core-filesystem
BuildRequires: python-rpm-macros
Requires: jupyter-jupyter-client
# /SECTION
# SECTION dependencies
Requires: python-debugpy >= 1.0
Requires: python-ipython >= 7.23.1
Requires: python-jupyter-client
Requires: python-jupyter-core
Requires: python-jupyter-client >= 6.1.12
Requires: python-matplotlib-inline >= 0.1
Requires: python-nest-asyncio
Requires: python-packaging
Requires: python-psutil
Requires: python-tornado >= 4.2
Requires: python-pyzmq >= 17
Requires: python-tornado >= 6.1
Requires: python-traitlets >= 5.1.0
BuildRequires: %{python_module debugpy >= 1.0}
BuildRequires: %{python_module ipython >= 7.23.1}
BuildRequires: %{python_module jupyter-client >= 6.1.12}
BuildRequires: %{python_module matplotlib-inline >= 0.1}
BuildRequires: %{python_module nest-asyncio}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pyzmq >= 17}
BuildRequires: %{python_module tornado >= 6.1}
BuildRequires: %{python_module traitlets >= 5.1.0}
# /SECTION
# SECTION test requirements
BuildRequires: %{python_module pytest >= 6.0}
BuildRequires: %{python_module curio}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module trio}
# we don't want ipyparallel and its dependencies in Ring1, see below
#BuildRequires: #{python_module ipyparallel}
# /SECTION
Requires: jupyter-jupyter-client >= 6.1.12
Provides: python-jupyter_ipykernel = %{version}
Obsoletes: python-jupyter_ipykernel < %{version}
Provides: %{python_module ipykernel-doc = %{version}}
@ -53,23 +79,6 @@ BuildArch: noarch
Provides: jupyter-ipykernel = %{version}-%{release}
Obsoletes: jupyter-ipykernel < %{version}-%{release}
%endif
# SECTION test requirements
BuildRequires: %{python_module debugpy >= 1.0.0}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module ipython >= 7.23.1}
BuildRequires: %{python_module jupyter-client}
BuildRequires: %{python_module jupyter-core}
BuildRequires: %{python_module matplotlib-inline >= 0.1}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tornado >= 4.2}
BuildRequires: %{python_module traitlets >= 5.1.0}
# /SECTION
# typing is only built-in for later versions of python
%if 0%{?suse_version} <= 1320
BuildRequires: %{python_module typing}
Requires: python-typing
%endif
%python_subpackages
%description
@ -77,14 +86,16 @@ This package provides the IPython kernel for Jupyter.
%prep
%autosetup -p1 -n ipykernel-%{version}
# 5 tests out of 95, we don't want ipyparallel and its dependencies in Ring1
# 5 tests out of 116, we don't want ipyparallel and its dependencies in Ring1
rm ipykernel/tests/test_pickleutil.py
sed -i -e 's/--color=yes//' pyproject.toml
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%if 0%{?suse_version} >= 1550
# use the symlink for the default python3 flavor, which was installed during the install but used python3.X name
# from the primary flavor.
@ -103,15 +114,15 @@ $python -m ipykernel install \
%check
# flaky: bad timings in obs often cause this to fail
donttest="test_shutdown_subprocesses"
%pytest ipykernel -k "not ($donttest)"
%pytest -k "not ($donttest)"
%files %{python_files}
%doc README.md
%license COPYING.md
%{python_sitelib}/ipykernel
%{python_sitelib}/ipykernel_launcher.py
%{python_sitelib}/ipykernel-%{version}-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__/*.pyc
%{python_sitelib}/ipykernel-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/ipykernel_launcher*.pyc
%if 0%{?suse_version} >= 1550
%{_jupyter_kernel_dir}/python%{python_bin_suffix}
%endif