diff --git a/0001-fix-mistune-version-to-adapt-python-m2r.patch b/0001-fix-mistune-version-to-adapt-python-m2r.patch deleted file mode 100644 index 7ba70e473d2197d8547f0e5946cec342e2af9b9b..0000000000000000000000000000000000000000 --- a/0001-fix-mistune-version-to-adapt-python-m2r.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 70acaea410b1efe64af246a84f2e2bfacb8964ae Mon Sep 17 00:00:00 2001 -From: li-miaomiao_zhr -Date: Fri, 14 Jul 2023 10:16:45 +0800 -Subject: [PATCH] fix mistune version to adapt python-m2r - ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index f5085c3..1e11c5f 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -28,7 +28,7 @@ dependencies = [ - "jupyter_core>=4.7", - "jupyterlab_pygments", - "MarkupSafe>=2.0", -- "mistune>=2.0.3,<4", -+ "mistune>=0.8.3,<4", - "nbclient>=0.5.0", - "nbformat>=5.7", - "packaging", --- -2.39.1 - diff --git a/nbconvert-7.16.6.tar.gz b/nbconvert-7.16.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d0725d77a5fe2dc5e23b8216b3f0e26258c5e36c Binary files /dev/null and b/nbconvert-7.16.6.tar.gz differ diff --git a/nbconvert-7.6.0.tar.gz b/nbconvert-7.6.0.tar.gz deleted file mode 100644 index c7df355b7f22d858ea047474400ba1b0c550a7cb..0000000000000000000000000000000000000000 Binary files a/nbconvert-7.6.0.tar.gz and /dev/null differ diff --git a/python-nbconvert.spec b/python-nbconvert.spec index b9dd0ef64194a46949027928935d1953273afe97..187379f4a818c117ffdcbaab37bf5edb79c9a972 100644 --- a/python-nbconvert.spec +++ b/python-nbconvert.spec @@ -2,18 +2,18 @@ %global pypi_name nbconvert Name: python-%{pypi_name} -Version: 7.6.0 +Version: 7.16.6 Release: 1 Summary: Converting Jupyter Notebooks License: BSD-3-Clause -URL: https://pypi.org/project/nbconvert/ -Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +URL: https://github.com/jupyter/nbconvert +Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -Patch: 0001-fix-mistune-version-to-adapt-python-m2r.patch # Base Requires BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: python3-pip BuildRequires: python3-hatchling @@ -49,6 +49,7 @@ Documentation for nbconvert %prep %autosetup -p1 -n %{pypi_name}-%{version} +mkdir -p ./../.git rm -rf %{pypi_name}.egg-info echo "nbsphinx_allow_errors = True" >> docs/source/conf.py # Remove coverage testing @@ -70,5 +71,16 @@ sed -i '/"pytest-cov",/d' pyproject.toml %{_datadir}/jupyter/%{pypi_name}/templates/ %changelog +* Sun Apr 20 2025 Dongxing Wang - 7.16.6-1 +- Update package with version 7.16.6 + Prevent leading whitespace in markdown code blocks from being stripped + Update base.tex.j2 for macro compatibility with newer versions of Pandoc + Allow including text/x-rst outputs in rst conversion, transition away from text/restructuredtext + Add support for mistune 3.1.0 + [HTMLExporter] Initialize resources before widget filtering + Add a toggle to skip the svg encoding of images + Support configureable width and height of reveal presentations + Convert coalescese_streams function to CoalesceStreamsPreprocessor + * Thu Jul 13 2023 li-miaomiao_zhr - 7.6.0-1 - Package init