-
Notifications
You must be signed in to change notification settings - Fork 3
fix(deps): require pdfminer-six >=20251107 for VULN-92490 #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -28,9 +28,9 @@ packages = [ | |||||
| [project.optional-dependencies] | ||||||
| langchain = ["langchain-core", "langchain", "langsmith (>=0.8.0)"] | ||||||
| openai = ["openai (>=2.8.0,<3.0.0)", "packaging (>=24.2,<25.0)", "openai-agents (>=0.4.0,<1.0.0)"] | ||||||
| crewai = ["crewai (>=0.152.0,<2.0.0); python_version < '3.14'", "litellm (>=1.83.14,<2.0.0); python_version < '3.14'"] | ||||||
| crewai = ["crewai (>=0.152.0,<2.0.0); python_version < '3.14'", "litellm (>=1.83.14,<2.0.0); python_version < '3.14'", "pdfminer-six (>=20251107)"] | ||||||
| middleware = ["starlette"] | ||||||
| all = ["langchain-core", "langchain", "langsmith (>=0.8.0)", "openai (>=2.8.0,<3.0.0)", "packaging (>=24.2,<25.0)", "openai-agents (>=0.4.0,<1.0.0)", "crewai (>=0.152.0,<2.0.0); python_version < '3.14'", "starlette", "litellm (>=1.83.14,<2.0.0); python_version < '3.14'"] | ||||||
| all = ["langchain-core", "langchain", "langsmith (>=0.8.0)", "openai (>=2.8.0,<3.0.0)", "packaging (>=24.2,<25.0)", "openai-agents (>=0.4.0,<1.0.0)", "crewai (>=0.152.0,<2.0.0); python_version < '3.14'", "starlette", "litellm (>=1.83.14,<2.0.0); python_version < '3.14'", "pdfminer-six (>=20251107)"] | ||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -60,6 +60,7 @@ opentelemetry-exporter-otlp-proto-http = "^1.38.0" | |||||
| filelock = ">=3.20.1" | ||||||
| idna = ">=3.15,<4" | ||||||
| requests = ">=2.33.0" | ||||||
| pdfminer-six = { version = ">=20251107", optional = true } | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 major (design):
The stated goal ("guarantee a safe floor regardless of extras") isn't achieved by this declaration. Since the project uses PEP 621 🤖 Generated by the Astra agent
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 minor (design): Missing the
to and Concretely: on Python 3.14, Gating it matches the surrounding declarations and keeps the 3.14 install profile unchanged.
Suggested change
🤖 Generated by the Astra agent
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a minor edge case. |
||||||
|
|
||||||
| [tool.poetry.group.test.dependencies] | ||||||
| pytest = ">=9.0.3" | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 minor (design): Same gap as line 63, on the PEP 621 side:
pdfminer-six (>=20251107)has no environment marker whilecrewaiandlitellmin the same list both carry; python_version < '3.14'.Since
[project.optional-dependencies]is what ends up in the published wheel metadata, a downstreampip install splunk-ao[crewai]on Python 3.14 gets pdfminer.six + cryptography with no crewai and no pdfplumber to use them. Adding the marker here (in bothcrewaiandall) keeps the extra internally consistent — pdfminer.six only ships where the thing that needs it ships.Note both this and the line 63 change are needed; they feed different consumers (published metadata vs. Poetry's resolution/lock).
🤖 Generated by the Astra agent