[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-commit
Subject: commit python-nbformat for openSUSE:Factory
From: "Source-Sync" <autobuild () suse ! de>
Date: 2023-07-31 13:24:40
Message-ID: 169080988277.2324.5370206009678334867 () mailman3 ! infra ! opensuse ! org
[Download RAW message or body]
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 2023-07-31 15:24:34 \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing \
/work/SRC/openSUSE:Factory/python-nbformat (Old) and \
/work/SRC/openSUSE:Factory/.python-nbformat.new.32662 (New) \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbformat"
Mon Jul 31 15:24:34 2023 rev:20 rq:1101423 version:5.9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbformat/python-nbformat.changes 2023-07-12 \
17:26:59.730369925 +0200
+++ /work/SRC/openSUSE:Factory/.python-nbformat.new.32662/python-nbformat.changes 2023-07-31 \
15:24:39.311423217 +0200 @@ -1,0 +2,8 @@
+Wed Jul 19 20:43:29 UTC 2023 - Ben Greiner <code@bnavigator.de>
+
+- Update to 5.9.1
+ * Fix deprecation warning when importing from jsonschema #368
+ (@eladkal)
+ * Unpin jsonschema
+
+-------------------------------------------------------------------
Old:
----
nbformat-5.9.0.tar.gz
New:
----
nbformat-5.9.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbformat.spec ++++++
--- /var/tmp/diff_new_pack.Hht5uJ/_old 2023-07-31 15:24:39.943426865 +0200
+++ /var/tmp/diff_new_pack.Hht5uJ/_new 2023-07-31 15:24:39.947426888 +0200
@@ -18,7 +18,7 @@
%bcond_without libalternatives
Name: python-nbformat
-Version: 5.9.0
+Version: 5.9.1
Release: 0
Summary: The Jupyter Notebook format
License: BSD-3-Clause
@@ -33,9 +33,9 @@
BuildRequires: nodejs
BuildRequires: python-rpm-macros >= 20210929
Requires: python-fastjsonschema
+Requires: python-jsonschema > 2.6
Requires: python-jupyter_core
Requires: python-traitlets >= 5.1
-Requires: (python-jsonschema > 2.6 with python-jsonschema < 4.18)
Provides: python-jupyter_nbformat = %{version}-%{release}
Obsoletes: python-jupyter_nbformat < %{version}
BuildArch: noarch
@@ -48,7 +48,7 @@
%endif
# SECTION test requirements
BuildRequires: %{python_module fastjsonschema}
-BuildRequires: %{python_module jsonschema > 2.6 with %python-jsonschema < 4.18}
+BuildRequires: %{python_module jsonschema > 2.6}
BuildRequires: %{python_module jupyter_core}
BuildRequires: %{python_module pep440}
BuildRequires: %{python_module pytest}
++++++ nbformat-5.9.0.tar.gz -> nbformat-5.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/nbformat-5.9.0/.pre-commit-config.yaml \
new/nbformat-5.9.1/.pre-commit-config.yaml
--- old/nbformat-5.9.0/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.9.1/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100
@@ -20,7 +20,7 @@
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.22.0
+ rev: 0.23.2
hooks:
- id: check-github-workflows
@@ -34,8 +34,8 @@
hooks:
- id: black
- - repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: v0.0.263
+ - repo: https://github.com/astral-sh/ruff-pre-commit
+ rev: v0.0.276
hooks:
- id: ruff
args: ["--fix"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/nbformat-5.9.0/CHANGELOG.md \
new/nbformat-5.9.1/CHANGELOG.md
--- old/nbformat-5.9.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.9.1/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -4,6 +4,22 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 5.9.1
+
+([Full Changelog](https://github.com/jupyter/nbformat/compare/v5.9.0...c348f9d12f05b4e0350413c74f58cd9e4f54a550))
+
+### Maintenance and upkeep improvements
+
+- Fix deprecation warning when importing from jsonschema \
[#368](https://github.com/jupyter/nbformat/pull/368) \
([@eladkal](https://github.com/eladkal)) +
+### Contributors to this release
+
+([GitHub contributors page for this \
release](https://github.com/jupyter/nbformat/graphs/contributors?from=2023-05-31&to=2023-07-10&type=c))
+
+[@eladkal](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Aeladkal+updated%3A2023-05-31..2023-07-10&type=Issues) \
| [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Apre-commit-ci+updated%3A2023-05-31..2023-07-10&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 5.9.0
([Full Changelog](https://github.com/jupyter/nbformat/compare/v5.8.0...1b5e8e4e9af98f9c9b0843ba155b8756103d094d))
@@ -20,8 +36,6 @@
[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Ablink1073+updated%3A2023-03-20..2023-05-31&type=Issues) \
| [@dependabot](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Adependabot+updated%3A2023-03-20..2023-05-31&type=Issues) \
| [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fnbformat+involves%3Apre-commit-ci+updated%3A2023-03-20..2023-05-31&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 5.8.0
([Full Changelog](https://github.com/jupyter/nbformat/compare/v5.7.3...85917af9c77beae326531e1923e0ec47725e590b))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/nbformat-5.9.0/PKG-INFO \
new/nbformat-5.9.1/PKG-INFO
--- old/nbformat-5.9.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.9.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbformat
-Version: 5.9.0
+Version: 5.9.1
Summary: The Jupyter Notebook format
Project-URL: Homepage, https://jupyter.org
Author-email: Jupyter Development Team <jupyter@googlegroups.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/nbformat-5.9.0/nbformat/json_compat.py \
new/nbformat-5.9.1/nbformat/json_compat.py
--- old/nbformat-5.9.0/nbformat/json_compat.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.9.1/nbformat/json_compat.py 2020-02-02 01:00:00.000000000 +0100
@@ -11,7 +11,7 @@
import jsonschema
from fastjsonschema import JsonSchemaException as _JsonSchemaException
from jsonschema import Draft4Validator as _JsonSchemaValidator
-from jsonschema import ErrorTree, ValidationError
+from jsonschema.exceptions import ErrorTree, ValidationError
class JsonSchemaValidator:
@@ -55,7 +55,7 @@
def validate(self, data):
"""Validate incoming data."""
try:
- self._validator(data)
+ self._validator(data) # type:ignore[operator]
except _JsonSchemaException as error:
raise ValidationError(str(error), schema_path=error.path) from error
@@ -67,7 +67,7 @@
errors = []
validate_func = self._validator
try:
- validate_func(data)
+ validate_func(data) # type:ignore[operator]
except _JsonSchemaException as error:
errors = [ValidationError(str(error), schema_path=error.path)]
@@ -101,7 +101,7 @@
if module and validator_name == name:
return validator_cls
# we always return something.
- msg = f"Missing validator for {repr(validator_name)}"
+ msg = f"Missing validator for {validator_name!r}"
raise ValueError(msg)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/nbformat-5.9.0/package.json \
new/nbformat-5.9.1/package.json
--- old/nbformat-5.9.0/package.json 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.9.1/package.json 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
{
"name": "nbformat-schema",
- "version": "5.9.0",
+ "version": "5.9.1",
"description": "JSON schemata for Jupyter notebook formats",
"main": "index.js",
"files": [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/nbformat-5.9.0/pyproject.toml \
new/nbformat-5.9.1/pyproject.toml
--- old/nbformat-5.9.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.9.1/pyproject.toml 2020-02-02 01:00:00.000000000 +0100
@@ -85,7 +85,7 @@
test = "mypy --install-types --non-interactive {args:nbformat tests}"
[tool.hatch.envs.lint]
-dependencies = ["black[jupyter]==23.3.0", "mdformat>0.7", "ruff==0.0.263"]
+dependencies = ["black[jupyter]==23.3.0", "mdformat>0.7", "ruff==0.0.276"]
detached = true
[tool.hatch.envs.lint.scripts]
style = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/nbformat-5.9.0/tests/v3/test_nbpy.py \
new/nbformat-5.9.1/tests/v3/test_nbpy.py
--- old/nbformat-5.9.0/tests/v3/test_nbpy.py 2020-02-02 01:00:00.000000000 +0100
+++ new/nbformat-5.9.1/tests/v3/test_nbpy.py 2020-02-02 01:00:00.000000000 +0100
@@ -10,7 +10,7 @@
nb0_ref = nb0_py
ext = "py"
mod = nbpy
- ignored_keys = ["collapsed", "outputs", "prompt_number", "metadata"]
+ ignored_keys = ["collapsed", "outputs", "prompt_number", "metadata"] # noqa
def assertSubset(self, da, db):
"""assert that da is a subset of db, ignoring self.ignored_keys.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic