public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Federico Pellegrin <fede@evolware.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-aexpect] rawhide: Bump to 1.8.0 (rhbz#2026200 and rhbz#2414808), new Python macros (rhbz#2377418)
Date: Mon, 14 Sep 2026 04:05:15 GMT	[thread overview]
Message-ID: <178935871543.1.4844592219022173983.rpms-python-aexpect-888ef28cb9c9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-aexpect
Branch : rawhide
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=rawhide

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

                 reply	other threads:[~2026-09-14  4:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178935871543.1.4844592219022173983.rpms-python-aexpect-888ef28cb9c9@fedoraproject.org \
    --to=fede@evolware.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox