diff --git a/nbformat-4.4.0.tar.gz b/nbformat-4.4.0.tar.gz deleted file mode 100644 index dc93074..0000000 --- a/nbformat-4.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402 -size 113683 diff --git a/nbformat-5.0.4.tar.gz b/nbformat-5.0.4.tar.gz new file mode 100644 index 0000000..acad64b --- /dev/null +++ b/nbformat-5.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a +size 111745 diff --git a/nbformat.pdf b/nbformat.pdf deleted file mode 100644 index 981c14b..0000000 --- a/nbformat.pdf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11567211ac4f779d3333ea8fd625a746e3c34271905cdf16d8ad4574156a8ab5 -size 155116 diff --git a/nbformat.zip b/nbformat.zip deleted file mode 100644 index 8c6cc33..0000000 --- a/nbformat.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c3bec0b0c4d28e0d1d1225ad5642e8f3cc04a78070ee580b93185db8718208bf -size 9925008 diff --git a/python-nbformat.changes b/python-nbformat.changes index 51f70a1..c65047c 100644 --- a/python-nbformat.changes +++ b/python-nbformat.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Mon Feb 10 16:11:19 UTC 2020 - Todd R + +- 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 + +- 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 diff --git a/python-nbformat.spec b/python-nbformat.spec index 2dfbb37..eab8aa7 100644 --- a/python-nbformat.spec +++ b/python-nbformat.spec @@ -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 @@ -18,16 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} 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 +44,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 +56,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 +69,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 +79,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 +89,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