summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-24 07:36:45 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-24 08:04:16 +0100
commit713a5d6446b6d906d78ca057183f99451f005bed (patch)
treefec7f6dbfd9a842419fcda3f6560f9b171dfc4d8 /dev-python/bleach/files
parentdev-python/sphinxcontrib-applehelp: Bump to 1.0.4 (diff)
downloadgentoo-713a5d6446b6d906d78ca057183f99451f005bed.tar.gz
gentoo-713a5d6446b6d906d78ca057183f99451f005bed.tar.bz2
gentoo-713a5d6446b6d906d78ca057183f99451f005bed.zip
dev-python/bleach: Bump to 6.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/bleach/files')
-rw-r--r--dev-python/bleach/files/bleach-6.0.0-py39.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/bleach/files/bleach-6.0.0-py39.patch b/dev-python/bleach/files/bleach-6.0.0-py39.patch
new file mode 100644
index 000000000000..02ecb614c8b9
--- /dev/null
+++ b/dev-python/bleach/files/bleach-6.0.0-py39.patch
@@ -0,0 +1,48 @@
+From d6d734f6fbeee2c091212d42e3ea730a1230aad5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Tue, 24 Jan 2023 07:35:45 +0100
+Subject: [PATCH] Remove tests broken by py3.9
+
+---
+ tests/test_clean.py | 15 ---------------
+ 1 file changed, 15 deletions(-)
+
+diff --git a/tests/test_clean.py b/tests/test_clean.py
+index 73946a1..f798a15 100644
+--- a/tests/test_clean.py
++++ b/tests/test_clean.py
+@@ -551,31 +551,16 @@ def test_attributes_list():
+ {"protocols": {"http"}},
+ '<a href="example.com">valid</a>',
+ ),
+- (
+- '<a href="example.com:8000">valid</a>',
+- {"protocols": {"http"}},
+- '<a href="example.com:8000">valid</a>',
+- ),
+ (
+ '<a href="localhost">valid</a>',
+ {"protocols": {"http"}},
+ '<a href="localhost">valid</a>',
+ ),
+- (
+- '<a href="localhost:8000">valid</a>',
+- {"protocols": {"http"}},
+- '<a href="localhost:8000">valid</a>',
+- ),
+ (
+ '<a href="192.168.100.100">valid</a>',
+ {"protocols": {"http"}},
+ '<a href="192.168.100.100">valid</a>',
+ ),
+- (
+- '<a href="192.168.100.100:8000">valid</a>',
+- {"protocols": {"http"}},
+- '<a href="192.168.100.100:8000">valid</a>',
+- ),
+ pytest.param(
+ *(
+ '<a href="192.168.100.100:8000/foo#bar">valid</a>',
+--
+2.39.1
+