diff options
author | jgart <jgart@dismail.de> | 2024-07-22 17:45:26 -0500 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-07-25 17:26:09 -0500 |
commit | efc26826400762207cde9f23802cfe75a737963c (patch) | |
tree | f581a1ec3a706b8b79cba0ab614ac8dbaa1307bd /gnu/packages/patches/python-waitress-fix-tests.patch | |
parent | 119d658d7543c84624719a364fa980cc80c2095d (diff) |
gnu: python-waitress: Update to 3.0.0.
* gnu/packages/python-xyz.scm (python-waitress): Update to 3.0.0.
[build-system]: Use pyproject-build-system.
[arguments]: Disable failing test.
* gnu/packages/patches/python-waitress-fix-tests.patch: Delete no longer
needed patch.
* gnu/local.mk: Delete patch line.
Change-Id: I5397649e30098627de8c24f6afa2b74413d3446a
Diffstat (limited to 'gnu/packages/patches/python-waitress-fix-tests.patch')
-rw-r--r-- | gnu/packages/patches/python-waitress-fix-tests.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gnu/packages/patches/python-waitress-fix-tests.patch b/gnu/packages/patches/python-waitress-fix-tests.patch deleted file mode 100644 index 110492a604..0000000000 --- a/gnu/packages/patches/python-waitress-fix-tests.patch +++ /dev/null @@ -1,29 +0,0 @@ -Skip test that requires getaddrinfo(), which is not available in the build -environment. This package uses a regexp for finding tests (see runner.py), -so using @unittest.skip does not work. - ---- a/waitress/tests/test_adjustments.py -+++ b/waitress/tests/test_adjustments.py -@@ -185,22 +185,6 @@ - def test_bad_port(self): - self.assertRaises(ValueError, self._makeOne, listen='127.0.0.1:test') - -- def test_service_port(self): -- if WIN and PY2: # pragma: no cover -- # On Windows and Python 2 this is broken, so we raise a ValueError -- self.assertRaises( -- ValueError, -- self._makeOne, -- listen='127.0.0.1:http', -- ) -- return -- -- inst = self._makeOne(listen='127.0.0.1:http 0.0.0.0:https') -- -- bind_pairs = [sockaddr[:2] for (_, _, _, sockaddr) in inst.listen] -- -- self.assertEqual(bind_pairs, [('127.0.0.1', 80), ('0.0.0.0', 443)]) -- - def test_dont_mix_host_port_listen(self): - self.assertRaises( - ValueError, |