Skip to content

TOW-1130 - clean up deps to be optional/dev when not needed by core - #126

Merged
socksy merged 2 commits into
developfrom
feature/tow-1130-cleanup-python-dependencies
Nov 4, 2025
Merged

TOW-1130 - clean up deps to be optional/dev when not needed by core#126
socksy merged 2 commits into
developfrom
feature/tow-1130-cleanup-python-dependencies

Conversation

@socksy

@socksysocksy commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

Resolves TOW-1130

Not sure how we ended up with ollama, hugging face and iceberg duplicated in the core dependencies, but we don't need them there, since they already have their own dependency groups.

MCP is only needed for the integration test of the Rust CLI, so absolutely no need to put that in the main dependencies.

Python 3.10 was needed by the MCP library, but it's already there in the dev dependencies next to MCP for that very reason.

Comment threadpyproject.toml
"openapi-python-client==0.24.3",
"pre-commit==4.0.1",
"pyiceberg[sql-sqlite]==0.9.1",
"tower[iceberg]",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm well it's needed for tests which are run with the dev group of deps (before this change the transitive deps needed from the other optional deps were in the main deps, but the point of the change was to remove them, so now we need them in the tests).

I just modified the existing import of transitive deps, but looking at it I think these probably should have been in the test group all along, since they're there for the tests (and dev imports all test group deps anyway).

@socksysocksyNov 4, 2025

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@socksy
socksyforce-pushed the feature/tow-1130-cleanup-python-dependencies branch from b8b5f3c to 9a0cfcbCompareNovember 4, 2025 18:56
@socksy
socksy merged commit b7c4a31 into developNov 4, 2025
18 checks passed
@socksy
socksy deleted the feature/tow-1130-cleanup-python-dependencies branch November 4, 2025 19:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@socksy@konstantinoscs@sammuti