|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-ipyparallel
|
|
|
|
# spec file for package python-ipyparallel
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
@@ -16,9 +16,9 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define distversion 8.8
|
|
|
|
%define distversion 9.0.1
|
|
|
|
Name: python-ipyparallel
|
|
|
|
Name: python-ipyparallel
|
|
|
|
Version: 8.8.0
|
|
|
|
Version: 9.0.1
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
Summary: Interactive parallel computing library for IPython
|
|
|
|
Summary: Interactive parallel computing library for IPython
|
|
|
|
License: BSD-3-Clause
|
|
|
|
License: BSD-3-Clause
|
|
|
@@ -36,28 +36,28 @@ BuildRequires: jupyter-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
# /SECTION
|
|
|
|
# /SECTION
|
|
|
|
# SECTION runtime requirements
|
|
|
|
# SECTION runtime requirements
|
|
|
|
BuildRequires: %{python_module entrypoints}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module decorator}
|
|
|
|
BuildRequires: %{python_module decorator}
|
|
|
|
BuildRequires: %{python_module ipykernel >= 4.4}
|
|
|
|
BuildRequires: %{python_module ipykernel >= 6.9.1}
|
|
|
|
BuildRequires: %{python_module ipython >= 4}
|
|
|
|
BuildRequires: %{python_module ipython >= 5}
|
|
|
|
BuildRequires: %{python_module jupyter-client >= 5}
|
|
|
|
BuildRequires: %{python_module jupyter-client >= 7}
|
|
|
|
BuildRequires: %{python_module psutil}
|
|
|
|
BuildRequires: %{python_module psutil}
|
|
|
|
BuildRequires: %{python_module python-dateutil >= 2.1}
|
|
|
|
BuildRequires: %{python_module python-dateutil >= 2.1}
|
|
|
|
BuildRequires: %{python_module pyzmq >= 18}
|
|
|
|
BuildRequires: %{python_module pyzmq >= 25}
|
|
|
|
BuildRequires: %{python_module tornado >= 5.1}
|
|
|
|
BuildRequires: %{python_module tornado >= 6.1}
|
|
|
|
BuildRequires: %{python_module tqdm}
|
|
|
|
BuildRequires: %{python_module tqdm}
|
|
|
|
BuildRequires: %{python_module traitlets >= 4.3}
|
|
|
|
BuildRequires: %{python_module traitlets >= 5}
|
|
|
|
|
|
|
|
Requires: %{python_module importlib_metadata >= 3.6 if %python-base < 3.10}
|
|
|
|
Requires: python-decorator
|
|
|
|
Requires: python-decorator
|
|
|
|
Requires: python-entrypoints
|
|
|
|
Requires: python-ipykernel >= 6.9.1
|
|
|
|
Requires: python-ipykernel >= 4.4
|
|
|
|
Requires: python-ipython >= 5
|
|
|
|
Requires: python-ipython >= 4
|
|
|
|
Requires: python-jupyter-client >= 7
|
|
|
|
Requires: python-jupyter-client
|
|
|
|
|
|
|
|
Requires: python-psutil
|
|
|
|
Requires: python-psutil
|
|
|
|
Requires: python-python-dateutil >= 2.1
|
|
|
|
Requires: python-python-dateutil >= 2.1
|
|
|
|
Requires: python-pyzmq >= 18
|
|
|
|
Requires: python-pyzmq >= 25
|
|
|
|
Requires: python-tornado >= 5.1
|
|
|
|
Requires: python-tornado >= 6.1
|
|
|
|
Requires: python-tqdm
|
|
|
|
Requires: python-tqdm
|
|
|
|
Requires: python-traitlets >= 4.3
|
|
|
|
Requires: python-traitlets >= 5
|
|
|
|
|
|
|
|
Requires: (python-importlib_metadata >= 3.6 if python-base < 3.10)
|
|
|
|
# /SECTION
|
|
|
|
# /SECTION
|
|
|
|
Requires(post): update-alternatives
|
|
|
|
Requires(post): update-alternatives
|
|
|
|
Requires(postun): update-alternatives
|
|
|
|
Requires(postun): update-alternatives
|
|
|
@@ -111,7 +111,6 @@ Documentation and help files for ipyparallel.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n ipyparallel-%{version}
|
|
|
|
%autosetup -p1 -n ipyparallel-%{version}
|
|
|
|
sed -i 's/--color=yes//' pyproject.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
%pyproject_wheel
|
|
|
@@ -126,7 +125,12 @@ sed -i 's/--color=yes//' pyproject.toml
|
|
|
|
|
|
|
|
|
|
|
|
%{python_expand # These files are meant to be runnable stand-alone, so they should be executable
|
|
|
|
%{python_expand # These files are meant to be runnable stand-alone, so they should be executable
|
|
|
|
pushd %{buildroot}%{$python_sitelib}/ipyparallel
|
|
|
|
pushd %{buildroot}%{$python_sitelib}/ipyparallel
|
|
|
|
for f in apps/iploggerapp.py cluster/app.py engine/app.py controller/app.py controller/heartmonitor.py; do
|
|
|
|
for f in apps/iploggerapp.py \
|
|
|
|
|
|
|
|
controller/app.py controller/heartmonitor.py \
|
|
|
|
|
|
|
|
cluster/app.py cluster/shellcmd.py cluster/shellcmd_receive.py \
|
|
|
|
|
|
|
|
engine/app.py \
|
|
|
|
|
|
|
|
shellcmd.py
|
|
|
|
|
|
|
|
do
|
|
|
|
chmod a+x $f
|
|
|
|
chmod a+x $f
|
|
|
|
# Fix wrong-script-interpreter
|
|
|
|
# Fix wrong-script-interpreter
|
|
|
|
sed -i "s|#!%{_bindir}/env python.*|#!%__$python|" $f
|
|
|
|
sed -i "s|#!%{_bindir}/env python.*|#!%__$python|" $f
|
|
|
@@ -162,7 +166,7 @@ donttest+=" or test_local_ip_true_doesnt_trigger_warning"
|
|
|
|
%python_alternative %{_bindir}/ipcluster
|
|
|
|
%python_alternative %{_bindir}/ipcluster
|
|
|
|
%python_alternative %{_bindir}/ipcontroller
|
|
|
|
%python_alternative %{_bindir}/ipcontroller
|
|
|
|
%python_alternative %{_bindir}/ipengine
|
|
|
|
%python_alternative %{_bindir}/ipengine
|
|
|
|
%{python_sitelib}/ipyparallel-%{version}*-info
|
|
|
|
%{python_sitelib}/ipyparallel-%{version}.dist-info
|
|
|
|
%{python_sitelib}/ipyparallel/
|
|
|
|
%{python_sitelib}/ipyparallel/
|
|
|
|
|
|
|
|
|
|
|
|
%files -n jupyter-ipyparallel
|
|
|
|
%files -n jupyter-ipyparallel
|
|
|
|