!2 Init package with version 2.7.0

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-11-20 09:18:36 +00:00 committed by Gitee
commit 5c38ab85db
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 2c5bc931c15ce5c68cce4b390eae8c58b1cb3096 Mon Sep 17 00:00:00 2001
From: desert-sailor <dxwangk@isoftstone.com>
Date: Wed, 13 Sep 2023 16:39:56 +0800
Subject: [PATCH] modify the version limit for jupyter_core
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 139e60e..342afb1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -31,7 +31,7 @@ dependencies = [
"argon2-cffi",
"jinja2",
"jupyter_client>=7.4.4",
- "jupyter_core>=4.12,!=5.0.*",
+ "jupyter_core>=5.3.0",
"jupyter_server_terminals",
"nbconvert>=6.4.4",
"nbformat>=5.3.0",
--
2.33.0

BIN
jupyter_server-2.7.0.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,50 @@
Name: python-jupyter-server
Version: 2.7.0
Release: 1
Summary: The backend for Jupyter web applications
License: BSD-3-Clause
URL: https://pypi.org/project/jupyter-server/#files
Source0: %{url}/archive/%{version}/jupyter_server-%{version}.tar.gz
Patch1: 0001-modify-the-version-limit-for-jupyter-core.patch
BuildArch: noarch
%global _description %{expand:
The Jupyter Server provides the backend (i.e. the core services,
APIs, and REST endpoints) for Jupyter web applications like
Jupyter notebook, JupyterLab, and Voila.}
%description %_description
%package -n python3-jupyter-server
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-hatch-jupyter-builder
%description -n python3-jupyter-server %_description
%prep
%autosetup -p1 -n jupyter_server-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-jupyter-server
%license LICENSE
%doc README.md
%{_bindir}/jupyter-server
%{python3_sitelib}/jupyter_server-*.dist-info/
%{python3_sitelib}/jupyter_server/
%changelog
* Mon Jul 31 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 2.7.0-1
- Init package python3-jupyter-server of version 2.7.0