-
Notifications
You must be signed in to change notification settings - Fork 8.4k
fix(deps): bump gitpython, snowflake-sqlalchemy, and unstructured for pip-audit #7244
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
Closed
+555
−853
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
81d220e
fix(deps): bump gitpython to 3.1.59 for PYSEC-2026-3785–3788
Vidit-Ostwal 489060f
fix(deps): drop gitpython exclude-newer override
Vidit-Ostwal 76f3b9f
fix(deps): raise gitpython floor to 3.1.60
Vidit-Ostwal 23e254c
fix(deps): bump snowflake-sqlalchemy and unstructured for pip-audit
Vidit-Ostwal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: crewAIInc/crewAI
Length of output: 190
🏁 Script executed:
Repository: crewAIInc/crewAI
Length of output: 9666
🌐 Web query:
uv override-dependencies absolute replacement extras documentation💡 Result:
In uv, override-dependencies are used to force a specific version of a package or replace its dependency definitions throughout the dependency tree [1][2]. Unlike constraints, which are additive and only narrow the range of acceptable versions, overrides are absolute replacements [1][3][4]. When you define an override, you completely replace the requirements of that package as declared by any constituent packages in your environment [1][2]. Regarding extras and the behavior of overrides: 1. Absolute Replacement: Because overrides act as a complete replacement for a package's requirements, they effectively override the original package's metadata, including any extra-related dependencies [5][6]. 2. Impact on Extras: When you override a package, any existing extra definitions associated with that package can be ignored or lost if they are not explicitly accounted for in the replacement [5][6]. 3. Handling Extras in Overrides: To ensure that specific extras are still included when using an override, you must explicitly include those extras in the override string itself [5]. For example, if you are overriding a package to a specific Git branch or version and need an extra enabled, you would structure the override as follows [5]: [tool.uv] override-dependencies = ["my-package[extra-name] @ git+https://github.com/user/repo@branch"] By specifying the package with the extra in brackets within the override, you maintain the desired functionality that would otherwise be discarded by the absolute nature of the override replacement [5]. It is important to use overrides as a last resort, as they bypass metadata designed to ensure compatibility [7]. Always verify your dependency resolution with commands like uv tree to confirm that the resulting environment is as expected [7]. Top results: [1] https://docs.astral.sh/uv/pip/compile/ [5] astral-sh/uv#16484 [6] astral-sh/uv#15894 [3] https://pydevtools.com/handbook/explanation/what-are-uv-overrides-and-constraints/ [2] https://docs.astral.sh/uv/reference/settings/ [7] https://pydevtools.com/handbook/how-to/how-to-debug-uv-dependency-resolution-failures/ [4] https://melmass.github.io/uv/resolution.html
Citations:
🏁 Script executed:
Repository: crewAIInc/crewAI
Length of output: 14948
🌐 Web query:
site:docs.astral.sh/uv override-dependencies extras absolute replacement direct dependency extras💡 Result:
The concept of override-dependencies and absolute replacement within the context of extras and direct dependencies refers to the behavior of the uv package manager [1][2]. In uv, overrides are used to force the selection of a specific package version or to modify the declared dependencies of a package, acting as an absolute escape hatch that bypasses standard resolution constraints [1][2]. Unlike constraints, which are additive and restrict the set of acceptable versions, overrides are absolute, meaning they completely replace the requirements of the constituent packages [1][3]. Regarding extras and direct dependencies: 1. Absolute Replacement: When an override is defined, it replaces the existing dependency requirements [1][2]. If a package declares certain dependencies, an override can force a different version or add new dependencies entirely [1][4]. This is particularly useful for removing erroneous upper version bounds that block resolution [3][2]. 2. Scoped Overrides: Overrides can be global or scoped to a specific package version [2][4]. A scoped override uses a table format (specifying package name and optional version) to define which dependencies should be replaced or added for that specific package [1][4]. If a package does not already declare a dependency, the scoped override can add it; if it does, it replaces the existing requirement [1][2]. 3. Interaction with Extras: Dependencies declared by a project, including those requested via extras (optional dependencies), are all resolved together [2]. When you use overrides, they apply to all requirements of the named dependency, whether they originated from direct dependencies or were pulled in through extras [2][4]. Because overrides are absolute, they take precedence over the requirements defined in the original package metadata, regardless of whether those requirements were part of a base dependency set or an optional extra [2][5]. For example, in a pyproject.toml, you can define global or scoped overrides under the [tool.uv] section: [tool.uv] override-dependencies = [ # Global override: force specific version "werkzeug==2.3.0", # Scoped override: replace dependencies for a specific package version { package = { name = "flask", version = "3.0.0" }, dependencies = ["itsdangerous==2.1.2"] }, ] This functionality is designed as a last resort when metadata is incorrect or incompatible, allowing for a successful resolution that would otherwise be rejected [2][5].
Citations:
🏁 Script executed:
Repository: crewAIInc/crewAI
Length of output: 39590
Preserve the
unstructuredextras in the workspace override.The
crewai-tools[xml]lock graph resolves bareunstructuredand omitsall-docsandlocal-inference. Python 3.11+ exports or syncs can therefore omit dependencies required by these features. Useunstructured[local-inference, all-docs]>=0.24.0in the override.🤖 Prompt for AI Agents
Source: MCP tools