Skip to content

Commit a0f3257

Browse files
committed
Merge branch 'master' into unicode-16-uts46-changes
2 parents 38d9886 + bfa6355 commit a0f3257

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

‎.github/workflows/python-package.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- '3.11'
2323
- '3.12'
2424
- '3.13'
25-
- '3.14-dev'
25+
- '3.14'
2626
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
2727
steps:
2828
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

‎idna/core.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def ulabel(label: Union[str, bytes, bytearray]) -> str:
308308
check_label(label)
309309
return label
310310
else:
311-
label_bytes = label
311+
label_bytes = bytes(label)
312312

313313
label_bytes = label_bytes.lower()
314314
if label_bytes.startswith(_alabel_prefix):

‎pyproject.toml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[build-system]
2-
requires = ["flit_core >=3.2,<4"]
2+
requires = ["flit_core >=3.11,<4"]
33
build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "idna"
77
description = "Internationalized Domain Names in Applications (IDNA)"
88
readme = "README.rst"
9-
license = {file = "LICENSE.md"}
9+
license = "BSD-3-Clause"
10+
license-files = ["LICENSE.md"]
1011
authors = [
1112
{name = "Kim Davies", email = "kim+pypi@gumleaf.org"}
1213
]
1314
classifiers = [
1415
"Development Status :: 5 - Production/Stable",
1516
"Intended Audience :: Developers",
1617
"Intended Audience :: System Administrators",
17-
"License :: OSI Approved :: BSD License",
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.11",
2626
"Programming Language :: Python :: 3.12",
2727
"Programming Language :: Python :: 3.13",
28+
"Programming Language :: Python :: 3.14",
2829
"Programming Language :: Python :: Implementation :: CPython",
2930
"Programming Language :: Python :: Implementation :: PyPy",
3031
"Topic :: Internet :: Name Service (DNS)",

0 commit comments

Comments
 (0)