Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nbformat for openSUSE:Factory
checked in at 2024-09-16 17:40:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbformat (Old)
and /work/SRC/openSUSE:Factory/.python-nbformat.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbformat"
Mon Sep 16 17:40:14 2024 rev:24 rq:1201279 version:5.10.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbformat/python-nbformat.changes
2024-04-02 16:37:44.782913861 +0200
+++
/work/SRC/openSUSE:Factory/.python-nbformat.new.29891/python-nbformat.changes
2024-09-16 17:40:16.314086111 +0200
@@ -1,0 +2,6 @@
+Sun Sep 15 16:18:13 UTC 2024 - Ben Greiner <[email protected]>
+
+- Update to 5.10.4
+ * Set all min deps #399 (@blink1073)
+
+-------------------------------------------------------------------
Old:
----
nbformat-5.10.3.tar.gz
New:
----
nbformat-5.10.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbformat.spec ++++++
--- /var/tmp/diff_new_pack.29xYps/_old 2024-09-16 17:40:17.874151181 +0200
+++ /var/tmp/diff_new_pack.29xYps/_new 2024-09-16 17:40:17.874151181 +0200
@@ -19,7 +19,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-nbformat
-Version: 5.10.3
+Version: 5.10.4
Release: 0
Summary: The Jupyter Notebook format
License: BSD-3-Clause
@@ -38,10 +38,10 @@
BuildRequires: fdupes
BuildRequires: nodejs
BuildRequires: python-rpm-macros >= 20210929
-Requires: python-fastjsonschema
+Requires: python-fastjsonschema >= 2.15
Requires: python-jsonschema > 2.6
-Requires: python-jupyter_core
Requires: python-traitlets >= 5.1
+Requires: (python-jupyter_core >= 4.12 with (python-jupyter_core < 5 or
python-jupyter_core >= 5.1))
Provides: python-jupyter_nbformat = %{version}-%{release}
Obsoletes: python-jupyter_nbformat < %{version}
BuildArch: noarch
@@ -53,13 +53,13 @@
Requires(postun): update-alternatives
%endif
# SECTION test requirements
-BuildRequires: %{python_module fastjsonschema}
+BuildRequires: %{python_module fastjsonschema >= 2.15}
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}
+BuildRequires: %{python_module jupyter_core >= 4.12 with
(%python-jupyter_core < 5 or %python-jupyter_core >= 5.1)}
# /SECTION
%python_subpackages
++++++ nbformat-5.10.3.tar.gz -> nbformat-5.10.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/.pre-commit-config.yaml
new/nbformat-5.10.4/.pre-commit-config.yaml
--- old/nbformat-5.10.3/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000
+0100
@@ -21,7 +21,7 @@
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.27.4
+ rev: 0.28.1
hooks:
- id: check-github-workflows
@@ -56,7 +56,7 @@
- id: rst-inline-touching-normal
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: "v1.8.0"
+ rev: "v1.9.0"
hooks:
- id: mypy
files: "^nbformat"
@@ -65,7 +65,7 @@
["jsonschema>=2.6", "traitlets>=5.13", "jupyter_core>5.4"]
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.2.0
+ rev: v0.3.5
hooks:
- id: ruff
types_or: [python, jupyter]
@@ -76,7 +76,7 @@
types_or: [python, jupyter]
- repo: https://github.com/scientific-python/cookie
- rev: "2024.01.24"
+ rev: "2024.03.10"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/CHANGELOG.md
new/nbformat-5.10.4/CHANGELOG.md
--- old/nbformat-5.10.3/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.10.4/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -4,6 +4,23 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 5.10.4
+
+([Full
Changelog](https://github.com/jupyter/nbformat/compare/v5.10.3...be5ff0a81d544238599b9df4fcefa19e235a8898))
+
+### Maintenance and upkeep improvements
+
+- Set all min deps [#399](https://github.com/jupyter/nbformat/pull/399)
([@blink1073](https://github.com/blink1073))
+- chore: update pre-commit hooks
[#398](https://github.com/jupyter/nbformat/pull/398)
([@pre-commit-ci](https://github.com/pre-commit-ci))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter/nbformat/graphs/contributors?from=2024-03-15&to=2024-04-04&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Ablink1073+updated%3A2024-03-15..2024-04-04&type=Issues)
|
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Apre-commit-ci+updated%3A2024-03-15..2024-04-04&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 5.10.3
([Full
Changelog](https://github.com/jupyter/nbformat/compare/v5.10.2...c17a251a1b1c5e2a7b9fe1fce866d4c110dd12eb))
@@ -18,8 +35,6 @@
[@krassowski](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Akrassowski+updated%3A2024-03-12..2024-03-15&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 5.10.2
([Full
Changelog](https://github.com/jupyter/nbformat/compare/v5.10.1...cf61c0ef37312e33efe3ca61ba1f13a4cb5ca901))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/PKG-INFO new/nbformat-5.10.4/PKG-INFO
--- old/nbformat-5.10.3/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.10.4/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.3
Name: nbformat
-Version: 5.10.3
+Version: 5.10.4
Summary: The Jupyter Notebook format
Project-URL: Homepage, https://jupyter.org
Project-URL: Changelog,
https://github.com/jupyter/nbformat/blob/main/CHANGELOG.md
@@ -52,9 +52,9 @@
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
-Requires-Dist: fastjsonschema
+Requires-Dist: fastjsonschema>=2.15
Requires-Dist: jsonschema>=2.6
-Requires-Dist: jupyter-core
+Requires-Dist: jupyter-core!=5.0.*,>=4.12
Requires-Dist: traitlets>=5.1
Provides-Extra: docs
Requires-Dist: myst-parser; extra == 'docs'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/_struct.py
new/nbformat-5.10.4/nbformat/_struct.py
--- old/nbformat-5.10.3/nbformat/_struct.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/nbformat/_struct.py 2020-02-02 01:00:00.000000000
+0100
@@ -2,6 +2,7 @@
Can probably be replaced by types.SimpleNamespace from Python 3.3
"""
+
from __future__ import annotations
from typing import Any, Dict
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/_version.py
new/nbformat-5.10.4/nbformat/_version.py
--- old/nbformat-5.10.3/nbformat/_version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/nbformat/_version.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,4 +1,5 @@
"""The version information for nbformat."""
+
# Use "hatchling version xx.yy.zz" to handle version changes
from __future__ import annotations
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/corpus/words.py
new/nbformat-5.10.4/nbformat/corpus/words.py
--- old/nbformat-5.10.3/nbformat/corpus/words.py 2020-02-02
01:00:00.000000000 +0100
+++ new/nbformat-5.10.4/nbformat/corpus/words.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,4 +1,5 @@
"""Generate a corpus id."""
+
from __future__ import annotations
import uuid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/json_compat.py
new/nbformat-5.10.4/nbformat/json_compat.py
--- old/nbformat-5.10.3/nbformat/json_compat.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/nbformat/json_compat.py 2020-02-02 01:00:00.000000000
+0100
@@ -2,6 +2,7 @@
Common validator wrapper to provide a uniform usage of other schema validation
libraries.
"""
+
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from __future__ import annotations
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/notebooknode.py
new/nbformat-5.10.4/nbformat/notebooknode.py
--- old/nbformat-5.10.3/nbformat/notebooknode.py 2020-02-02
01:00:00.000000000 +0100
+++ new/nbformat-5.10.4/nbformat/notebooknode.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,4 +1,5 @@
"""NotebookNode - adding attribute access to dicts"""
+
from __future__ import annotations
from collections.abc import Mapping
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/v2/nbxml.py
new/nbformat-5.10.4/nbformat/v2/nbxml.py
--- old/nbformat-5.10.3/nbformat/v2/nbxml.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/nbformat/v2/nbxml.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,5 +1,5 @@
-"""REMOVED: Read and write notebook files as XML.
-"""
+"""REMOVED: Read and write notebook files as XML."""
+
from __future__ import annotations
REMOVED_MSG = """\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/v3/__init__.py
new/nbformat-5.10.4/nbformat/v3/__init__.py
--- old/nbformat-5.10.3/nbformat/v3/__init__.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/nbformat/v3/__init__.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,5 +1,4 @@
-"""The main API for the v3 notebook format.
-"""
+"""The main API for the v3 notebook format."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/validator.py
new/nbformat-5.10.4/nbformat/validator.py
--- old/nbformat-5.10.3/nbformat/validator.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/nbformat/validator.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,4 +1,5 @@
"""Notebook format validators."""
+
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from __future__ import annotations
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/nbformat/warnings.py
new/nbformat-5.10.4/nbformat/warnings.py
--- old/nbformat-5.10.3/nbformat/warnings.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/nbformat/warnings.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,6 +1,7 @@
"""
Warnings that can be emitted by nbformat.
"""
+
from __future__ import annotations
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/package.json
new/nbformat-5.10.4/package.json
--- old/nbformat-5.10.3/package.json 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.10.4/package.json 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
{
"name": "nbformat-schema",
- "version": "5.10.3",
+ "version": "5.10.4",
"description": "JSON schemata for Jupyter notebook formats",
"main": "index.js",
"files": [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/pyproject.toml
new/nbformat-5.10.4/pyproject.toml
--- old/nbformat-5.10.3/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.10.4/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -23,9 +23,9 @@
]
requires-python = ">=3.8"
dependencies = [
- "fastjsonschema",
+ "fastjsonschema>=2.15",
"jsonschema>=2.6",
- "jupyter_core",
+ "jupyter_core>=4.12,!=5.0.*",
"traitlets>=5.1"
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/tests/v4/test_json.py
new/nbformat-5.10.4/tests/v4/test_json.py
--- old/nbformat-5.10.3/tests/v4/test_json.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/tests/v4/test_json.py 2020-02-02 01:00:00.000000000
+0100
@@ -130,6 +130,6 @@
os.path.join(BASE_PATH, "nbformat.v4.schema.json"),
encoding="utf-8"
) as schema_file:
schema = json.load(schema_file)
- assert schema["description"] == "Jupyter Notebook v{major}.{minor}
JSON schema.".format(
- major=nbformat, minor=nbformat_minor
+ assert (
+ schema["description"] == f"Jupyter Notebook
v{nbformat}.{nbformat_minor} JSON schema."
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-5.10.3/tests/v4/test_nbbase.py
new/nbformat-5.10.4/tests/v4/test_nbbase.py
--- old/nbformat-5.10.3/tests/v4/test_nbbase.py 2020-02-02 01:00:00.000000000
+0100
+++ new/nbformat-5.10.4/tests/v4/test_nbbase.py 2020-02-02 01:00:00.000000000
+0100
@@ -1,4 +1,5 @@
"""Tests for the Python API for composing notebook elements"""
+
from __future__ import annotations
from nbformat.v4.nbbase import (