Skip to content

Commit ed00ce2

Browse files
[3.13] Fix test_invalid_idna for idna 3.11 compatibility (aio-libs#12036) (aio-libs#12165)
Backport of aio-libs#12036 to `3.13`.
1 parent 870199d commit ed00ce2

13 files changed

Lines changed: 13 additions & 12 deletions

CHANGES/12027.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed ``test_invalid_idna`` to work with ``idna`` 3.11 by using an invalid character (``\u0080``) that is rejected by ``yarl`` during URL construction -- by :user:`rodrigobnogueira`.

requirements/base-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ frozenlist==1.8.0
2424
# aiosignal
2525
gunicorn==23.0.0
2626
# via -r requirements/base-ft.in
27-
idna==3.10
27+
idna==3.11
2828
# via yarl
2929
multidict==6.6.4
3030
# via

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ frozenlist==1.8.0
2424
# aiosignal
2525
gunicorn==23.0.0
2626
# via -r requirements/base.in
27-
idna==3.4
27+
idna==3.11
2828
# via yarl
2929
multidict==6.6.4
3030
# via

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ gunicorn==23.0.0
9090
# via -r requirements/base.in
9191
identify==2.6.15
9292
# via pre-commit
93-
idna==3.3
93+
idna==3.11
9494
# via
9595
# requests
9696
# trustme

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ gunicorn==23.0.0
8888
# via -r requirements/base.in
8989
identify==2.6.15
9090
# via pre-commit
91-
idna==3.4
91+
idna==3.11
9292
# via
9393
# requests
9494
# trustme

requirements/doc-spelling.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ click==8.1.8
1818
# via towncrier
1919
docutils==0.21.2
2020
# via sphinx
21-
idna==3.4
21+
idna==3.11
2222
# via requests
2323
imagesize==1.4.1
2424
# via sphinx

requirements/doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ click==8.1.8
1818
# via towncrier
1919
docutils==0.21.2
2020
# via sphinx
21-
idna==3.10
21+
idna==3.11
2222
# via requests
2323
imagesize==1.4.1
2424
# via sphinx

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ freezegun==1.5.5
3535
# via -r requirements/lint.in
3636
identify==2.6.15
3737
# via pre-commit
38-
idna==3.7
38+
idna==3.11
3939
# via trustme
4040
iniconfig==2.1.0
4141
# via pytest

requirements/runtime-deps.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ frozenlist==1.8.0
2222
# via
2323
# -r requirements/runtime-deps.in
2424
# aiosignal
25-
idna==3.10
25+
idna==3.11
2626
# via yarl
2727
multidict==6.6.4
2828
# via

requirements/test-common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ forbiddenfruit==0.1.4
2828
# via blockbuster
2929
freezegun==1.5.5
3030
# via -r requirements/test-common.in
31-
idna==3.10
31+
idna==3.11
3232
# via trustme
3333
iniconfig==2.1.0
3434
# via pytest

0 commit comments

Comments
 (0)