Skip to content
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

multiple: get rid of pyproject extras #22581

Merged
merged 34 commits into from
Jun 6, 2024
Merged

Conversation

efriis
Copy link
Contributor

@efriis efriis commented Jun 6, 2024

They cause poetry lock to take a ton of time, and uv pip install can resolve the constraints from these toml files in trivial time (addressing problem with #19153)

This allows us to properly upgrade lockfile dependencies moving forward, which revealed some issues that were either fixed or type-ignored (see file comments)

Erick Friis added 8 commits June 5, 2024 17:12
Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 9:33pm

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jun 6, 2024
@efriis efriis changed the title multiple: move extended test deps into separate toml multiple: get rid of pyproject extras Jun 6, 2024
@dosubot dosubot bot added Ɑ: vector store Related to vector store module 🤖:improvement Medium size change to existing code to handle new use-cases labels Jun 6, 2024
@efriis efriis marked this pull request as draft June 6, 2024 01:26
Erick Friis added 4 commits June 5, 2024 18:29
@@ -75,7 +75,7 @@ def _convert_run_to_wb_span(self, run: Run) -> "Span":
:return: The converted Span.
"""
attributes = {**run.extra} if run.extra else {}
attributes["execution_order"] = run.execution_order
attributes["execution_order"] = run.execution_order # type: ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should maybe just remove?

@@ -220,7 +220,7 @@ def _pull_queue(self) -> None:
data = MessageToJson(
pb,
preserving_proto_field_name=True,
including_default_value_fields=True,
including_default_value_fields=True, # type: ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should maybe be MessageToDict?

Comment on lines 78 to 83
# Metadata creation with duckdb raises 3 warnings at the moment about reflection.
# As a stop-gap to increase strictness of pytest to fail on warnings, we'll
# explicitly catch the warning and assert that it's the one we expect.
# explicitly catch the warnings and assert that it's the one we expect.
# We may need to revisit at a later stage and determine why a warning is being
# raised here.
assert len(records) == 1
assert len(records) == 3
Copy link
Contributor Author

Choose a reason for hiding this comment

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

new versions of duckdb raise 3 warnings about data types

@@ -1,3 +1,5 @@
# type: ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

type-ignoring pydantic files necessary with new mypy version

Erick Friis added 2 commits June 6, 2024 13:56
@efriis efriis marked this pull request as ready for review June 6, 2024 20:57
Copy link
Contributor Author

Choose a reason for hiding this comment

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

some new version of sqlalchemy/duckdb throws 2 additional warnings. We just want to check that the duckdb one is there per #3653

Erick Friis added 2 commits June 6, 2024 14:12
@efriis efriis merged commit a24a9c6 into master Jun 6, 2024
98 checks passed
@efriis efriis deleted the erick/uv-extended-test-deps branch June 6, 2024 22:45
GaetanLepage added a commit to GaetanLepage/nixpkgs that referenced this pull request Jun 11, 2024
hinthornw pushed a commit that referenced this pull request Jun 20, 2024
They cause `poetry lock` to take a ton of time, and `uv pip install` can
resolve the constraints from these toml files in trivial time
(addressing problem with #19153)

This allows us to properly upgrade lockfile dependencies moving forward,
which revealed some issues that were either fixed or type-ignored (see
file comments)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases size:XL This PR changes 500-999 lines, ignoring generated files. Ɑ: vector store Related to vector store module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant