python-nbformat/python-nbformat.spec

107 lines
3.3 KiB
RPMSpec
Raw Permalink Normal View History

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
2019-04-25 17:50:50 +02:00
#
# spec file for package python-nbformat
#
# Copyright (c) 2024 SUSE LLC
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
2019-04-25 17:50:50 +02:00
#
# 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 libalternatives
%{?sle15_python_module_pythons}
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
2019-04-25 17:50:50 +02:00
Name: python-nbformat
Version: 5.10.3
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
2019-04-25 17:50:50 +02:00
Release: 0
Summary: The Jupyter Notebook format
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyter/nbformat
Source: https://github.com/jupyter/nbformat/releases/download/v%{version}/nbformat-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE no-hatch-nodejs-version.patch mcepl@suse.com
# We dont need hatch-nodejs-version dependency
Patch0: no-hatch-nodejs-version.patch
# PATCH-FEATURE-OPENSUSE no-pep440.patch mcepl@suse.com
# We dont need pep440 check either
Patch1: no-pep440.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling >= 1.5}
BuildRequires: %{python_module pip}
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
2019-04-25 17:50:50 +02:00
BuildRequires: fdupes
BuildRequires: nodejs
BuildRequires: python-rpm-macros >= 20210929
Requires: python-fastjsonschema
Requires: python-jsonschema > 2.6
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
2019-04-25 17:50:50 +02:00
Requires: python-jupyter_core
Requires: python-traitlets >= 5.1
Provides: python-jupyter_nbformat = %{version}-%{release}
Obsoletes: python-jupyter_nbformat < %{version}
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
2019-04-25 17:50:50 +02:00
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
# SECTION test requirements
BuildRequires: %{python_module fastjsonschema}
BuildRequires: %{python_module jsonschema > 2.6}
BuildRequires: %{python_module jupyter_core}
BuildRequires: %{python_module pytest >= 6}
BuildRequires: %{python_module testpath}
BuildRequires: %{python_module traitlets >= 5.1}
BuildRequires: %{pythons}
# /SECTION
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
2019-04-25 17:50:50 +02:00
%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.
%prep
%autosetup -p1 -n nbformat-%{version}
sed -i -e 's/"--color=yes", //' -e 's/\@\@\@/%{version}/' pyproject.toml
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
2019-04-25 17:50:50 +02:00
%build
%pyproject_wheel
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
2019-04-25 17:50:50 +02:00
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/jupyter-trust
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
2019-04-25 17:50:50 +02:00
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{_docdir}/jupyter-nbformat/
%check
%pytest
%pre
# If libalternatives is used: Removing old update-alternatives entries.
%python_libalternatives_reset_alternative jupyter-trust
%post
%python_install_alternative jupyter-trust
%postun
%python_uninstall_alternative jupyter-trust
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
2019-04-25 17:50:50 +02:00
%files %{python_files}
%license LICENSE
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
2019-04-25 17:50:50 +02:00
%doc README.md
%python_alternative jupyter-trust
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
2019-04-25 17:50:50 +02:00
%{python_sitelib}/nbformat/
%{python_sitelib}/nbformat-%{version}.dist-info/
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
2019-04-25 17:50:50 +02:00
%changelog