Accepting request 697874 from home:TheBlackCat:branches:devel:languages:python:jupyter
- Rename to to match python package naming guidelines. - Split jupyter components into own subpackage. - Rename doc package to match jupyter package name. - Update url - Update to 4.4.0 * Explicitly state that metadata fields can be ignored. * Introduce official jupyter namespace inside metadata (``metadata.jupyter``). * Introduce ``source_hidden`` and ``outputs_hidden`` as official front-end metadata fields to indicate hiding source and outputs areas. **NB**: These fields should not be used to hide elements in exported formats. * Fix ending the redundant storage of signatures in the signature database. * :func:`nbformat.validate` can be set to not raise a ValidationError if additional properties are included. * Fix for errors with connecting and backing up the signature database. * Dict-like objects added to NotebookNode attributes are now transformed to be NotebookNode objects; transformation also works for `.update()`. - Implement single-spec version. - Update to 4.3.0 * A new pluggable ``SignatureStore`` class allows specifying different ways to record the signatures of trusted notebooks. The default is still an SQLite database. See :ref:`pluggable_signature_store` for more information. * :func:`nbformat.read` and :func:`nbformat.write` accept file paths as bytes as well as unicode. * Fix for calling :func:`nbformat.validate` on an empty dictionary. * Fix for running the tests where the locale makes ASCII the default encoding. - Update to 4.2.0 * Update nbformat spec version to 4.2, allowing JSON outputs to have any JSONable type, not just ``object``, and mime-types of the form ``application/anything+json``. * Define basics of ``authors`` in notebook metadata. ``nb.metadata.authors`` shall be a list of objects with the property ``name``, a string of each author's full name. * Update use of traitlets API to require traitlets 4.1. * Support trusting notebooks on stdin with ``cat notebook | jupyter trust`` - Update to 4.1.0 * Update nbformat spec version to 4.1, adding support for attachments on markdown and raw cells. * Catch errors opening trust database, falling back on ``:memory:`` if the database cannot be opened. - Create doc subpackage - update to version 4.0.1: * setuptools entrypoint * Add label to format docs for cross referencing * ensure `--version` output has actual version - Build documentation - Initial version - Rename to to match python package naming guidelines. - Split jupyter components into own subpackage. - Rename doc package to match jupyter package name. - Update url - Update to 4.4.0 * Explicitly state that metadata fields can be ignored. * Introduce official jupyter namespace inside metadata (``metadata.jupyter``). * Introduce ``source_hidden`` and ``outputs_hidden`` as official front-end metadata fields to indicate hiding source and outputs areas. **NB**: These fields should not be used to hide elements in exported formats. * Fix ending the redundant storage of signatures in the signature database. * :func:`nbformat.validate` can be set to not raise a ValidationError if additional properties are included. * Fix for errors with connecting and backing up the signature database. * Dict-like objects added to NotebookNode attributes are now transformed to be NotebookNode objects; transformation also works for `.update()`. - Implement single-spec version. - Clean up update-alternatives usage. - Update to 4.3.0 * A new pluggable ``SignatureStore`` class allows specifying different ways to record the signatures of trusted notebooks. The default is still an SQLite database. See :ref:`pluggable_signature_store` for more information. * :func:`nbformat.read` and :func:`nbformat.write` accept file paths as bytes as well as unicode. * Fix for calling :func:`nbformat.validate` on an empty dictionary. * Fix for running the tests where the locale makes ASCII the default encoding. - Update to 4.2.0 * Update nbformat spec version to 4.2, allowing JSON outputs to have any JSONable type, not just ``object``, and mime-types of the form ``application/anything+json``. * Define basics of ``authors`` in notebook metadata. ``nb.metadata.authors`` shall be a list of objects with the property ``name``, a string of each author's full name. * Update use of traitlets API to require traitlets 4.1. * Support trusting notebooks on stdin with ``cat notebook | jupyter trust`` - Update to 4.1.0 * Update nbformat spec version to 4.1, adding support for attachments on markdown and raw cells. * Catch errors opening trust database, falling back on ``:memory:`` if the database cannot be opened. - Create doc subpackage - update to version 4.0.1: * setuptools entrypoint * Add label to format docs for cross referencing * ensure `--version` output has actual version - Build documentation - Initial version OBS-URL: https://build.opensuse.org/request/show/697874 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=1
This commit is contained in:
commit
e52c484ffd
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
nbformat-4.4.0.tar.gz
Normal file
3
nbformat-4.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402
|
||||
size 113683
|
3
nbformat.pdf
Normal file
3
nbformat.pdf
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:11567211ac4f779d3333ea8fd625a746e3c34271905cdf16d8ad4574156a8ab5
|
||||
size 155116
|
3
nbformat.zip
Normal file
3
nbformat.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c3bec0b0c4d28e0d1d1225ad5642e8f3cc04a78070ee580b93185db8718208bf
|
||||
size 9925008
|
74
python-nbformat-doc.changes
Normal file
74
python-nbformat-doc.changes
Normal file
@ -0,0 +1,74 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 01:59:57 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Rename to to match python package naming guidelines.
|
||||
- Split jupyter components into own subpackage.
|
||||
- Rename doc package to match jupyter package name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 19:47:23 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Update url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 20:52:35 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 4.4.0
|
||||
* Explicitly state that metadata fields can be ignored.
|
||||
* Introduce official jupyter namespace inside metadata (``metadata.jupyter``).
|
||||
* Introduce ``source_hidden`` and ``outputs_hidden`` as official front-end
|
||||
metadata fields to indicate hiding source and outputs areas. **NB**: These
|
||||
fields should not be used to hide elements in exported formats.
|
||||
* Fix ending the redundant storage of signatures in the signature database.
|
||||
* :func:`nbformat.validate` can be set to not raise a ValidationError if
|
||||
additional properties are included.
|
||||
* Fix for errors with connecting and backing up the signature database.
|
||||
* Dict-like objects added to NotebookNode attributes are now transformed to be
|
||||
NotebookNode objects; transformation also works for `.update()`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 19:44:12 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 19:45:04 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 4.3.0
|
||||
* A new pluggable ``SignatureStore`` class allows specifying different ways to
|
||||
record the signatures of trusted notebooks. The default is still an SQLite
|
||||
database. See :ref:`pluggable_signature_store` for more information.
|
||||
* :func:`nbformat.read` and :func:`nbformat.write` accept file paths as bytes
|
||||
as well as unicode.
|
||||
* Fix for calling :func:`nbformat.validate` on an empty dictionary.
|
||||
* Fix for running the tests where the locale makes ASCII the default encoding.
|
||||
- Update to 4.2.0
|
||||
* Update nbformat spec version to 4.2, allowing JSON outputs to have any JSONable type, not just ``object``,
|
||||
and mime-types of the form ``application/anything+json``.
|
||||
* Define basics of ``authors`` in notebook metadata.
|
||||
``nb.metadata.authors`` shall be a list of objects with the property ``name``, a string of each author's full name.
|
||||
* Update use of traitlets API to require traitlets 4.1.
|
||||
* Support trusting notebooks on stdin with ``cat notebook | jupyter trust``
|
||||
- Update to 4.1.0
|
||||
* Update nbformat spec version to 4.1, adding support for attachments on markdown and raw cells.
|
||||
* Catch errors opening trust database, falling back on ``:memory:`` if the database cannot be opened.
|
||||
- Create doc subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 12 13:43:06 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- update to version 4.0.1:
|
||||
* setuptools entrypoint
|
||||
* Add label to format docs for cross referencing
|
||||
* ensure `--version` output has actual version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 5 10:01:17 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Build documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 12:11:46 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Initial version
|
||||
|
90
python-nbformat-doc.spec
Normal file
90
python-nbformat-doc.spec
Normal file
@ -0,0 +1,90 @@
|
||||
#
|
||||
# spec file for package python-nbformat-doc
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-nbformat-doc
|
||||
Version: 4.4.0
|
||||
%define doc_ver 4.4.0
|
||||
Release: 0
|
||||
Summary: Documentation for the Jupyter Notebook format
|
||||
License: BSD-3-Clause
|
||||
Group: Documentation/Other
|
||||
Url: https://github.com/jupyter/nbformat
|
||||
Source0: 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: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
BuildRequires: %{python_module jupyter_nbformat}
|
||||
%if %{with tests}
|
||||
# Test Requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module testpath}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package contains documentation and help files for the Jupyter
|
||||
Notebook format
|
||||
|
||||
%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
|
||||
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/
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
pushd scripts
|
||||
%python_expand py.test-%{$python_bin_suffix} -k "not TestNotary and not SQLiteSignatureStoreTests" %{$python_sitelib}/nbformat
|
||||
popd
|
||||
%endif
|
||||
|
||||
%files -n jupyter-nbformat-doc
|
||||
%doc COPYING.md
|
||||
%{_docdir}/jupyter-nbformat/
|
||||
|
||||
%changelog
|
79
python-nbformat.changes
Normal file
79
python-nbformat.changes
Normal file
@ -0,0 +1,79 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 01:59:57 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Rename to to match python package naming guidelines.
|
||||
- Split jupyter components into own subpackage.
|
||||
- Rename doc package to match jupyter package name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 19:47:23 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Update url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 20:52:35 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 4.4.0
|
||||
* Explicitly state that metadata fields can be ignored.
|
||||
* Introduce official jupyter namespace inside metadata (``metadata.jupyter``).
|
||||
* Introduce ``source_hidden`` and ``outputs_hidden`` as official front-end
|
||||
metadata fields to indicate hiding source and outputs areas. **NB**: These
|
||||
fields should not be used to hide elements in exported formats.
|
||||
* Fix ending the redundant storage of signatures in the signature database.
|
||||
* :func:`nbformat.validate` can be set to not raise a ValidationError if
|
||||
additional properties are included.
|
||||
* Fix for errors with connecting and backing up the signature database.
|
||||
* Dict-like objects added to NotebookNode attributes are now transformed to be
|
||||
NotebookNode objects; transformation also works for `.update()`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 19:44:12 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 19:13:59 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Clean up update-alternatives usage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 19:45:04 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 4.3.0
|
||||
* A new pluggable ``SignatureStore`` class allows specifying different ways to
|
||||
record the signatures of trusted notebooks. The default is still an SQLite
|
||||
database. See :ref:`pluggable_signature_store` for more information.
|
||||
* :func:`nbformat.read` and :func:`nbformat.write` accept file paths as bytes
|
||||
as well as unicode.
|
||||
* Fix for calling :func:`nbformat.validate` on an empty dictionary.
|
||||
* Fix for running the tests where the locale makes ASCII the default encoding.
|
||||
- Update to 4.2.0
|
||||
* Update nbformat spec version to 4.2, allowing JSON outputs to have any JSONable type, not just ``object``,
|
||||
and mime-types of the form ``application/anything+json``.
|
||||
* Define basics of ``authors`` in notebook metadata.
|
||||
``nb.metadata.authors`` shall be a list of objects with the property ``name``, a string of each author's full name.
|
||||
* Update use of traitlets API to require traitlets 4.1.
|
||||
* Support trusting notebooks on stdin with ``cat notebook | jupyter trust``
|
||||
- Update to 4.1.0
|
||||
* Update nbformat spec version to 4.1, adding support for attachments on markdown and raw cells.
|
||||
* Catch errors opening trust database, falling back on ``:memory:`` if the database cannot be opened.
|
||||
- Create doc subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 12 13:43:06 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- update to version 4.0.1:
|
||||
* setuptools entrypoint
|
||||
* Add label to format docs for cross referencing
|
||||
* ensure `--version` output has actual version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 5 10:01:17 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Build documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 12:11:46 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Initial version
|
||||
|
78
python-nbformat.spec
Normal file
78
python-nbformat.spec
Normal file
@ -0,0 +1,78 @@
|
||||
#
|
||||
# spec file for package python-nbformat
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-nbformat
|
||||
Version: 4.4.0
|
||||
Release: 0
|
||||
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
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-ipython_genutils
|
||||
Requires: python-jsonschema > 2.5.0
|
||||
Requires: python-jupyter_core
|
||||
Requires: python-traitlets >= 4.1
|
||||
Provides: python-jupyter_nbformat = %{version}
|
||||
Obsoletes: python-jupyter_nbformat <= %{version}
|
||||
Requires: jupyter-nbformat = %{version}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package contains the base implementation of the Jupyter Notebook format,
|
||||
and Python APIs for working with notebooks.
|
||||
|
||||
This package provides the python interface.
|
||||
|
||||
%package -n jupyter-nbformat
|
||||
Summary: The Jupyter Notebook format
|
||||
Requires: python3-nbformat = %{version}
|
||||
Requires: jupyter-jupyter_core
|
||||
|
||||
%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}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING.md
|
||||
%doc README.md
|
||||
%{python_sitelib}/nbformat-%{version}-py*.egg-info
|
||||
%{python_sitelib}/nbformat/
|
||||
|
||||
%files -n jupyter-nbformat
|
||||
%license COPYING.md
|
||||
%{_bindir}/jupyter-trust
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user