Upgrade package to version 1.0.0

This commit is contained in:
desert-sailor 2023-11-22 10:57:18 +08:00
parent ebe6e122e2
commit d0eb1ca1d3
4 changed files with 7 additions and 53 deletions

View File

@ -1,48 +0,0 @@
From baf018ab7221b3e4e40bedbe58ecfbc3cccd1524 Mon Sep 17 00:00:00 2001
From: zoujiancang <jczou@isoftstone.com>
Date: Wed, 20 Sep 2023 11:00:07 +0800
Subject: [PATCH] modify the limitation of version required
---
pyproject.toml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index ab038cb..4126fef 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,10 +39,10 @@ dependencies = [
"ipython",
"jupyter-cache>=0.5,<0.7",
"nbclient", # nbclient version pinned by jupyter-client
- "myst-parser~=0.18.0",
- "nbformat~=5.0",
+ "myst-parser>=0.18.0",
+ "nbformat>=5.0",
"pyyaml",
- "sphinx>=4,<6",
+ "sphinx>=4,<8",
"typing-extensions",
# ipykernel is not a requirement of the library,
# but is a common requirement for users (registers the python3 kernel)
@@ -73,7 +73,7 @@ rtd = [
"altair",
"bokeh",
"coconut>=1.4.3,<2.3.0",
- "ipykernel~=5.5",
+ "ipykernel>=5.5",
"ipywidgets",
"jupytext~=1.11.2",
"matplotlib",
@@ -89,7 +89,7 @@ rtd = [
testing = [
"coverage>=6.4,<8.0",
"beautifulsoup4",
- "ipykernel~=5.5",
+ "ipykernel>=5.5",
# for issue with 8.1.0 see https://github.com/ipython/ipython/issues/13554
# TODO ipython 8.5 subtly changes output of test regressions
# see https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#restore-line-numbers-for-input
--
2.27.0

Binary file not shown.

BIN
myst_nb-1.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -2,14 +2,13 @@
%global pypi_name myst-nb %global pypi_name myst-nb
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.17.2 Version: 1.0.0
Release: 1 Release: 1
Summary: A collection of tools for working with Jupyter Notebooks in Sphinx. Summary: A collection of tools for working with Jupyter Notebooks in Sphinx.
License: MIT License: MIT
URL: https://github.com/executablebooks/myst-nb URL: https://github.com/executablebooks/myst-nb
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz Source0: %{url}/archive/%{version}/myst_nb-%{version}.tar.gz
Patch1: 0001-modify-the-limitation-of-version-required.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -32,7 +31,7 @@ Summary: %{summary}
A collection of tools for working with Jupyter Notebooks in Sphinx. A collection of tools for working with Jupyter Notebooks in Sphinx.
%prep %prep
%autosetup -p1 -n %{pypi_name}-%{version} %autosetup -p1 -n myst_nb-%{version}
%build %build
%pyproject_build %pyproject_build
@ -44,10 +43,13 @@ A collection of tools for working with Jupyter Notebooks in Sphinx.
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python3_sitelib}/myst_nb/* %{python3_sitelib}/myst_nb/*
%{python3_sitelib}/myst_nb-0.17.2.dist-info/ %{python3_sitelib}/myst_nb-*.dist-info/
%{_bindir}/mystnb* %{_bindir}/mystnb*
%changelog %changelog
* Wed Nov 22 2023 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.0.0-1
- Upgrade package to version 1.0.0
* Fri Jul 28 2023 zoujiancang<jczou@isoftstone.com> - 0.17.2-1 * Fri Jul 28 2023 zoujiancang<jczou@isoftstone.com> - 0.17.2-1
- Initial package - Initial package