Init myst-nb to version 0.17.2
This commit is contained in:
parent
41d37bf6c7
commit
0ca0fe71f8
48
0001-modify-the-limitation-of-version-required.patch
Normal file
48
0001-modify-the-limitation-of-version-required.patch
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
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
|
||||||
|
|
||||||
BIN
myst-nb-0.17.2.tar.gz
Normal file
BIN
myst-nb-0.17.2.tar.gz
Normal file
Binary file not shown.
53
python-myst-nb.spec
Normal file
53
python-myst-nb.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name myst-nb
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 0.17.2
|
||||||
|
Release: 1
|
||||||
|
Summary: A collection of tools for working with Jupyter Notebooks in Sphinx.
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/executablebooks/myst-nb
|
||||||
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||||
|
Patch1: 0001-modify-the-limitation-of-version-required.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-virtualenv
|
||||||
|
BuildRequires: python3-poetry-core
|
||||||
|
BuildRequires: python3-flit-core
|
||||||
|
|
||||||
|
%description
|
||||||
|
A collection of tools for working with Jupyter Notebooks in Sphinx.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
A collection of tools for working with Jupyter Notebooks in Sphinx.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/myst_nb/*
|
||||||
|
%{python3_sitelib}/myst_nb-0.17.2.dist-info/
|
||||||
|
%{_bindir}/mystnb*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 28 2023 zoujiancang<jczou@isoftstone.com> - 0.17.2-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user