public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-nbformat] rawhide: Update to 5.11.0
Date: Fri, 07 Aug 2026 21:03:16 GMT	[thread overview]
Message-ID: <178613659618.1.6454584059410276587.rpms-python-nbformat-e279f07ad6f6@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-nbformat
            Branch : rawhide
            Commit : e279f07ad6f6e518bac5ecd3b2d7128441a43e3a
            Author : Orion Poplawski <orion@nwra.com>
            Date   : 2026-08-07T14:55:18-06:00
            Stats  : +6/-54 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-nbformat/c/e279f07ad6f6e518bac5ecd3b2d7128441a43e3a?branch=rawhide

            Log:
            Update to 5.11.0

Fix license - BSD-3-Clause

---
diff --git a/.gitignore b/.gitignore
index 22fb3d0..03f9e9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
 /nbformat-5.9.1.tar.gz
 /nbformat-5.9.2.tar.gz
 /nbformat-5.10.4.tar.gz
+/nbformat-5.11.0.tar.gz

diff --git a/408.patch b/408.patch
deleted file mode 100644
index 8fb46d4..0000000
--- a/408.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From aad470e5952c6955c937dfb0b10a511368a63f20 Mon Sep 17 00:00:00 2001
-From: Cristian Le <git@lecris.dev>
-Date: Wed, 15 Jan 2025 11:04:57 +0100
-Subject: [PATCH] Drop pep440 dependency
-
----
- pyproject.toml    | 2 +-
- tests/test_api.py | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 541c4db..f81498b 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -56,7 +56,7 @@ test = [
-     "testpath",
-     "pytest",
-     "pre-commit",
--    "pep440"
-+    "packaging"
- ]
- 
- [project.scripts]
-diff --git a/tests/test_api.py b/tests/test_api.py
-index f2d76f3..c5b8b9a 100644
---- a/tests/test_api.py
-+++ b/tests/test_api.py
-@@ -11,7 +11,7 @@
- from typing import Any
- 
- from jsonschema import ValidationError
--from pep440 import is_canonical
-+from packaging import version
- 
- from nbformat import __version__ as nbf_version
- from nbformat import current_nbformat, read, write, writes
-@@ -22,7 +22,7 @@
- 
- 
- def test_canonical_version():
--    assert is_canonical(nbf_version)
-+    assert str(version.parse(nbf_version)) == nbf_version
- 
- 
- class TestAPI(TestsBase):

diff --git a/nbformat-build-test.patch b/nbformat-build-test.patch
index 5b5a1e2..52e47b4 100644
--- a/nbformat-build-test.patch
+++ b/nbformat-build-test.patch
@@ -21,7 +21,6 @@ diff -up nbformat-5.8.0/pyproject.toml.build-test nbformat-5.8.0/pyproject.toml
 -[tool.hatch.version]
 -source = "nodejs"
 -
- [tool.hatch.envs.docs]
- features = ["docs"]
- [tool.hatch.envs.docs.scripts]
+ [tool.hatch.envs.default]
+ installer = "uv"
  

diff --git a/python-nbformat.spec b/python-nbformat.spec
index e641c40..c37cf0a 100644
--- a/python-nbformat.spec
+++ b/python-nbformat.spec
@@ -5,18 +5,15 @@
 %global srcname nbformat
 
 Name:           python-%{srcname}
-Version:        5.10.4
+Version:        5.11.0
 Release:        %autorelease
 Summary:        The Jupyter Notebook format
 
-# Automatically converted from old format: BSD - review is highly recommended.
-License:        LicenseRef-Callaway-BSD
+License:        BSD-3-Clause
 URL:            https://pypi.python.org/pypi/%{srcname}
 Source0:        https://files.pythonhosted.org/packages/source/n/%{srcname}/%{srcname}-%{version}.tar.gz
 # Removed dependency on hatch-nodejs-version
 Patch0:         nbformat-build-test.patch
-# Remove dependency on pep440 (package will be retired)
-Patch1:         https://github.com/jupyter/nbformat/pull/408.patch
 
 BuildArch:      noarch
 

diff --git a/sources b/sources
index 12c7e87..b6ea71b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nbformat-5.10.4.tar.gz) = cacec6bca3177958863e7ed860c55498a91507634098adc08b49a3bb43f1158a32b0c029262d44d0f1beb1e795ba7d03753b522120a9aec14514ed8d961d5baa
+SHA512 (nbformat-5.11.0.tar.gz) = 31380a5da5c4ca787221467fa3f6525754c1d3f576c04bbdd8015169e17ed9c9afa5fbd142a7b851a1eb36ffb29214796a734e74634f06f75bbbe5f0feb109e2

                 reply	other threads:[~2026-08-07 21:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178613659618.1.6454584059410276587.rpms-python-nbformat-e279f07ad6f6@fedoraproject.org \
    --to=orion@nwra.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox