diff options
| author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-03-26 21:00:38 +0300 |
|---|---|---|
| committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-03-26 21:04:46 +0300 |
| commit | f400d8a914927bc1c2dec3c0bf0cbc9656a45817 (patch) | |
| tree | 8824d3bbf6815a58c0c4e4d9e769e7f3866ccc45 /dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch | |
| parent | e480a01d15a69b86e6451a00b3b570be2333970d (diff) | |
| download | gentoo-f400d8a914927bc1c2dec3c0bf0cbc9656a45817.tar.gz gentoo-f400d8a914927bc1c2dec3c0bf0cbc9656a45817.tar.bz2 gentoo-f400d8a914927bc1c2dec3c0bf0cbc9656a45817.zip | |
dev-python/cssutils: drop 2.3.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch')
| -rw-r--r-- | dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch b/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch deleted file mode 100644 index a3fff246b616..000000000000 --- a/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch +++ /dev/null @@ -1,30 +0,0 @@ -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Mon, 24 May 2021 08:35:13 +0200 -Subject: [PATCH] Force using importlib_resources in Python < 3.9 - -Force using the external importlib_resources package based on Python -version rather than the presence of the built-in importlib.resources. -The latter does not have the needed files() method in Python < 3.9, -and therefore results in test failures: - - E AttributeError: module 'importlib.resources' has no attribute 'files' - -This affects specifically Python 3.7 and 3.8 that have an older version -of importlib.resources module. - -https://github.com/jaraco/cssutils/pull/10 - ---- a/cssutils/tests/basetest.py -+++ b/cssutils/tests/basetest.py -@@ -6,9 +6,9 @@ - import sys - import unittest - --try: -+if sys.version_info >= (3, 9): - from importlib import resources --except ImportError: -+else: - import importlib_resources as resources - - import cssutils |
