Skip to content

Commit b8904f3

Browse files
authored
Update pyproject.toml
1 parent 2c4017d commit b8904f3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ dependencies = [
4242

4343
[dependency-groups]
4444
dev = [
45-
"black>=24.3.0", # Security fix for CVE-2024-21503 (ReDoS vulnerability)
45+
# TODO: Remove this constraint once pydoc-markdown updates its dependencies.
46+
# Package pydoc-markdown is unmaintained and pins old docspec-python with vulnerable black.
47+
# See https://github.com/apify/apify-client-python/pull/582/ for more details.
48+
# We explicitly constrain black>=24.3.0 to override the transitive dependency.
49+
"black>=24.3.0",
4650
"dycw-pytest-only<3.0.0",
4751
"griffe",
4852
"pre-commit<5.0.0",

0 commit comments

Comments
 (0)