public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-aexpect] f45: Bump to 1.8.0 (rhbz#2026200 and rhbz#2414808), new Python macros (rhbz#2377418)
@ 2026-09-14 4:15 Federico Pellegrin
0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-09-14 4:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-aexpect
Branch : f45
Commit : 888ef28cb9c9abff2e0e3e99538d2528cef4dd36
Author : Federico Pellegrin <fede@evolware.org>
Date : 2026-09-14T06:05:00+02:00
Stats : +21/-12 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-aexpect/c/888ef28cb9c9abff2e0e3e99538d2528cef4dd36?branch=f45
Log:
Bump to 1.8.0 (rhbz#2026200 and rhbz#2414808), new Python macros (rhbz#2377418)
---
diff --git a/.gitignore b/.gitignore
index b20ebc0..0202e13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/aexpect-1.5.1.tar.gz
/aexpect-1.6.1.tar.gz
/aexpect-1.6.2.tar.gz
+/aexpect-1.8.0.tar.gz
diff --git a/python-aexpect.spec b/python-aexpect.spec
index c4b0494..5e28e0e 100644
--- a/python-aexpect.spec
+++ b/python-aexpect.spec
@@ -18,12 +18,11 @@
%global gittar aexpect-%{shortcommit}.tar.gz
%endif
-# Selftests are provided but skipped because they use unsupported tooling.
-%global with_tests 0
+%global with_tests 1
Name: python-aexpect
-Version: 1.6.2
-Release: 21%{?gitrel}%{?dist}
+Version: 1.8.0
+Release: 1%{?gitrel}%{?dist}
Summary: A python library to control interactive applications
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -38,7 +37,9 @@ Source0: %{url}/archive/%{commit}/%{gittar}
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
+%if %{with_tests}
+BuildRequires: python3dist(pytest)
+%endif
%description
Aexpect is a python library used to control interactive applications, very
@@ -60,27 +61,34 @@ sftp, telnet, among others.
%autosetup -n aexpect-%{commit} -p 1
%endif
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files aexpect
ln -s aexpect_helper %{buildroot}%{_bindir}/aexpect_helper-%{python3_pkgversion}
ln -s aexpect_helper %{buildroot}%{_bindir}/aexpect_helper-%{python3_version}
%if %{with_tests}
%check
-selftests/checkall
+# We need to disable some tests that try to connect on network
+%pytest -v tests/ -k "not test_pass_fds_spawn and not test_share_remote_objects"
%endif
-%files -n python%{python3_pkgversion}-aexpect
+%files -n python%{python3_pkgversion}-aexpect -f %{pyproject_files}
%license LICENSE
%doc README.rst
-%{python3_sitelib}/aexpect/
-%{python3_sitelib}/aexpect-%{version}-py%{python3_version}.egg-info/
%{_bindir}/aexpect_helper*
%changelog
+* Mon Sep 14 2026 Federico Pellegrin <fede@evolware.org> - 1.8.0-1
+- Bump to 1.8.0 (rhbz#2026200 and rhbz#2414808), new Python macros (rhbz#2377418)
+- Enable some unit tests
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 54c013c..369061a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (aexpect-1.6.2.tar.gz) = 80f3456f28330c7feff04df363b018cd7b92a93d7250664248a661e4d5bb5fb2676bc9d45e10f4515ab04eeb1d185e1fa6bea14b0af267b6adf8efd7f4811b2c
+SHA512 (aexpect-1.8.0.tar.gz) = f30dce6020709f15ae0f97f5ac5966a4946eedf552d7f9b2057233d0e2fb028f3af2825922602961fef5a728bc4130053a27a94ae5701b64707f5ecc48733853
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-14 4:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-14 4:15 [rpms/python-aexpect] f45: Bump to 1.8.0 (rhbz#2026200 and rhbz#2414808), new Python macros (rhbz#2377418) Federico Pellegrin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox