commit ea2ec1b41c99dcd15006b1a16cdbe878b8de105e Author: tigro Date: Sun Jan 5 20:47:13 2025 +0300 import python-ipyparallel-8.8.0-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e01fb8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ipyparallel-8.8.0.tar.gz diff --git a/.python-ipyparallel.metadata b/.python-ipyparallel.metadata new file mode 100644 index 0000000..24eebd2 --- /dev/null +++ b/.python-ipyparallel.metadata @@ -0,0 +1 @@ +c97938ab4298de0cf0ae45527b66d0b95d23b63f SOURCES/ipyparallel-8.8.0.tar.gz diff --git a/SPECS/python-ipyparallel.spec b/SPECS/python-ipyparallel.spec new file mode 100644 index 0000000..80d4d3e --- /dev/null +++ b/SPECS/python-ipyparallel.spec @@ -0,0 +1,304 @@ +Name: python-ipyparallel +Version: 8.8.0 +Release: 4%{?dist} +Summary: Interactive Parallel Computing with IPython + +License: BSD-3-Clause +URL: https://github.com/ipython/ipyparallel +Source0: %pypi_source ipyparallel + +BuildArch: noarch +BuildRequires: make +BuildRequires: python3-devel >= 3.8 +BuildRequires: python3-pip +BuildRequires: python3dist(hatchling) >= 0.25 +BuildRequires: python3dist(entrypoints) +BuildRequires: python3dist(decorator) +BuildRequires: python3dist(pyzmq) >= 18 +BuildRequires: python3dist(traitlets) >= 4.3 +BuildRequires: python3dist(ipython) >= 4 +BuildRequires: python3dist(jupyter-client) >= 5 +BuildRequires: python3dist(ipykernel) >= 4.4 +BuildRequires: python3dist(tornado) >= 5.1 +BuildRequires: python3dist(psutil) +BuildRequires: python3dist(python-dateutil) >= 2.1 +BuildRequires: python3dist(tqdm) +# For testing: +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-asyncio) +BuildRequires: python3-zmq-tests + +%description +IPython Parallel (ipyparallel) is a Python package and collection of +CLI scripts for controlling clusters of IPython processes, built on +the Jupyter protocol. + +%package -n python3-ipyparallel +Summary: Interactive Parallel Computing with IPython +%py_provides python3-ipyparallel +Requires: python-jupyter-filesystem >= 4.7.0-5 +Obsoletes: python-ipyparallel-doc <= 8.7.0 + +%description -n python3-ipyparallel +IPython Parallel (ipyparallel) is a Python package and collection of +CLI scripts for controlling clusters of IPython processes, built on +the Jupyter protocol. + +%package -n python3-ipyparallel+test +Summary: Tests for python3-ipyparallel +%py_provides python3-ipyparallel+test +%py_provides python3-ipyparallel-tests +Obsoletes: python3-ipyparallel-tests < 8.4.1-3 +Requires: python3-ipyparallel = %{version}-%{release} +Requires: python3-zmq-tests + +%description -n python3-ipyparallel+test +This package contains the tests of python3-ipyparallel. + +%prep +%setup -q -n ipyparallel-%{version} + +rm ipyparallel/labextension/schemas/ipyparallel-labextension/package.json.orig + +%build +%pyproject_wheel + +%install +%pyproject_install + +for f in apps/iploggerapp.py cluster/app.py controller/app.py \ + controller/heartmonitor.py engine/app.py ; do + sed '/\/usr\/bin\/env/d' -i %{buildroot}%{python3_sitelib}/ipyparallel/${f} +done + +# Fix wrong install directory for configuraton files +mv %{buildroot}%{_prefix}%{_sysconfdir} %{buildroot}%{_sysconfdir} + +%check +# The version of jupyter-client in Fedora 39/40 calls datetime.utcnow() +# Ignore DeprecationWarning from Python 3.12 due to this +# The version of jupyter-client in Fedora 41 calls datetime.strptime() +# with a deprecated set of arguments +# Ignore DeprecationWarning from Python 3.13 due to this +%pytest -v --color=no \ + -W "ignore:datetime.datetime.utcnow() is deprecated:DeprecationWarning" \ + -W "ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning" + +%files -n python3-ipyparallel +%license COPYING.md +%doc README.md +%{python3_sitelib}/ipyparallel-*.*-info +%dir %{python3_sitelib}/ipyparallel +%{python3_sitelib}/ipyparallel/*.py +%{python3_sitelib}/ipyparallel/__pycache__ +%{python3_sitelib}/ipyparallel/apps +%{python3_sitelib}/ipyparallel/client +%{python3_sitelib}/ipyparallel/cluster +%{python3_sitelib}/ipyparallel/controller +%{python3_sitelib}/ipyparallel/engine +%{python3_sitelib}/ipyparallel/labextension +%{python3_sitelib}/ipyparallel/nbextension +%{python3_sitelib}/ipyparallel/serialize +%{_bindir}/ipcluster +%{_bindir}/ipcontroller +%{_bindir}/ipengine +%{_datadir}/jupyter/labextensions/ipyparallel-labextension +%{_datadir}/jupyter/nbextensions/ipyparallel +%config(noreplace) %{_sysconfdir}/jupyter/jupyter_notebook_config.d/ipyparallel.json +%config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/ipyparallel.json +%config(noreplace) %{_sysconfdir}/jupyter/nbconfig/tree.d/ipyparallel.json + +%files -n python3-ipyparallel+test +%ghost %{python3_sitelib}/ipyparallel-*.*-info +%{python3_sitelib}/ipyparallel/tests + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 8.8.0-4 +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 8.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jun 09 2024 Python Maint - 8.8.0-3 +- Rebuilt for Python 3.13 + +* Sun Jun 09 2024 Mattias Ellert - 8.8.0-2 +- Ignore deprecation warnings from datetime.strptime() + +* Sat Apr 06 2024 Mattias Ellert - 8.8.0-1 +- Update to 8.8.0 + +* Tue Mar 05 2024 Mattias Ellert - 8.7.0-1 +- Update to 8.7.0 +- Drop patches (accepted upstream) +- Drop documentation package (build dependency myst-nb not available) + +* Fri Jan 26 2024 Fedora Release Engineering - 8.6.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 8.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 8.6.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 03 2023 Python Maint - 8.6.1-3 +- Rebuilt for Python 3.12 + +* Sat Apr 15 2023 Mattias Ellert - 8.6.1-2 +- Fix AttributeError in tests + +* Fri Apr 14 2023 Mattias Ellert - 8.6.1-1 +- Update to 8.6.1 + +* Thu Mar 30 2023 Mattias Ellert - 8.5.1-1 +- Update to 8.5.1 +- Use source from PyPI + +* Sat Mar 18 2023 Mattias Ellert - 8.5.0-1 +- Update to 8.5.0 +- Drop patches (accepted upstream) + +* Fri Jan 20 2023 Fedora Release Engineering - 8.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 03 2022 Mattias Ellert - 8.4.1-3 +- Rename tests subpackage to fix auto provides +- Ignore deprecation warnings from jupyter-core + +* Fri Jul 22 2022 Fedora Release Engineering - 8.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jun 26 2022 Mattias Ellert - 8.4.1-1 +- Update to 8.4.1 +- Drop python 3.11 patch (accepted upstream) +- Use the pyproject rpm macros + +* Thu Jun 23 2022 Miro Hrončok - 8.2.1-3 +- Build with pydata-sphinx-theme again + +* Mon Jun 20 2022 Tomáš Hrnčiar - 8.2.1-2 +- Add patch for Python 3.11 compatibility + +* Tue Apr 05 2022 Mattias Ellert - 8.2.1-1 +- Update to 8.2.1 + +* Mon Feb 07 2022 Mattias Ellert - 8.2.0-1 +- Update to 8.2.0 + +* Fri Jan 21 2022 Fedora Release Engineering - 8.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Dec 23 2021 Mattias Ellert - 8.1.0-1 +- Update to 8.1.0 + +* Mon Nov 15 2021 Mattias Ellert - 8.0.0-1 +- Update to 8.0.0 + +* Sun Oct 03 2021 Mattias Ellert - 7.1.0-1 +- Update to 7.1.0 + +* Tue Sep 14 2021 Mattias Ellert - 7.0.1-1 +- Update to 7.0.1 + +* Fri Jul 23 2021 Fedora Release Engineering - 6.3.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 6.3.0-7 +- Rebuilt for Python 3.10 + +* Thu May 06 2021 Mattias Ellert - 6.3.0-6 +- Ignore deprecation warnings + +* Tue Apr 13 2021 Mattias Ellert - 6.3.0-5 +- Disable the test_px_blocking and test_px_nonblocking tests on Fedora 35+ +- Remove obsolete scriptlet for removing old style config + +* Wed Jan 27 2021 Fedora Release Engineering - 6.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 6.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 6.3.0-2 +- Rebuilt for Python 3.9 + +* Wed May 06 2020 Mattias Ellert - 6.3.0-1 +- Update to 6.3.0 +- Drop patches (accepted upstream, or previously backported) + +* Mon Apr 20 2020 Mattias Ellert - 6.2.5-1 +- Update to 6.2.5 +- Remove Python 2 parts from the spec file (Fedora 29 is EOL) +- Drop patches (accepted upstream, or previously backported) +- Prevent KeyError when handling heart failures of already shut down engines +- Print more helpful errors from pytest.warns(None) +- Fix client test for python 3.8 + +* Thu Jan 30 2020 Fedora Release Engineering - 6.2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Oct 01 2019 Mattias Ellert - 6.2.4-4 +- Compatibility with ipykernel 5.1.2 (backport from upstream) + +* Mon Aug 12 2019 Mattias Ellert - 6.2.4-3 +- Compatibility fixes for Python 3.7, 3.8 (backport from upstream) +- Use unittest.mock if available +- Adapt to Python 3.8 with PEP 570 +- Disable the test_abort test (occasional random failures) + +* Fri Jul 26 2019 Fedora Release Engineering - 6.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon May 13 2019 Mattias Ellert - 6.2.4-1 +- Update to 6.2.4 +- Avoid python3-mock dependency + +* Sat Feb 02 2019 Fedora Release Engineering - 6.2.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Nov 13 2018 Mattias Ellert - 6.2.3-2 +- Don't build Python 2 packages for Fedora >= 30 + +* Mon Oct 22 2018 Mattias Ellert - 6.2.3-1 +- Update to 6.2.3 + +* Sat Jul 14 2018 Fedora Release Engineering - 6.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 02 2018 Mattias Ellert - 6.2.2-1 +- Update to 6.2.2 + +* Tue Jun 19 2018 Miro Hrončok - 6.2.1-2 +- Rebuilt for Python 3.7 + +* Mon Jun 11 2018 Mattias Ellert - 6.2.1-1 +- Update to 6.2.1 +- This version uses the possibility to split the configuration files into + smaller files in .d directories introduced in Jupyter notebook 5.3.0 +- Drop scriptlets for handling the old configuration +- Add scriptlet to remove old configuration when updating from earlier versions +- Enable the test_wait_for_send test again (the test suite now tries it three + times before failing) + +* Mon Jun 11 2018 Miro Hrončok - 6.1.1-2 +- Don't own /usr/share/jupyter/nbextensions, + require python-jupyter-filesystem instead (#1589420) + +* Wed Feb 07 2018 Mattias Ellert - 6.1.1-1 +- Update to 6.1.1 + +* Tue Feb 06 2018 Mattias Ellert - 6.1.0-1 +- Update to 6.1.0 +- Drop patch python-ipyparallel-pr254.patch (previously backported) +- Only provide one documentation package +- Disable the test_wait_for_send test (occasional random failures) + +* Thu Jul 27 2017 Fedora Release Engineering - 6.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu May 18 2017 Mattias Ellert - 6.0.2-2 +- Put tests in a separate subpackage + +* Sun Apr 30 2017 Mattias Ellert - 6.0.2-1 +- Initial packaging