import python-execnet-2.1.1-4.el10

i10ce changed/i10ce/python-execnet-2.1.1-4.el10
Arkady L. Shane 1 month ago
parent 5bfcede0b6
commit f785d06f9e
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

3
.gitignore vendored

@ -1,2 +1 @@
/execnet-*.tar.gz SOURCES/execnet-2.1.1.tar.gz
/execnet-*.zip

@ -0,0 +1 @@
80f44189499cab60a01e98bb87cf194803691c63 SOURCES/execnet-2.1.1.tar.gz

@ -1,8 +1,13 @@
%global srcname execnet %global srcname execnet
# Some of the BuildRequires are used in tests only when installed.
# To speedup bootstrap of the next Python version in Fedora
# we allow disabling them.
%bcond optional_test_deps %{undefined rhel}
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.9.0 Version: 2.1.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: Distributed Python deployment and communication Summary: Distributed Python deployment and communication
License: MIT License: MIT
URL: https://github.com/pytest-dev/execnet URL: https://github.com/pytest-dev/execnet
@ -10,9 +15,9 @@ Source0: %pypi_source
BuildArch: noarch BuildArch: noarch
BuildRequires: make BuildRequires: make
BuildRequires: %{_bindir}/ps BuildRequires: /usr/bin/ps
%description %global _description %{expand:
execnet provides a share-nothing model with channel-send/receive execnet provides a share-nothing model with channel-send/receive
communication for distributing execution across many Python communication for distributing execution across many Python
interpreters across version, platform and network barriers. It has a interpreters across version, platform and network barriers. It has a
@ -21,30 +26,21 @@ minimal and fast API targetting the following uses:
* distribute tasks to (many) local or remote CPUs * distribute tasks to (many) local or remote CPUs
* write and deploy hybrid multi-process applications * write and deploy hybrid multi-process applications
* write scripts to administer multiple environments * write scripts to administer multiple environments
}
%description %_description
%package -n python3-%{srcname} %package -n python3-%{srcname}
Summary: Elastic Python Deployment Summary: Elastic Python Deployment
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools %if %{with optional_test_deps}
BuildRequires: python3-setuptools_scm #BuildRequires: python3-eventlet -- retired in Fedora 41+
BuildRequires: python3-apipkg
BuildRequires: python3-pytest
#BuildRequires: python3-eventlet -- not yet ready for Python 3.10
BuildRequires: python3-gevent BuildRequires: python3-gevent
BuildRequires: python3-pytest-timeout %endif
BuildRequires: %{_bindir}/sphinx-build-3 BuildRequires: %{_bindir}/sphinx-build-3
%{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname} %description -n python3-%{srcname} %_description
execnet provides a share-nothing model with channel-send/receive
communication for distributing execution across many Python
interpreters across version, platform and network barriers. It has a
minimal and fast API targetting the following uses:
* distribute tasks to (many) local or remote CPUs
* write and deploy hybrid multi-process applications
* write scripts to administer multiple environments
%prep %prep
@ -55,17 +51,22 @@ find . -type f -a \( -name '*.py' -o -name 'py.*' \) \
-exec chmod u=rw,go=r {} \; -exec chmod u=rw,go=r {} \;
%generate_buildrequires
%pyproject_buildrequires -t
%build %build
SETUPTOOLS_SCM_PRETEND_VERSION=%{version} SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_build %pyproject_wheel
make -C doc html PYTHONPATH=$(pwd) make -C doc html PYTHONPATH=$(pwd)/src
# remove hidden file # remove hidden file
rm doc/_build/html/.buildinfo rm doc/_build/html/.buildinfo
%install %install
SETUPTOOLS_SCM_PRETEND_VERSION=%{version} SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_install %pyproject_install
%pyproject_save_files -l execnet
%check %check
@ -73,22 +74,70 @@ PYTEST_SELECT='not test_popen_io[gevent-sys.executable]'
PYTEST_SELECT+=' and not [gevent-socket]' PYTEST_SELECT+=' and not [gevent-socket]'
PYTEST_SELECT+=' and not [eventlet-socket]' PYTEST_SELECT+=' and not [eventlet-socket]'
PYTEST_SELECT+=' and not [python2.7]' PYTEST_SELECT+=' and not [python2.7]'
PYTHONPATH=$(pwd) \ PYTHONPATH=$(pwd)/src \
py.test-%{python3_version} -r s \ py.test-%{python3_version} -r s \
-k "$PYTEST_SELECT" \ -k "$PYTEST_SELECT" \
testing \ testing \
--timeout=30 --timeout=30
%files -n python3-%{srcname} %files -n python3-%{srcname} -f %{pyproject_files}
%{python3_sitelib}/%{srcname}*/
%doc README.rst %doc README.rst
%doc CHANGELOG.rst
%doc doc/_build/html %doc doc/_build/html
%license LICENSE %license LICENSE
%changelog %changelog
* Tue Dec 17 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.1.1-4
- Rebuilt for MSVSphere 10
* Mon Aug 12 2024 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-4
- Generate BuildRequires instead of manually listing them
- Drop some unused BuildRequires
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.1.1-2
- Bootstrap for Python 3.13
* Sun Apr 14 2024 Thomas Moschny <thomas.moschny@gmx.de> - 2.1.1-1
- Update to 2.1.1.
- Modernize spec file.
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jun 16 2023 Miro Hrončok <mhroncok@redhat.com> - 1.9.0-11
- Run gevent tests during build
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.9.0-10
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 30 2022 Lumír Balhar <lbalhar@redhat.com> - 1.9.0-8
- Fix compatibility with pytest 7.2 (#2142053)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jun 18 2022 Python Maint <python-maint@redhat.com> - 1.9.0-6
- Rebuilt for Python 3.11
* Wed Jun 15 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 1.9.0-5
- apipkg dependency removed from 1.9.0
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.9.0-4
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-3 * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

@ -1 +0,0 @@
SHA512 (execnet-1.9.0.tar.gz) = d425e7b6f3708efecb5dfa2c36a837cb55f2c32cf2ec0c1dc11cd1ca6ea614d119d04908b84dd5a3593c87db35e71fee202f843665c853ac3538479f60c83d60
Loading…
Cancel
Save