Accepting request 773195 from home:TheBlackCat:branches:devel:languages:python:jupyter

- Update to 5.0.4
  * Fixed issue causing python 2 to pick up 5.0.x releases.
- Drop doc subpackage.  This was a leftover from when the tests
  were run in another package and keeping up with the
  rapidly-changing readthedocs download URLs is difficult.
- Update to 5.0.3
  * Removed debug print statements from project.
- Update to 5.0.2
  * Added schema validation files for older versions. This was breaking notebook generation.
- Update to 5.0
  * Starting with 5.0, ``nbformat`` is now Python 3 only (>= 3.5)
  * Add execution timings in code cell metadata for v4 spec.
    ``"metadata": { "execution": {...}}`` should be populated with kernel-specific
    timing information.
  * Documentation for how markup is used in notebooks added
  * Link to json schema docs from format page added
  * Documented the editable metadata flag
  * Update description for collapsed field
  * Documented nbformat versions 4.0-4.3 with accurate json schema specification files
  * Clarified info about :ref:`name`'s meaning for cells
  * Added a default execution_count of None for new_output_cell('execute_result')
  * Added support for handling nbjson kwargs
  * Wheels now correctly have a LICENSE file
  * Travis builds now have a few more execution environments

OBS-URL: https://build.opensuse.org/request/show/773195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=10
This commit is contained in:
Todd R 2020-02-10 18:52:03 +00:00 committed by Git OBS Bridge
parent 753905de29
commit 751d8da2f9
6 changed files with 44 additions and 49 deletions

View File

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

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

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

View File

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

View File

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

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Mon Feb 10 16:11:19 UTC 2020 - Todd R <toddrme2178@gmail.com>
- Update to 5.0.4
* Fixed issue causing python 2 to pick up 5.0.x releases.
- Drop doc subpackage. This was a leftover from when the tests
were run in another package and keeping up with the
rapidly-changing readthedocs download URLs is difficult.
-------------------------------------------------------------------
Wed Jan 15 15:18:24 UTC 2020 - Todd R <toddrme2178@gmail.com>
- Update to 5.0.3
* Removed debug print statements from project.
- Update to 5.0.2
* Added schema validation files for older versions. This was breaking notebook generation.
- Update to 5.0
* Starting with 5.0, ``nbformat`` is now Python 3 only (>= 3.5)
* Add execution timings in code cell metadata for v4 spec.
``"metadata": { "execution": {...}}`` should be populated with kernel-specific
timing information.
* Documentation for how markup is used in notebooks added
* Link to json schema docs from format page added
* Documented the editable metadata flag
* Update description for collapsed field
* Documented nbformat versions 4.0-4.3 with accurate json schema specification files
* Clarified info about :ref:`name`'s meaning for cells
* Added a default execution_count of None for new_output_cell('execute_result')
* Added support for handling nbjson kwargs
* Wheels now correctly have a LICENSE file
* Travis builds now have a few more execution environments
-------------------------------------------------------------------
Sun Aug 11 01:46:53 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-nbformat
#
# 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
@ -17,17 +17,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-nbformat
Version: 4.4.0
%define doc_ver 4.4.0
Version: 5.0.4
Release: 0
%define doc_ver 5.0.4
Summary: The Jupyter Notebook format
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyter/nbformat
Source: https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
Source1: https://buildmedia.readthedocs.org/media/pdf/nbformat/%{doc_ver}/nbformat.pdf
Source2: https://buildmedia.readthedocs.org/media/htmlzip/nbformat/%{doc_ver}/nbformat.zip
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -46,8 +45,7 @@ Requires: python-jsonschema > 2.5.0
Requires: python-jupyter_core
Requires: python-traitlets >= 4.1
Provides: python-jupyter_nbformat = %{version}
# Change <= to < with next release after 4.4
Obsoletes: python-jupyter_nbformat <= %{version}
Obsoletes: python-jupyter_nbformat < %{version}
BuildArch: noarch
%python_subpackages
@ -59,10 +57,12 @@ 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}
# uncomment with next release after 4.4:
# Conflicts: python3-jupyter_nbformat <= 4.5
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,
@ -70,28 +70,8 @@ and Python APIs for working with notebooks.
This package provides the jupyter components.
%package -n jupyter-nbformat-doc
Summary: Documentation for the Jupyter Notebook format
Requires: jupyter-nbformat = %{version}
Provides: python-jupyter_nbformat-doc = %{version}
Obsoletes: python-jupyter_nbformat-doc <= %{version}
Provides: %{python_module jupyter_nbformat-doc = %{version}}
Obsoletes: %{python_module jupyter_nbformat-doc <= %{version}}
Provides: %{python_module nbformat-doc = %{version}}
Provides: python-nbformat-html = %{version}
Provides: python-nbformat-pdf = %{version}
Obsoletes: python-nbformat-html < %{version}
Obsoletes: python-nbformat-pdf < %{version}
%description -n jupyter-nbformat-doc
This package contains documentation and help files for the Jupyter
Notebook format
%prep
%setup -q -n nbformat-%{version}
unzip %{SOURCE2} -d docs
mv docs/nbformat-* docs/html
rm docs/html/.buildinfo
%build
%python_build
@ -100,11 +80,6 @@ rm docs/html/.buildinfo
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
mkdir -p %{buildroot}%{_docdir}/jupyter-nbformat
cp %{SOURCE1} %{buildroot}%{_docdir}/jupyter-nbformat/
cp -r docs/html %{buildroot}%{_docdir}/jupyter-nbformat/
%fdupes %{buildroot}%{_docdir}/jupyter-nbformat/
%check
@ -115,14 +90,8 @@ cp -r docs/html %{buildroot}%{_docdir}/jupyter-nbformat/
%doc README.md
%{python_sitelib}/nbformat-%{version}-py*.egg-info
%{python_sitelib}/nbformat/
# Move this to jupyter-nbformat with next release (after 4.4)
%python3_only %{_bindir}/jupyter-trust
%files -n jupyter-nbformat
%license COPYING.md
%files -n jupyter-nbformat-doc
%license COPYING.md
%{_docdir}/jupyter-nbformat/
%changelog