Update python-slugify to 8.0.4 (#111284)

This commit is contained in:
Marc Mueller 2024-02-27 12:29:48 +01:00 committed by GitHub
parent 38395c8fab
commit adbd9c8d40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,7 @@ PyJWT==2.8.0
PyNaCl==1.5.0
pyOpenSSL==24.0.0
pyserial==3.5
python-slugify==8.0.1
python-slugify==8.0.4
PyTurboJPEG==1.7.1
pyudev==0.23.2
PyYAML==6.0.1

View File

@ -50,7 +50,7 @@ dependencies = [
"orjson==3.9.15",
"packaging>=23.1",
"pip>=21.3.1",
"python-slugify==8.0.1",
"python-slugify==8.0.4",
"PyYAML==6.0.1",
"requests==2.31.0",
"typing-extensions>=4.9.0,<5.0",

View File

@ -26,7 +26,7 @@ pyOpenSSL==24.0.0
orjson==3.9.15
packaging>=23.1
pip>=21.3.1
python-slugify==8.0.1
python-slugify==8.0.4
PyYAML==6.0.1
requests==2.31.0
typing-extensions>=4.9.0,<5.0

View File

@ -45,7 +45,7 @@ types-pillow==10.2.0.20240111
types-protobuf==4.24.0.20240106
types-psutil==5.9.5.20240106
types-python-dateutil==2.8.19.20240106
types-python-slugify==8.0.0.3
types-python-slugify==8.0.2.20240127
types-pytz==2023.3.1.1
types-PyYAML==6.0.12.12
types-requests==2.31.0.3

View File

@ -53,8 +53,8 @@ def test_slugify() -> None:
assert util.slugify("影師嗎") == "ying_shi_ma"
assert util.slugify("けいふぉんと") == "keihuonto"
assert util.slugify("$") == "unknown"
assert util.slugify("") == "unknown"
assert util.slugify("") == "unknown"
assert util.slugify("") == "a"
assert util.slugify("") == "b"
assert util.slugify("$$$") == "unknown"
assert util.slugify("$something") == "something"
assert util.slugify("") == ""