Accepting request 1045426 from home:bnavigator:branches:devel:languages:python:jupyter

- Update to 5.7.1
  * Expose more attributes for typing #337 (@blink1073)
  * Use base setup dependency type #329 (@blink1073)
  * Handle warning from jupyter client #322 (@blink1073)
- Remove empty jupyter-nbformat package

OBS-URL: https://build.opensuse.org/request/show/1045426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=33
This commit is contained in:
Benjamin Greiner 2022-12-26 22:25:47 +00:00 committed by Git OBS Bridge
parent e33950e83d
commit e2236ead6f
4 changed files with 16 additions and 28 deletions

View File

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

3
nbformat-5.7.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Dec 26 22:15:25 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 5.7.1
* Expose more attributes for typing #337 (@blink1073)
* Use base setup dependency type #329 (@blink1073)
* Handle warning from jupyter client #322 (@blink1073)
- Remove empty jupyter-nbformat package
-------------------------------------------------------------------
Sat Oct 22 03:43:12 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -16,32 +16,29 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define doc_ver 5.2.0
%bcond_without libalternatives
Name: python-nbformat
Version: 5.7.0
Version: 5.7.1
Release: 0
Summary: The Jupyter Notebook format
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyter/nbformat
# PyPI sdist has only some schema tests, get the full test suite from GitHub sources
Source: https://github.com/jupyter/nbformat/archive/%{version}.tar.gz#/nbformat-%{version}.tar.gz
Source: https://github.com/jupyter/nbformat/releases/download/v%{version}/nbformat-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatch_nodejs_version}
BuildRequires: %{python_module hatchling >= 1.5}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: nodejs
BuildRequires: python-rpm-macros >= 20210929
Requires: jupyter-jupyter_core
Requires: jupyter-nbformat = %{version}
Requires: python-fastjsonschema
Requires: python-jsonschema > 2.6
Requires: python-jupyter_core
Requires: python-traitlets >= 5.1
Provides: python-jupyter_nbformat = %{version}
Provides: python-jupyter_nbformat = %{version}-%{release}
Obsoletes: python-jupyter_nbformat < %{version}
BuildArch: noarch
%if %{with libalternatives}
@ -69,21 +66,6 @@ and Python APIs for working with notebooks.
This package provides the python interface.
%package -n jupyter-nbformat
Summary: The Jupyter Notebook format
Group: Development/Languages/Python
Requires: jupyter-jupyter_core
Requires: python3-nbformat = %{version}
Conflicts: python3-jupyter_nbformat < 5.0
Provides: jupyter-nbformat-doc = %{version}
Obsoletes: jupyter-nbformat-doc < %{version}
%description -n jupyter-nbformat
This package contains the base implementation of the Jupyter Notebook format,
and Python APIs for working with notebooks.
This package provides the jupyter components.
%prep
%setup -q -n nbformat-%{version}
sed -i 's/--color=yes//' pyproject.toml
@ -118,7 +100,4 @@ sed -i 's/--color=yes//' pyproject.toml
%{python_sitelib}/nbformat/
%{python_sitelib}/nbformat-%{version}.dist-info/
%files -n jupyter-nbformat
%license COPYING.md
%changelog