From 3da2121c4accf22ed9d0ad30b86da401efca6d7d18aaceaea9239ea8fe14bd27 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 13 Nov 2019 15:40:44 +0000 Subject: [PATCH] Accepting request 748397 from home:TheBlackCat:branches:devel:languages:python:jupyter - Drop python2 support due to python-notebook dropping python2 support - jupyter_client renamed to jupyter-client - jupyter_core renamed to jupyter-core OBS-URL: https://build.opensuse.org/request/show/748397 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=12 --- python-jupyter-server.changes | 7 +++++++ python-jupyter-server.spec | 13 +++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/python-jupyter-server.changes b/python-jupyter-server.changes index 4664f26..cee8575 100644 --- a/python-jupyter-server.changes +++ b/python-jupyter-server.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 12 17:38:51 UTC 2019 - Todd R + +- Drop python2 support due to python-notebook dropping python2 support +- jupyter_client renamed to jupyter-client +- jupyter_core renamed to jupyter-core + ------------------------------------------------------------------- Sun Aug 11 01:27:08 UTC 2019 - Todd R diff --git a/python-jupyter-server.spec b/python-jupyter-server.spec index 7d7725e..1de9c15 100644 --- a/python-jupyter-server.spec +++ b/python-jupyter-server.spec @@ -16,6 +16,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-jupyter-server Version: 0.1.1 Release: 0 @@ -33,8 +34,8 @@ BuildRequires: %{python_module Send2Trash} BuildRequires: %{python_module coverage} BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module ipython_genutils} -BuildRequires: %{python_module jupyter_client >= 5.2.0} -BuildRequires: %{python_module jupyter_core >= 4.4.0} +BuildRequires: %{python_module jupyter-client >= 5.2.0} +BuildRequires: %{python_module jupyter-core >= 4.4.0} BuildRequires: %{python_module nbconvert} BuildRequires: %{python_module nbformat} BuildRequires: %{python_module nbval} @@ -56,8 +57,8 @@ Requires: python-Jinja2 Requires: python-Send2Trash Requires: python-ipykernel Requires: python-ipython_genutils -Requires: python-jupyter_client >= 5.2.0 -Requires: python-jupyter_core >= 4.4.0 +Requires: python-jupyter-client >= 5.2.0 +Requires: python-jupyter-core >= 4.4.0 Requires: python-nbconvert Requires: python-nbformat Requires: python-prometheus_client @@ -84,8 +85,8 @@ This package provides the python interface. %package -n jupyter-jupyter-server Summary: The Jupyter Server Requires: jupyter-ipykernel -Requires: jupyter-jupyter_client >= 5.2.0 -Requires: jupyter-jupyter_core >= 4.4.0 +Requires: jupyter-jupyter-client >= 5.2.0 +Requires: jupyter-jupyter-core >= 4.4.0 Requires: jupyter-nbconvert Requires: jupyter-nbformat Requires: python3-jupyter-server = %{version}