[PR #212] [MERGED] ci: migrate to uv #239

Closed
opened 2026-02-16 05:17:04 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/212
Author: @eyurtsev
Created: 5/22/2025
Status: Merged
Merged: 5/28/2025
Merged by: @eyurtsev

Base: mainHead: eugene/migrate_to_uv


📝 Commits (1)

📊 Changes

25 files changed (+1784 additions, -4144 deletions)

View changed files

.github/actions/poetry_setup/action.yml (+0 -91)
.github/actions/uv_setup/action.yml (+18 -0)
📝 .github/workflows/_lint.yml (+16 -56)
📝 .github/workflows/_release.yml (+116 -30)
📝 .github/workflows/_test.yml (+58 -18)
📝 .github/workflows/ci.yml (+21 -82)
📝 Makefile (+9 -9)
📝 docker-compose.yml (+2 -2)
📝 examples/migrate_pgvector_to_pgvectorstore.ipynb (+1 -0)
📝 examples/pg_vectorstore.ipynb (+16 -9)
📝 examples/pg_vectorstore_how_to.ipynb (+4 -3)
📝 examples/vectorstore.ipynb (+2 -1)
📝 langchain_postgres/chat_message_histories.py (+1 -0)
📝 langchain_postgres/v2/async_vectorstore.py (+1 -1)
poetry.lock (+0 -3782)
📝 pyproject.toml (+49 -45)
📝 tests/unit_tests/fixtures/metadata_filtering_data.py (+1 -1)
📝 tests/unit_tests/v2/test_async_pg_vectorstore.py (+1 -1)
📝 tests/unit_tests/v2/test_async_pg_vectorstore_index.py (+1 -1)
📝 tests/unit_tests/v2/test_pg_vectorstore.py (+1 -1)

...and 5 more files

📄 Description

  • Update pyproject.toml
  • Add uv.lock
  • Update workflows and actions to use uv
  • Linted a bunch of files
  • Had to add ruff lint ignore rules especially for E501 (long lines) to v2 implementation of pgvectorstores -- ideally we can fix those up at some point
  • Currently only testing with python 3.12. We should parallelize the test when possible, would require handling the postgres service to accommodate

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/212 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 5/22/2025 **Status:** ✅ Merged **Merged:** 5/28/2025 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `eugene/migrate_to_uv` --- ### 📝 Commits (1) - [`c11f3e5`](https://github.com/langchain-ai/langchain-postgres/commit/c11f3e59fffb45f03ab048f673cb2e7f5fde1cec) Update _release.yml ### 📊 Changes **25 files changed** (+1784 additions, -4144 deletions) <details> <summary>View changed files</summary> ➖ `.github/actions/poetry_setup/action.yml` (+0 -91) ➕ `.github/actions/uv_setup/action.yml` (+18 -0) 📝 `.github/workflows/_lint.yml` (+16 -56) 📝 `.github/workflows/_release.yml` (+116 -30) 📝 `.github/workflows/_test.yml` (+58 -18) 📝 `.github/workflows/ci.yml` (+21 -82) 📝 `Makefile` (+9 -9) 📝 `docker-compose.yml` (+2 -2) 📝 `examples/migrate_pgvector_to_pgvectorstore.ipynb` (+1 -0) 📝 `examples/pg_vectorstore.ipynb` (+16 -9) 📝 `examples/pg_vectorstore_how_to.ipynb` (+4 -3) 📝 `examples/vectorstore.ipynb` (+2 -1) 📝 `langchain_postgres/chat_message_histories.py` (+1 -0) 📝 `langchain_postgres/v2/async_vectorstore.py` (+1 -1) ➖ `poetry.lock` (+0 -3782) 📝 `pyproject.toml` (+49 -45) 📝 `tests/unit_tests/fixtures/metadata_filtering_data.py` (+1 -1) 📝 `tests/unit_tests/v2/test_async_pg_vectorstore.py` (+1 -1) 📝 `tests/unit_tests/v2/test_async_pg_vectorstore_index.py` (+1 -1) 📝 `tests/unit_tests/v2/test_pg_vectorstore.py` (+1 -1) _...and 5 more files_ </details> ### 📄 Description * Update pyproject.toml * Add uv.lock * Update workflows and actions to use uv * Linted a bunch of files * Had to add ruff lint ignore rules especially for E501 (long lines) to v2 implementation of pgvectorstores -- ideally we can fix those up at some point * Currently only testing with python 3.12. We should parallelize the test when possible, would require handling the postgres service to accommodate --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:17:04 -05:00
yindo closed this issue 2026-02-16 05:17:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#239