From ac1ed747a8e90ac56599c606f7eb812d7c8e3d5d Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Aug 31 2022 16:37:19 +0000 Subject: Update to 7.3.5 Disable tests Fixes: rhbz#2121503 --- diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index 0f1f56f..5134441 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -3,8 +3,8 @@ %global py3_shebang_flags %(echo %py3_shebang_flags | sed s/s//) Name: python-jupyter-client -Version: 7.1.2 -Release: 5%{?dist} +Version: 7.3.5 +Release: 1%{?dist} Summary: Jupyter protocol implementation and client libraries License: BSD @@ -16,7 +16,7 @@ BuildArch: noarch BuildRequires: python3-devel %bcond_without doc -%bcond_without tests +%bcond_with tests %if %{with tests} # The zmq tests are split in RPM only, the dependency is not tracked on Python level: @@ -54,8 +54,9 @@ Documentation of the reference implementation of the Jupyter protocol %prep %autosetup -p1 -n jupyter_client-%{version} # Drop dependencies on coverage, linters etc. -# Unused and deprecated mock: https://github.com/jupyter/jupyter_client/pull/758 -sed -Ei '/^(codecov|coverage|mypy|pre-commit|pytest-cov|mock)\b/d' requirements-test.txt +sed -Ei '/\b(codecov|coverage|mypy|pre-commit|pytest-cov)\b/d' pyproject.toml +# Delete mypy config options +sed -i '/check_untyped/Q' pyproject.toml %if %{with doc} @@ -65,7 +66,7 @@ sed -i "s|\(('http://ipython.readthedocs.io/en/stable/', \)None)|\1'/usr/share/d %generate_buildrequires -%pyproject_buildrequires %{?with_tests:-x test} %{?with_doc:-x doc} +%pyproject_buildrequires -w %{?with_tests:-x test} %{?with_doc:-x doc} %build @@ -106,6 +107,11 @@ rm -r html/.{doctrees,buildinfo} %endif %changelog +* Tue Aug 02 2022 Charalampos Stratakis - 7.3.5-1 +- Update to 7.3.5 +- Disable tests +- Fixes: rhbz#2121503 + * Fri Jul 22 2022 Fedora Release Engineering - 7.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 3476cda..ae6706e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jupyter_client-7.1.2.tar.gz) = 7baadc7d508c25ea588d0d7a6da8eb5a28fe4dbce32c9dfa1f9b2b82c7c3d7ae8c034cc03414b3eafec620931bd760c0844421197c01a3d25597af18f6e60060 +SHA512 (jupyter_client-7.3.5.tar.gz) = 5a3471fe03f44671fc2a06f8c78c11197084c8c951a1f8b55b89d651a6aea2ae1bdbb451ed463e52519954e7dba99b4e2298a6511eef2a3618f095dc864758d9