mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python@2: Update to 2.7.14.
* gnu/packages/python.scm (python-2.7): Update to 2.7.14. [source]: Add patch to skip two new tests. Delete upstreamed patch. * gnu/packages/patches/python-2.7-adjust-tests.patch: New file. * gnu/packages/patches/python-2.7-getentropy-on-old-kernels.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
This commit is contained in:
parent
9d8796a516
commit
603a64920f
4 changed files with 26 additions and 58 deletions
22
gnu/packages/patches/python-2.7-adjust-tests.patch
Normal file
22
gnu/packages/patches/python-2.7-adjust-tests.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
SIGINT is ignored in the Guix build environment.
|
||||
|
||||
--- a/Lib/test/test_regrtest.py
|
||||
+++ b/Lib/test/test_regrtest.py
|
||||
@@ -399,6 +399,8 @@
|
||||
output = self.run_tests('--fromfile', filename)
|
||||
self.check_executed_tests(output, tests)
|
||||
|
||||
+ @unittest.skipIf(True,
|
||||
+ "KeyboardInterrupts do not work in the build environment")
|
||||
def test_interrupted(self):
|
||||
code = TEST_INTERRUPTED
|
||||
test = self.create_test('sigint', code=code)
|
||||
@@ -416,6 +418,8 @@
|
||||
% (self.TESTNAME_REGEX, len(tests)))
|
||||
self.check_line(output, regex)
|
||||
|
||||
+ @unittest.skipIf(True,
|
||||
+ "KeyboardInterrupts do not work in the build environment")
|
||||
def test_slow_interrupted(self):
|
||||
# Issue #25373: test --slowest with an interrupted test
|
||||
code = TEST_INTERRUPTED
|
Loading…
Add table
Add a link
Reference in a new issue