diff options
author | 2020-07-04 09:31:34 +0200 | |
---|---|---|
committer | 2020-07-04 10:48:05 +0200 | |
commit | c67770b203c690e98b0571795c962d6744f69578 (patch) | |
tree | 38e06f37cc11e3ab028edcc66a9767f3293e6f1d /dev-lang/python/files | |
parent | dev-lang/python: Bump to 3.9.0b4 (diff) | |
download | gentoo-c67770b203c690e98b0571795c962d6744f69578.tar.gz gentoo-c67770b203c690e98b0571795c962d6744f69578.tar.bz2 gentoo-c67770b203c690e98b0571795c962d6744f69578.zip |
dev-lang/python: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/files')
3 files changed, 0 insertions, 69 deletions
diff --git a/dev-lang/python/files/test-__all__-numpy.patch b/dev-lang/python/files/test-__all__-numpy.patch deleted file mode 100644 index 1b91abbf6f60..000000000000 --- a/dev-lang/python/files/test-__all__-numpy.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py -index c077881511..0728bef6c4 100644 ---- a/Lib/test/test___all__.py -+++ b/Lib/test/test___all__.py -@@ -71,6 +71,8 @@ class AllTest(unittest.TestCase): - blacklist = set([ - # Will raise a SyntaxError when compiling the exec statement - '__future__', -+ # imports numpy which causes warnings -+ 'test.test_pickletools', - ]) - - if not sys.platform.startswith('java'): diff --git a/dev-lang/python/files/test.support.unlink-ignore-EACCES.patch b/dev-lang/python/files/test.support.unlink-ignore-EACCES.patch deleted file mode 100644 index 865a914b4100..000000000000 --- a/dev-lang/python/files/test.support.unlink-ignore-EACCES.patch +++ /dev/null @@ -1,28 +0,0 @@ -From b8dc49c87f29fa875bd24fe47c741d11962a33b6 Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <floppym@gentoo.org> -Date: Sat, 4 Apr 2020 14:11:25 -0400 -Subject: [PATCH] test.support.unlink: ignore EACCES - -Resolves test errors when running in the Gentoo sandbox environment. - -Bug: https://bugs.gentoo.org/679628 ---- - Lib/test/support/__init__.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py -index ccc11c1b4b0..d47bdebda5c 100644 ---- a/Lib/test/support/__init__.py -+++ b/Lib/test/support/__init__.py -@@ -291,7 +291,7 @@ def unlink(filename): - try: - _unlink(filename) - except OSError as exc: -- if exc.errno not in (errno.ENOENT, errno.ENOTDIR): -+ if exc.errno not in (errno.ENOENT, errno.ENOTDIR, errno.EACCES): - raise - - def rmdir(dirname): --- -2.26.0 - diff --git a/dev-lang/python/files/test.support.unlink-ignore-PermissionError.patch b/dev-lang/python/files/test.support.unlink-ignore-PermissionError.patch deleted file mode 100644 index 6cae17b55189..000000000000 --- a/dev-lang/python/files/test.support.unlink-ignore-PermissionError.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 6e6402caa7962a9c9f7c5327f3c802545824f7f9 Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <floppym@gentoo.org> -Date: Fri, 3 Apr 2020 10:37:56 -0400 -Subject: [PATCH] test.support.unlink: ignore PermissionError - -Resolves test errors when running in the Gentoo sandbox environment. - -Bug: https://bugs.gentoo.org/679628 ---- - Lib/test/support/__init__.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py -index 1f792d8514d..a0772480eb4 100644 ---- a/Lib/test/support/__init__.py -+++ b/Lib/test/support/__init__.py -@@ -488,7 +488,7 @@ else: - def unlink(filename): - try: - _unlink(filename) -- except (FileNotFoundError, NotADirectoryError): -+ except (FileNotFoundError, NotADirectoryError, PermissionError): - pass - - def rmdir(dirname): --- -2.26.0 - |