langchain/.github/workflows
Predrag Gruevski 0dd2c21089
Do not bust poetry install cache when manually installing pydantic v2. (#9407)
Using `poetry add` to install `pydantic@2.1` was also causing poetry to
change its lockfile. This prevented dependency caching from working:
- When attempting to restore a cache, it would hash the lockfile in git
and use it as part of the cache key. Say this is a cache miss.
- Then, it would attempt to save the cache -- but the lockfile will have
changed, so the cache key would be *different* than the key in the
lookup. So the cache save would succeed, but to a key that cannot be
looked up in the next run -- meaning we never get a cache hit.

In addition to busting the cache, the lockfile update itself is also
non-trivially long, over 30s:

![image](https://github.com/langchain-ai/langchain/assets/2348618/d84d3b56-484d-45eb-818d-54126a094a40)

This PR fixes the problems by using `pip` to perform the installation,
avoiding the lockfile change.
2023-08-17 18:23:00 -04:00
..
_lint.yml Cache .mypy_cache across lint runs. (#9405) 2023-08-17 13:53:59 -04:00
_release.yml bump and fix (#8441) 2023-07-28 17:16:51 -07:00
_test.yml Do not bust poetry install cache when manually installing pydantic v2. (#9407) 2023-08-17 18:23:00 -04:00
codespell.yml Add api cross ref linking (#8275) 2023-07-26 12:38:58 -07:00
langchain_ci.yml unpin pydantic (#9356) 2023-08-17 01:55:46 -07:00
langchain_experimental_ci.yml scheduled tests GHA (#8879) 2023-08-08 14:55:25 -07:00
langchain_experimental_release.yml scheduled tests GHA (#8879) 2023-08-08 14:55:25 -07:00
langchain_release.yml bump releases rc0 (#8097) 2023-07-21 13:54:57 -07:00
scheduled_test.yml fix sched ci (more) (#9056) 2023-08-10 10:39:29 -07:00