Compare commits

..

No commits in common. 'cs10' and 'c9' have entirely different histories.
cs10 ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/ptyprocess-0.7.0.tar.gz SOURCES/ptyprocess-0.6.0.tar.gz

@ -1 +1 @@
2d8830d1025c8e33149c7723c2f283122f9488c1 SOURCES/ptyprocess-0.7.0.tar.gz 39622a2ff2cb456f17db542d60e5a0782e354128 SOURCES/ptyprocess-0.6.0.tar.gz

@ -1,32 +0,0 @@
From a44312974bd9084aa568d2e18ce5b2a7e0e45983 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
Date: Mon, 23 Oct 2023 15:18:02 +0200
Subject: [PATCH] Remove unittest.makeSuite, gone from Python 3.13
See https://docs.python.org/3.13/whatsnew/3.13.html
"""
Removed the following unittest functions, deprecated in Python 3.11:
unittest.findTestCases()
unittest.makeSuite()
unittest.getTestCaseNames()
"""
The removed call does not seem to have any effect when the file is executed
directly, run trough unittest discover or pytest.
---
tests/test_invalid_binary.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tests/test_invalid_binary.py b/tests/test_invalid_binary.py
index cf28098..545f9f7 100755
--- a/tests/test_invalid_binary.py
+++ b/tests/test_invalid_binary.py
@@ -69,6 +69,3 @@ def test_invalid_binary(self):
if __name__ == '__main__':
unittest.main()
-
-suite = unittest.makeSuite(InvalidBinaryChars,'test')
-

@ -3,17 +3,14 @@
%bcond_without tests %bcond_without tests
Name: python-ptyprocess Name: python-ptyprocess
Version: 0.7.0 Version: 0.6.0
Release: 9%{?dist} Release: 12%{?dist}
Summary: Run a subprocess in a pseudo terminal Summary: Run a subprocess in a pseudo terminal
License: ISC License: ISC
URL: https://github.com/pexpect/ptyprocess URL: https://github.com/pexpect/ptyprocess
Source: %{pypi_source} Source: %{pypi_source}
# Remove unittest.makeSuite, gone from Python 3.13
Patch: https://github.com/pexpect/ptyprocess/pull/75.patch
BuildArch: noarch BuildArch: noarch
%description %description
@ -33,71 +30,26 @@ Launch a subprocess in a pseudo terminal (pty), and interact with both the
process and its pty. process and its pty.
%prep %prep
%autosetup -p1 -n ptyprocess-%{version} %autosetup -n ptyprocess-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build %build
%pyproject_wheel %py3_build
%install %install
%pyproject_install %py3_install
%pyproject_save_files ptyprocess
%if %{with tests} %if %{with tests}
%check %check
%{__python3} -m pytest -v %{__python3} -m pytest -v
%endif %endif
%files -n python3-ptyprocess -f %{pyproject_files} %files -n python3-ptyprocess
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python3_sitelib}/ptyprocess/
%{python3_sitelib}/ptyprocess-*.egg-info
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.7.0-9
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.0-8
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.7.0-4
- Rebuilt for Python 3.12
* Tue Jan 24 2023 Adam Williamson <awilliam@redhat.com> - 0.7.0-3
- Build with modern pyproject macros, fixes #2164207
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Aug 31 2022 Orion Poplawski <orion@nwra.com> - 0.7.0-1
- Update to 0.7.0
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.6.0-16
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.6.0-13
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-12 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save