Erick Friis
2b360d6a2f
infra: scheduled test fix ( #28519 )
2024-12-04 15:20:56 -08:00
Erick Friis
a009249369
infra: release rely on local built in testing ( #28492 )
2024-12-03 16:35:38 -08:00
Erick Friis
50ddf13692
infra: configurable scheduled tests ( #28486 )
2024-12-03 12:06:29 -08:00
Erick Friis
a220ee56cd
infra: add 20min timeout to ci steps ( #28483 )
2024-12-03 10:35:57 -08:00
Ülgen Sarıkavak
c953f93c54
infra: Update Poetry version, to current latest (1.8.4) ( #28194 )
...
Update all Poetry versions to the current latest, 1.8.4 .
I was checking how lock files are managed and found out that even though
the files are generated - updated with the current latest version of
Poetry, the version used in CI and Dockerfile was outdated.
*
https://github.com/langchain-ai/langchain/pull/28061/files#diff-e00422d37a73d07c174e7838ad7c30f642d06305aff8f9d71e1e84c6897efbffL1
*
https://github.com/langchain-ai/langchain/pull/28070/files#diff-55267c883e58892916d5316bc029725fdeeba5a77e2557cf7667793823d9d9c6L1
*
https://github.com/langchain-ai/langchain/pull/27991/files#diff-9f96b8fd39133c3f1d737e013c9042b065b42ae04b3da76902304f30cec136d8R1
<!-- If no one reviews your PR within a few days, please @-mention one
of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17. -->
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-12-02 19:01:13 +00:00
Erick Friis
242e9fc865
infra: install standard tests in docs build ( #28303 )
2024-11-22 15:49:10 -08:00
Erick Friis
35e6052df5
infra: remove stale dockerfiles from repo ( #28243 )
...
deleting the following docker things from monorepo. they aren't
currently usable because of old dependencies, and I'd rather avoid
people using them / having to maintain them
- /docker
- this folder has a compose file that spins up postgres,pgvector
(separate from postgres and very stale version),mongo instance with
default user/password that we've gotten security pings about before. not
worth having
- also spins up a custom dockerfile with onttotext/graphdb - not even
sure what that is
- /libs/langchain/dockerfile + dev.dockerfile
- super old poetry version, doesn't implement the right thing anymore
- .github/workflows/_release_docker.yml, langchain_release_docker.yml
- not used anymore, not worth having an alternate release path
2024-11-21 00:05:01 +00:00
Erick Friis
0dbaf05bb7
standard-tests: rename langchain_standard_tests to langchain_tests, release 0.3.2 ( #28203 )
2024-11-18 19:10:39 -08:00
Erick Friis
24eea2e398
infra: allow non-langchainai packages ( #28199 )
2024-11-19 01:43:08 +00:00
Erick Friis
364fd5e17f
infra: release standard test case ( #28140 )
2024-11-15 11:58:28 -08:00
Vadym Barda
48ee322a78
partners: add xAI chat integration ( #28032 )
2024-11-12 15:11:29 -05:00
Erick Friis
2494deb2a4
infra: remove google creds from release and integration test workflows ( #27950 )
2024-11-07 00:31:10 +00:00
Erick Friis
c3b75560dc
infra: release note grep order of operations ( #27922 )
2024-11-05 12:44:36 -08:00
Erick Friis
b3c81356ca
infra: release note compute 2 ( #27921 )
2024-11-05 12:04:41 -08:00
Erick Friis
ba5cba04ff
infra: get min versions ( #27896 )
2024-11-04 23:46:13 +00:00
Erick Friis
a54f390090
infra: fix prev tag output ( #27892 )
2024-11-04 12:46:23 -08:00
Erick Friis
75f80c2910
infra: fix prev tag condition ( #27891 )
2024-11-04 12:42:22 -08:00
Erick Friis
14a71a6e77
infra: fix prev tag calculation ( #27890 )
2024-11-04 12:38:39 -08:00
Erick Friis
4e5cc84d40
infra: release tag compute ( #27836 )
2024-11-04 12:16:51 -08:00
Erick Friis
03a3670a5e
infra: remove some special cases ( #27839 )
2024-11-01 21:13:43 +00:00
Erick Friis
54cb80c778
docs: experimental case, use yq action ( #27798 )
2024-10-31 11:21:48 -07:00
Erick Friis
8ad7adad87
infra: build api docs from package listing ( #27774 )
2024-10-30 21:31:01 -07:00
Bagatur
92024d0d7d
infra: turn off release attestations ( #27765 )
2024-10-30 15:22:31 -07:00
ccurme
595dc592c9
docs: run how-to guides in CI ( #27615 )
...
Add how-to guides to [Run notebooks
job](https://github.com/langchain-ai/langchain/actions/workflows/run_notebooks.yml )
and fix existing notebooks.
- As with tutorials, cassettes must be updated when HTTP calls in guides
change (by running existing
[script](https://github.com/langchain-ai/langchain/blob/master/docs/scripts/update_cassettes.sh )).
- Cassettes now total ~62mb over 474 files.
- `docs/scripts/prepare_notebooks_for_ci.py` lists a number of notebooks
that do not run (e.g., due to requiring additional infra, slowness,
requiring `input()`, etc.).
2024-10-30 12:35:38 -04:00
Erick Friis
8396ca2990
docs: redis in api docs ( #27722 )
2024-10-29 20:13:53 +00:00
Erick Friis
6ed92f13d0
infra: azure/mongo api docs build ( #27512 )
2024-10-21 08:27:46 -07:00
Erick Friis
322ca84812
infra: add ibm api build ( #27425 )
...
test build:
https://github.com/langchain-ai/langchain/actions/runs/11386155179
2024-10-17 07:47:29 -07:00
Erick Friis
4d11211c89
infra: schedule triggers monorepo only by default ( #27428 )
...
fixes https://github.com/langchain-ai/langchain/issues/27426
2024-10-17 14:31:14 +00:00
ccurme
fdb7f951c8
monorepo: add script for updating notebook cassettes ( #27399 )
...
1. Move dependencies for running notebooks into monorepo poetry test
deps;
2. Add script to update cassettes for a single notebook;
3. Add cassettes for some how-to guides.
---
To update cassettes for a single notebook, run
`docs/scripts/update_cassettes.sh`. For example:
```
./docs/scripts/update_cassettes.sh docs/docs/how_to/binding.ipynb
```
Requires:
1. monorepo dev and test dependencies installed;
2. env vars required by notebook are set.
Note: How-to guides are not currently run in [scheduled
job](https://github.com/langchain-ai/langchain/actions/workflows/run_notebooks.yml ).
Will add cassettes for more how-to guides in subsequent PRs before
adding them to scheduled job.
2024-10-16 13:46:49 -04:00
Erick Friis
d2cd43601b
infra: add databricks api build ( #27374 )
2024-10-15 20:11:23 +00:00
Erick Friis
64a16f2cf0
infra: add nvidia and astradb back to api build ( #27115 )
...
test build
https://github.com/langchain-ai/langchain/actions/runs/11185115845
2024-10-04 14:41:41 -07:00
Erick Friis
e806e9de38
infra: fix api docs build checkout 2 ( #27033 )
2024-10-01 14:49:35 -07:00
Erick Friis
35f6393144
unstructured: mv to external repo ( #26923 )
2024-09-30 17:38:21 -07:00
Erick Friis
b2c315997c
infra: custom commit to external repo ( #26962 )
2024-09-27 16:39:28 -07:00
ccurme
44eddd39d6
infra[patch]: update notebooks workflow ( #26956 )
...
Addressing some lingering comments from
https://github.com/langchain-ai/langchain/pull/26944 , adding parameters
for
- python version
- working directory

2024-09-27 15:39:14 -04:00
ccurme
67df944dfb
infra: add CI job for running tutorial notebooks ( #26944 )
2024-09-27 18:29:49 +00:00
Erick Friis
9eb26c5f9d
infra: api docs build ref experimental ( #26950 )
2024-09-27 10:21:07 -07:00
Erick Friis
135164e1ee
infra: api docs build ref update ( #26949 )
2024-09-27 10:12:10 -07:00
Erick Friis
c38ea7a069
infra: api docs build ( #26948 )
2024-09-27 09:47:43 -07:00
Erick Friis
7a99a4d4f8
infra: fix experimental in dco imports check ( #26905 )
2024-09-26 09:51:58 -07:00
Erick Friis
2ea5f60cc5
experimental: migrate to external repo ( #26879 )
...
security scanners can't distinguish monorepo sources from each other.
this will resolve issues for folks trying to use e.g. langchain-core but
getting security issues from experimental flagged!
2024-09-25 19:02:19 -07:00
Bagatur
c750600d3d
infra: update release secrets ( #26878 )
2024-09-26 00:12:31 +00:00
ccurme
2a4c5713cd
openai[patch]: fix azure integration tests ( #26791 )
2024-09-23 17:49:15 -04:00
Erick Friis
d158401e73
infra: master release checkout ref for release note ( #26605 )
2024-09-18 01:51:54 +00:00
Erick Friis
f4a65236ee
infra: only force reinstall on release ( #26580 )
2024-09-17 17:12:17 +00:00
Bagatur
222caaebdd
infra: fix release ( #26455 )
2024-09-13 15:01:36 -07:00
Erick Friis
c2a3021bb0
multiple: pydantic 2 compatibility, v0.3 ( #26443 )
...
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Dan O'Donovan <dan.odonovan@gmail.com>
Co-authored-by: Tom Daniel Grande <tomdgrande@gmail.com>
Co-authored-by: Grande <Tom.Daniel.Grande@statsbygg.no>
Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: ccurme <chester.curme@gmail.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com>
Co-authored-by: ZhangShenao <15201440436@163.com>
Co-authored-by: Friso H. Kingma <fhkingma@gmail.com>
Co-authored-by: ChengZi <chen.zhang@zilliz.com>
Co-authored-by: Nuno Campos <nuno@langchain.dev>
Co-authored-by: Morgante Pell <morgantep@google.com>
2024-09-13 14:38:45 -07:00
ccurme
4ffd27c4d0
huggingface[patch]: add integration tests ( #26269 )
...
Add standard tests for ChatHuggingFace. About half of these fail
currently.
2024-09-10 18:31:51 +00:00
ccurme
60054db1c4
infra[patch]: remove together from scheduled tests ( #25909 )
...
These now run in https://github.com/langchain-ai/langchain-together
2024-08-31 18:43:16 +00:00
ccurme
426333ff6f
infra[patch]: remove AI21 from scheduled tests ( #25847 )
...
These now run in https://github.com/langchain-ai/langchain-ai21
2024-08-29 14:03:20 +00:00
Erick Friis
3dc7d447aa
infra: reenable min version testing 2, ci ignore ai21 ( #25709 )
2024-08-23 23:28:42 +00:00
Erick Friis
8170bd636f
Revert "infra: reenable min version testing" ( #25708 )
...
Reverts langchain-ai/langchain#24640
2024-08-23 10:20:23 -07:00
Erick Friis
3d5808ef27
infra: reenable min version testing ( #24640 )
...
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
2024-08-23 10:17:41 -07:00
Erick Friis
e160b669c8
infra: add unstructured api key to release ( #24638 )
2024-07-24 16:47:24 -07:00
Eugene Yurtsev
0bb54ab9f0
CI: Temporarily disable min version checking on pull request ( #24551 )
...
Short term to fix CI
2024-07-23 14:12:08 +00:00
Erick Friis
1f01c0fd98
infra: remove core from min version pr testing ( #24507 )
...
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2024-07-22 17:46:15 +00:00
Erick Friis
f4ee3c8a22
infra: add min version testing to pr test flow ( #24358 )
...
xfailing some sql tests that do not currently work on sqlalchemy v1
#22207 was very much not sqlalchemy v1 compatible.
Moving forward, implementations should be compatible with both to pass
CI
2024-07-19 22:03:19 +00:00
Erick Friis
96ccba9c27
infra: 15s retry wait on test pypi ( #24375 )
2024-07-17 23:41:22 +00:00
Erick Friis
6c3e65a878
infra: prerelease dep checking on release ( #23269 )
2024-07-16 21:48:15 +00:00
Erick Friis
d002fa902f
infra: fix redundant matrix config ( #24151 )
2024-07-11 15:15:41 -07:00
Erick Friis
9de562f747
infra: create individual jobs in check_diff, do max milvus testing in 3.11 ( #23829 )
...
pickup from #23721
2024-07-10 22:45:18 +00:00
Erick Friis
34a02efcf9
infra: remove double heading in release notes ( #24037 )
2024-07-09 20:48:17 +00:00
ccurme
e62f8f143f
infra: remove cohere from monorepo scheduled tests ( #23846 )
2024-07-03 21:48:39 +00:00
Erick Friis
6019147b66
infra: filter template check ( #23727 )
2024-07-01 13:00:33 -07:00
Jacob Lee
9604cb833b
ci[patch]: Update people PR CI permissions ( #23696 )
...
CC @agola11
2024-06-30 22:25:08 -07:00
Bagatur
74321e546d
infra: update release permissions ( #23662 )
2024-06-29 07:31:36 -04:00
Bagatur
f055f2a1e3
infra: install integration deps as needed ( #23413 )
2024-06-25 11:17:43 -07:00
Bagatur
093ae04d58
core[patch]: Pin pydantic in py3.12.4 ( #23130 )
2024-06-18 12:00:02 -07:00
Bagatur
01783d67fc
core[patch]: Release 0.2.9 ( #23091 )
2024-06-18 17:15:04 +00:00
Bagatur
5ee6e22983
infra: test all dependents on any change ( #22994 )
2024-06-17 20:50:31 +00:00
ccurme
e09c6bb58b
infra: update integration test workflow ( #22945 )
2024-06-15 19:52:43 +00:00
ccurme
32966a08a9
infra: remove nvidia from monorepo scheduled tests ( #22915 )
...
Scheduled tests run in
https://github.com/langchain-ai/langchain-nvidia/tree/main
2024-06-14 13:23:04 -07:00
Christophe Bornet
d04e899b56
ci: add testing with Python 3.12 ( #22813 )
...
We need to use a different version of numpy for py3.8 and py3.12 in
pyproject.
And so do projects that use that Python version range and import
langchain.
- **Twitter handle:** _cbornet
2024-06-12 16:31:36 -04:00
Bagatur
8203c1ff87
infra: lint new docs to match templates ( #22786 )
2024-06-11 13:26:35 -07:00
Lei Zhang
5ba1899cd7
infra: Scheduled GitHub Actions to run only on the upstream repository ( #22707 )
...
**Description:** Scheduled GitHub Actions to run only on the upstream
repository
**Issue:** Fixes #22706
**Twitter handle:** @coolbeevip
2024-06-10 11:07:42 -04:00
Erick Friis
a24a9c6427
multiple: get rid of pyproject extras ( #22581 )
...
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)
2024-06-06 15:45:22 -07:00
Bagatur
410e9add44
infra: run scheduled tests on aws, google, cohere, nvidia ( #22328 )
...
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-05-30 13:57:12 -07:00
Erick Friis
611faa22c7
infra: allow first releases 2 ( #22237 )
2024-05-28 09:53:21 -07:00
Erick Friis
26c6e4a5ef
infra: allow first releases ( #22236 )
2024-05-28 09:39:40 -07:00
Erick Friis
6ee8de62c0
infra: auto-generated release notes based on git log ( #22141 )
...
Generates release notes based on a `git log` command with title names
Aiming to improve to splitting out features vs. bugfixes using
conventional commits in the coming weeks.
Will work for any monorepo packages
2024-05-24 11:43:28 -07:00
Eugene Yurtsev
63004a0945
codespell ignore remaining issues ( #22097 )
2024-05-23 21:51:39 +00:00
Bagatur
50186da0a1
infra: rm unused # noqa violations ( #22049 )
...
Updating #21137
2024-05-22 15:21:08 -07:00
Erick Friis
98b64f3ae3
infra: only tag core releases as github latest ( #21991 )
2024-05-21 11:39:03 -07:00
Erick Friis
be15740084
fireworks: add secret ( #21744 )
2024-05-15 19:48:51 -07:00
Erick Friis
1647b28a87
infra: release min version dont clobber current lib ( #21740 )
2024-05-15 19:27:39 -07:00
Erick Friis
56c6b5868b
infra: run codespell on v0.1 prs ( #21545 )
2024-05-10 12:51:42 -07:00
ccurme
d3ff9c5d6a
infra: turn off fail-fast for standard tests ( #21541 )
2024-05-10 18:28:57 +00:00
Bagatur
b00fd1dbde
infra: Undo gh cache removal ( #21210 )
...
Co-authored-by: Nuno Campos <nuno@langchain.dev>
2024-05-02 17:12:32 +00:00
Nuno Campos
663747b730
core[patch]: Fixes for convert_messages ( #21207 )
...
- support two-tuples of any sequence type (eg. json.loads never produces
tuples)
- support type alias for role key
- if id is passed in in dict form use it
- if tool_calls passed in in dict form use them
---------
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-05-02 16:55:42 +00:00
Erick Friis
5f8a307565
infra: same tagging for langchain ( #21126 )
2024-04-30 14:43:45 -07:00
Erick Friis
dbdfa3d34e
infra: fix minimum version install to force pypi install ( #21112 )
2024-04-30 12:41:26 -07:00
Erick Friis
efe27ef849
infra: tag non-langchain releases ( #20805 )
2024-04-30 16:15:46 +00:00
ccurme
989e4a92c2
(infra) pass input to test-release ( #20947 )
2024-04-26 15:17:40 -04:00
Erick Friis
078c5d9bc6
infra: nonmaster release checkbox ( #20945 )
...
Co-authored-by: ccurme <chester.curme@gmail.com>
2024-04-26 14:50:07 -04:00
junkeon
c8fd51e8c8
upstage: Add Upstage partner package LA and GC ( #20651 )
...
---------
Co-authored-by: Sean <chosh0615@gmail.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
Co-authored-by: Sean Cho <sean@upstage.ai>
2024-04-24 15:17:20 -07:00
ccurme
5a3c65a756
standard tests: add xfails ( #20659 )
2024-04-23 17:14:16 -04:00
Erick Friis
764871f97d
infra: add test-doc-imports to ci failure ( #20637 )
2024-04-19 02:06:57 +00:00
Erick Friis
726234eee5
infra: fix doc imports ci ( #20629 )
2024-04-18 23:42:03 +00:00
Erick Friis
f09bd0b75b
upstage: init package ( #20574 )
...
Co-authored-by: Sean Cho <sean@upstage.ai>
Co-authored-by: JuHyung-Son <sonju0427@gmail.com>
2024-04-17 23:25:36 +00:00
ccurme
22da9f5f3f
update scheduled tests ( #20526 )
...
repurpose scheduled tests to test over provider packages
2024-04-16 16:49:46 -04:00