!2 需要引入包python-jupyter-client v8.3.0
From: @li-miaomiao_zhr Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
3e0d1bb94c
25
0001-fix-Illegal-char.patch
Normal file
25
0001-fix-Illegal-char.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 2520736e60dab6f445dbd02c7eae29e286653ac7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: li-miaomiao_zhr <mmlidc@isoftstone.com>
|
||||||
|
Date: Thu, 13 Jul 2023 19:39:49 +0800
|
||||||
|
Subject: [PATCH] fix Illegal char *
|
||||||
|
|
||||||
|
---
|
||||||
|
pyproject.toml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 57cfb14..2e5794a 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -25,7 +25,7 @@ classifiers = [
|
||||||
|
requires-python = ">=3.8"
|
||||||
|
dependencies = [
|
||||||
|
"importlib_metadata>=4.8.3;python_version<\"3.10\"",
|
||||||
|
- "jupyter_core>=4.12,!=5.0.*",
|
||||||
|
+ "jupyter_core>=4.12,!=5.0",
|
||||||
|
"python-dateutil>=2.8.2",
|
||||||
|
"pyzmq>=23.0",
|
||||||
|
"tornado>=6.2",
|
||||||
|
--
|
||||||
|
2.39.1
|
||||||
|
|
||||||
59
jupyter-client.spec
Normal file
59
jupyter-client.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name jupyter-client
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 8.3.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Jupyter protocol implementation and client libraries.
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://github.com/jupyter/jupyter_client
|
||||||
|
Source0: %{url}/archive/%{version}/jupyter_client-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
Patch0: 0001-fix-Illegal-char.patch
|
||||||
|
|
||||||
|
# Base Requires
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools_scm
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the reference implementation of the Jupyter protocol.
|
||||||
|
It also provides client and kernel management APIs for working with kernels.
|
||||||
|
It also provides the `jupyter kernelspec` entrypoint for installing kernelspecs
|
||||||
|
for use with Jupyter frontends.
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: Jupyter protocol implementation and client libraries.
|
||||||
|
BuildArch: noarch
|
||||||
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
This package contains the reference implementation of the Jupyter protocol.
|
||||||
|
It also provides client and kernel management APIs for working with kernels.
|
||||||
|
It also provides the `jupyter kernelspec` entrypoint for installing kernelspecs
|
||||||
|
for use with Jupyter frontends.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n jupyter_client-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/jupyter-kernel
|
||||||
|
%{_bindir}/jupyter-kernelspec
|
||||||
|
%{_bindir}/jupyter-run
|
||||||
|
%{python3_sitelib}/jupyter_client-8.3.0.dist-info/
|
||||||
|
%{python3_sitelib}/jupyter_client/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 13 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 8.3.0-1
|
||||||
|
- Package init
|
||||||
BIN
jupyter_client-8.3.0.tar.gz
Normal file
BIN
jupyter_client-8.3.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user