Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37570710
en ru br
ALT Linux repos
S:8.3.1-alt2

Group :: Development/Python3
RPM: python3-module-jupyter_client

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname jupyter_client

%def_with check

Name: python3-module-%oname
Version: 8.2.0
Release: alt1
Summary: Jupyter protocol implementation and client libraries
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/jupyter-client/
Vcs: https://github.com/jupyter/jupyter_client/

BuildArch: noarch

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-hatchling
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-pytest-jupyter
BuildRequires: python3-module-pytest-timeout
BuildRequires: openssh-clients
BuildRequires: iproute2
%endif

%py3_provides %oname

%description
jupyter_client 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
%setup
sed -i '/--color=yes/d' pyproject.toml

%build
%pyproject_build

%install
%pyproject_install

%check
sed -i '/localinterfaces._load_ips_ifconfig/d' tests/test_localinterfaces.py
%pyproject_run_pytest -k 'not test_input_request'

%files
%doc *.md
%_bindir/*
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin