Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37731320
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-jupyter_client

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin