public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/supervisor] rawhide: Update to 4.3.0 (rhbz#2485999)
@ 2026-06-18 15:27 Ali Erdinc Koroglu
  0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-06-18 15:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/supervisor
Branch : rawhide
Commit : 33d8dd42a06929382668193cbe91cff828b5bac5
Author : Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.com>
Date   : 2026-06-18T18:26:40+03:00
Stats  : +8/-251 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/supervisor/c/33d8dd42a06929382668193cbe91cff828b5bac5?branch=rawhide

Log:
Update to 4.3.0 (rhbz#2485999)

---
diff --git a/.gitignore b/.gitignore
index de140fb..78cab8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,16 +1 @@
-supervisor-3.0a8.tar.gz
-/supervisor-3.0a10.tar.gz
-/supervisor-3.0a12.tar.gz
-/supervisor-3.0.tar.gz
-/supervisor-3.1.3.tar.gz
-/supervisor-3.2.3.tar.gz
-/supervisor-3.3.1.tar.gz
-/supervisor-3.3.3.tar.gz
-/4aa8869064fd61cf8b1aa504e7e3b60ff0fcb96e.zip
-/supervisor-4.0.2.tar.gz
-/supervisor-4.0.4.tar.gz
-/supervisor-4.1.0.tar.gz
-/supervisor-4.2.0.tar.gz
-/supervisor-4.2.1.tar.gz
-/supervisor-4.2.2.tar.gz
-/supervisor-4.2.5.tar.gz
+/supervisor-*.tar.gz

diff --git a/pytest.patch b/pytest.patch
deleted file mode 100644
index e3b3e57..0000000
--- a/pytest.patch
+++ /dev/null
@@ -1,229 +0,0 @@
---- a/supervisor/tests/test_childutils.py	2024-10-22 18:43:19.525467944 +0300
-+++ b/supervisor/tests/test_childutils.py	2024-10-22 18:46:06.451534722 +0300
-@@ -132,10 +132,3 @@
-         listener.send(msg, stdout)
-         expected = '%s%s\n%s' % (begin, len(msg), msg)
-         self.assertEqual(stdout.getvalue(), expected)
--
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_confecho.py	2024-10-22 18:43:29.758410736 +0300
-+++ b/supervisor/tests/test_confecho.py	2024-10-22 18:46:35.725371065 +0300
-@@ -12,10 +12,3 @@
- 
-         output = sio.getvalue()
-         self.assertTrue("[supervisord]" in output)
--
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_dispatchers.py	2024-10-22 18:43:44.826326498 +0300
-+++ b/supervisor/tests/test_dispatchers.py	2024-10-22 18:46:53.011274427 +0300
-@@ -1227,9 +1227,3 @@
-     def test_noansi(self):
-         noansi = b'Hello world... this is longer than a token!'
-         self.assertEqual(self._callFUT(noansi), noansi)
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_end_to_end.py	2024-10-22 18:43:51.212290796 +0300
-+++ b/supervisor/tests/test_end_to_end.py	2024-10-22 18:47:07.053195926 +0300
-@@ -419,9 +419,3 @@
-         finally:
-             transport.close()
-         self.assertEqual(ident, "from_command_line")
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_events.py	2024-10-22 18:43:57.740254300 +0300
-+++ b/supervisor/tests/test_events.py	2024-10-22 18:47:18.797130269 +0300
-@@ -508,10 +508,3 @@
-             self.assertTrue(events.EventTypes.FOO is FooEvent)
-         finally:
-             del events.EventTypes.FOO
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
--
---- a/supervisor/tests/test_http.py	2024-10-22 18:44:08.820192356 +0300
-+++ b/supervisor/tests/test_http.py	2024-10-22 18:47:31.511059190 +0300
-@@ -684,9 +684,3 @@
-             return self.data.pop(0)
-         else:
-             return b''
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_loggers.py	2024-10-22 18:44:18.510138185 +0300
-+++ b/supervisor/tests/test_loggers.py	2024-10-22 18:47:42.186999506 +0300
-@@ -599,9 +599,3 @@
-         self.records.append(record)
-     def close(self):
-         self.closed = True
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_options.py	2024-10-22 18:44:24.392105302 +0300
-+++ b/supervisor/tests/test_options.py	2024-10-22 18:48:00.037899711 +0300
-@@ -3804,10 +3804,3 @@
-         self.assertEqual(s('process'), ('process', 'process'))
-         self.assertEqual(s('group:'), ('group', None))
-         self.assertEqual(s('group:*'), ('group', None))
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
--
---- a/supervisor/tests/test_poller.py	2024-10-22 18:44:31.806063853 +0300
-+++ b/supervisor/tests/test_poller.py	2024-10-22 18:48:12.688828986 +0300
-@@ -437,10 +437,3 @@
-     def __init__(self, ident, filter):
-         self.ident = ident
-         self.filter = filter
--
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_rpcinterfaces.py	2024-10-22 18:44:43.611997849 +0300
-+++ b/supervisor/tests/test_rpcinterfaces.py	2024-10-22 18:48:29.430735386 +0300
-@@ -2396,10 +2396,3 @@
- class DummyRPCInterface:
-     def hello(self):
-         return 'Hello!'
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
--
---- a/supervisor/tests/test_socket_manager.py	2024-10-22 18:44:52.213949758 +0300
-+++ b/supervisor/tests/test_socket_manager.py	2024-10-22 18:48:40.773671971 +0300
-@@ -248,9 +248,3 @@
-         gc.collect()
-         gc.collect()
-         gc.collect()
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_states.py	2024-10-22 18:44:59.929906621 +0300
-+++ b/supervisor/tests/test_states.py	2024-10-22 18:48:52.578605976 +0300
-@@ -50,10 +50,3 @@
-     def test_getEventListenerStateDescription_returns_None_when_not_found(self):
-         self.assertEqual(states.getEventListenerStateDescription(3.14159),
-             None)
--    
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/test_supervisorctl.py	2024-10-22 18:45:09.580852663 +0300
-+++ b/supervisor/tests/test_supervisorctl.py	2024-10-22 18:49:08.655516098 +0300
-@@ -2067,10 +2067,3 @@
- 
-     def do_help(self, arg):
-         self.helped = True
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
--
---- a/supervisor/tests/test_supervisord.py	2024-10-22 18:45:18.645801983 +0300
-+++ b/supervisor/tests/test_supervisord.py	2024-10-22 18:49:30.111396145 +0300
-@@ -834,10 +834,3 @@
-         self.assertEqual(supervisord.ticks[3600], 3600)
-         self.assertEqual(len(L), 6)
-         self.assertEqual(L[-1].__class__, events.Tick3600Event)
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
--
---- a/supervisor/tests/test_templating.py	2024-10-22 18:45:28.477747014 +0300
-+++ b/supervisor/tests/test_templating.py	2024-10-22 18:49:59.989229112 +0300
-@@ -1785,12 +1785,3 @@
-     s = re.sub(r"(?s)\s+<", "<", s)
-     s = re.sub(r"(?s)>\s+", ">", s)
-     return s
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--def main():
--    unittest.main(defaultTest='test_suite')
--
--if __name__ == '__main__':
--    main()
---- a/supervisor/tests/test_web.py	2024-10-22 18:45:34.906711076 +0300
-+++ b/supervisor/tests/test_web.py	2024-10-22 18:50:11.712163574 +0300
-@@ -177,9 +177,3 @@
- 
- class DummyContext:
-     pass
--
--def test_suite():
--    return unittest.findTestCases(sys.modules[__name__])
--
--if __name__ == '__main__':
--    unittest.main(defaultTest='test_suite')
---- a/supervisor/tests/fixtures/spew.py	2024-10-22 21:47:42.784228940 +0300
-+++ a/supervisor/tests/fixtures/spew.py	2024-10-22 21:47:55.047159604 +0300
-@@ -1,4 +1,3 @@
--#!<<PYTHON>>
- import sys
- import time
- 
---- a/supervisor/tests/fixtures/unkillable_spew.py	2024-10-22 21:47:48.865194558 +0300
-+++ b/supervisor/tests/fixtures/unkillable_spew.py	2024-10-22 21:48:00.202130457 +0300
-@@ -1,4 +1,3 @@
--#!<<PYTHON>>
- import time
- import signal
- signal.signal(signal.SIGTERM, signal.SIG_IGN)
---- a/supervisor/tests/test_process.py	2024-10-22 21:01:30.964901072 +0300
-+++ b/supervisor/tests/test_process.py	2024-10-22 21:03:01.869387085 +0300
-@@ -39,7 +39,7 @@
-         from supervisor.states import ProcessStates
-         from supervisor.process import getProcessStateDescription
-         for statename, code in ProcessStates.__dict__.items():
--            if isinstance(code, int):
-+            if isinstance(code, int) and not statename.startswith('__'):
-                 self.assertEqual(getProcessStateDescription(code), statename)
- 
-     def test_ctor(self):

diff --git a/sources b/sources
index 4514214..472fb88 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (supervisor-4.2.5.tar.gz) = ea80c8c91356646deccf20735e065fd9b341f3be6d56838d333989297a912b0a59142338925b2eb08690e038f0617814e03447673701a19093aa483432ce6d41
+SHA512 (supervisor-4.3.0.tar.gz) = ae43b255a7bcfa926a9d63e064d5bf99bcc8e41e4a79d2d6570428581766edf6ad9449d59a1e0a835963cad7ebf6bc8d6b56764dc36ee1d8aa0637e39902bb0f

diff --git a/supervisor.spec b/supervisor.spec
index ecf38fd..5dfa9fa 100644
--- a/supervisor.spec
+++ b/supervisor.spec
@@ -1,31 +1,32 @@
 Name:		supervisor
-Version:	4.2.5
+Version:	4.3.0
 Release:	%autorelease
 Summary:	A system for allowing the control of process state on UNIX
 
 License:	BSD-3-Clause AND MIT
 URL:		http://supervisord.org
-Source0:	https://pypi.python.org/packages/source/s/%{name}/%{name}-%{version}.tar.gz
+Source0:	https://github.com/Supervisor/supervisor/archive/%{version}/%{name}-%{version}.tar.gz
 Source1:	%{name}d.service
 Source2:	%{name}d.conf
 Source3:	%{name}.logrotate
 Source4:	%{name}.tmpfiles
 
-Patch0:		pytest.patch
-
 BuildArch:	noarch
 
 BuildRequires:	python3-devel
 BuildRequires:	python3-pytest
 BuildRequires:	systemd-units
+BuildRequires:	python3-pkg-resources
+Requires:	python3-pkg-resources
 
 %description
 The supervisor is a client/server system that allows its users to control a
 number of processes on UNIX-like operating systems.
 
 %prep
-%autosetup -p1
+%autosetup
 %py3_shebang_fix supervisor/scripts
+sed -i -e 's|#!<<PYTHON>>|#!%{_bindir}/python3|g' supervisor/tests/fixtures/spew.py supervisor/tests/fixtures/unkillable_spew.py
 
 %generate_buildrequires
 %pyproject_buildrequires -r

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-18 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 15:27 [rpms/supervisor] rawhide: Update to 4.3.0 (rhbz#2485999) Ali Erdinc Koroglu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox