Bagatur
ac922105ad
infra: rm ai21 from CI ( #25984 )
2024-09-03 11:47:27 -07: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
dd2d094adc
infra: remove huggingface from ci tree ( #25559 )
2024-08-19 22:48:26 +00:00
Bagatur
fba65ba04f
infra: test core on py 3.9, 10, 11 ( #24951 )
2024-08-01 18:23:37 -07:00
Erick Friis
957b05b8d5
infra: py3.11 for community integration test compiling ( #24834 )
...
e.g.
https://github.com/langchain-ai/langchain/actions/runs/10167754785/job/28120861343?pr=24833
2024-07-30 18:43:10 +00:00
Erick Friis
d5b4b7e05c
infra: langchain max python 3.11 for resolution ( #24729 )
2024-07-26 21:17:11 +00:00
Erick Friis
3c3d3e9579
infra: community max python 3.11 for resolution ( #24728 )
2024-07-26 21:10:14 +00: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
47ed7f766a
infra: fix release prerelease deps bug ( #24323 )
2024-07-16 15:13:41 -07:00
Erick Friis
6c3e65a878
infra: prerelease dep checking on release ( #23269 )
2024-07-16 21:48:15 +00:00
Erick Friis
1d7a3ae7ce
infra: add test deps to add_dependents ( #24283 )
2024-07-15 15:48:53 -07:00
Erick Friis
d002fa902f
infra: fix redundant matrix config ( #24151 )
2024-07-11 15:15:41 -07:00
Erick Friis
bd18faa2a0
infra: add SQLAlchemy to min version testing ( #23186 )
...
preventing issues like #22546
Notes:
- this will only affect release CI. We may want to consider adding
running unit tests with min versions to PR CI in some form
- because this only affects release CI, it could create annoying issues
releasing while I'm on vacation. Unless anyone feels strongly, I'll wait
to merge this til when I'm back
2024-07-11 20:09:57 +00: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
Bagatur
1e957c0c23
docs: rm discord ( #23985 )
2024-07-08 14:27:58 -07:00
ccurme
e62f8f143f
infra: remove cohere from monorepo scheduled tests ( #23846 )
2024-07-03 21:48:39 +00:00
Bagatur
a0c2281540
infra: update mypy 1.10, ruff 0.5 ( #23721 )
...
```python
"""python scripts/update_mypy_ruff.py"""
import glob
import tomllib
from pathlib import Path
import toml
import subprocess
import re
ROOT_DIR = Path(__file__).parents[1]
def main():
for path in glob.glob(str(ROOT_DIR / "libs/**/pyproject.toml"), recursive=True):
print(path)
with open(path, "rb") as f:
pyproject = tomllib.load(f)
try:
pyproject["tool"]["poetry"]["group"]["typing"]["dependencies"]["mypy"] = (
"^1.10"
)
pyproject["tool"]["poetry"]["group"]["lint"]["dependencies"]["ruff"] = (
"^0.5"
)
except KeyError:
continue
with open(path, "w") as f:
toml.dump(pyproject, f)
cwd = "/".join(path.split("/")[:-1])
completed = subprocess.run(
"poetry lock --no-update; poetry install --with typing; poetry run mypy . --no-color",
cwd=cwd,
shell=True,
capture_output=True,
text=True,
)
logs = completed.stdout.split("\n")
to_ignore = {}
for l in logs:
if re.match("^(.*)\:(\d+)\: error:.*\[(.*)\]", l):
path, line_no, error_type = re.match(
"^(.*)\:(\d+)\: error:.*\[(.*)\]", l
).groups()
if (path, line_no) in to_ignore:
to_ignore[(path, line_no)].append(error_type)
else:
to_ignore[(path, line_no)] = [error_type]
print(len(to_ignore))
for (error_path, line_no), error_types in to_ignore.items():
all_errors = ", ".join(error_types)
full_path = f"{cwd}/{error_path}"
try:
with open(full_path, "r") as f:
file_lines = f.readlines()
except FileNotFoundError:
continue
file_lines[int(line_no) - 1] = (
file_lines[int(line_no) - 1][:-1] + f" # type: ignore[{all_errors}]\n"
)
with open(full_path, "w") as f:
f.write("".join(file_lines))
subprocess.run(
"poetry run ruff format .; poetry run ruff --select I --fix .",
cwd=cwd,
shell=True,
capture_output=True,
text=True,
)
if __name__ == "__main__":
main()
```
2024-07-03 10:33:27 -07:00
Erick Friis
6019147b66
infra: filter template check ( #23727 )
2024-07-01 13:00:33 -07:00
Jacob Lee
d2c7379f1c
👥 Update LangChain people data ( #23697 )
...
👥 Update LangChain people data
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-07-01 17:42:55 +00: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
255ad39ae3
infra: run CI on large diffs ( #23192 )
...
currently we skip CI on diffs >= 300 files. think we should just run it
on all packages instead
---------
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-06-19 19:30:56 +00: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
Eugene Yurtsev
4633b4cf2b
ci: update documentation template to include URL ( #22032 )
...
update documentation template to include URL
2024-05-22 12:01:28 -04:00
Erick Friis
98b64f3ae3
infra: only tag core releases as github latest ( #21991 )
2024-05-21 11:39:03 -07:00
ccurme
e8bdf245eb
update maintainers ( #21305 )
2024-05-20 19:07:53 +00: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
c77d2f2b06
multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep ( #21646 )
...
0.2 is not a breaking release for core (but it is for langchain and
community)
To keep the core+langchain+community packages in sync at 0.2, we will
relax deps throughout the ecosystem to tolerate `langchain-core` 0.2
2024-05-13 19:50:36 -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
Erick Friis
77eba10f47
standard-tests: fix default fixtures ( #20520 )
2024-04-16 16:12:36 +00:00
Erick Friis
9eb6f538f0
infra, multiple: rc release versions ( #20252 )
2024-04-09 17:54:58 -07:00
Erick Friis
855ba46f80
standard-tests: a standard unit and integration test set ( #20182 )
...
just chat models for now
2024-04-09 12:43:00 -07:00
Erick Friis
28dfde2cb2
cohere: move package to external repo ( #20081 )
2024-04-05 14:29:15 -07:00
Brace Sproul
6d93a03bef
docs[patch]: Fix or remove broken mdx links ( #19777 )
...
this pr also drops the community added action for checking broken links
in mdx. It does not work well for our use case, throwing errors for
local paths, plus the rest of the errors our in house solution had.
2024-03-29 15:25:08 -07:00
ccurme
0dbd5f5012
add script to check imports ( #19611 )
2024-03-29 13:30:20 -04:00
Erick Friis
f55b11fb73
infra: Revert run partner CI on core PRs ( #19733 )
...
Reverts parts of langchain-ai/langchain#19688
2024-03-28 20:45:59 +00:00
Erick Friis
8c2ed85a45
core[patch], infra: release 0.1.36, run partner CI on core PRs ( #19688 )
2024-03-28 08:55:10 -07:00
Guangdong Liu
94b869a974
github action: Add dead link check for .mdx files ( #19492 )
...
- **Description:** Add dead link check for .mdx files. I checked the
logs and found that files with .mdx suffix were not checked.
https://github.com/langchain-ai/langchain/actions/runs/8409525467/job/23026924465#logs
- @baskaryan, @efriis, @eyurtsev, @hwchase17.
2024-03-26 08:42:34 -07:00
Erick Friis
e6952b04d5
cohere[patch]: fix release ( #19529 )
2024-03-25 13:46:29 -07:00
Erick Friis
caf47ab666
infra: run min version ci before integration tests ( #18945 )
2024-03-15 12:14:44 -07:00
Erick Friis
781aee0068
community, langchain, infra: revert store extended test deps outside of poetry ( #19153 )
...
Reverts langchain-ai/langchain#18995
Because it makes installing dependencies in python 3.11 extended testing
take 80 minutes
2024-03-15 17:10:47 +00:00
Erick Friis
9e569d85a4
community, langchain, infra: store extended test deps outside of poetry ( #18995 )
...
poetry can't reliably handle resolving the number of optional "extended
test" dependencies we have. If we instead just rely on pip to install
extended test deps in CI, this isn't an issue.
2024-03-15 05:55:30 +00:00
Erick Friis
7ce81eb6f4
voyageai[patch]: init package ( #19098 )
...
Co-authored-by: fodizoltan <zoltan@conway.expert>
Co-authored-by: Yujie Qian <thomasq0809@gmail.com>
Co-authored-by: fzowl <160063452+fzowl@users.noreply.github.com>
2024-03-15 00:56:10 +00:00
Brace Sproul
5157b15446
ci[patch]: Set root dir to ./docs ( #19102 )
2024-03-14 17:55:04 -07:00
Brace Sproul
98cd8f673b
docs[minor]ci[minor]: Add script & CI to check recurring links daily ( #19100 )
2024-03-14 17:42:22 -07:00
Erick Friis
5e0c58f9c2
infra: update upload-artifact and download-artifact to v4 ( #19044 )
2024-03-13 20:08:29 +00:00
Erick Friis
74b2c0aa01
templates, cli: more security deps ( #19006 )
2024-03-12 20:48:56 -07:00
Bagatur
915c1f8673
infra: rm api build CI ( #18944 )
2024-03-11 16:12:34 -07:00
Bagatur
2d172181e0
Revert "update api build script ( #18930 )" ( #18931 )
2024-03-11 11:47:18 -07:00
Bagatur
def329b5f2
update api build script ( #18930 )
2024-03-11 11:44:37 -07:00
Erick Friis
ad29806255
nvidia-trt, nvidia-ai-endpoints: move to repo ( #18814 )
...
NVIDIA maintained in https://github.com/langchain-ai/langchain-nvidia
2024-03-08 19:30:50 +00:00
Erick Friis
f3e28289f6
infra: reorder api docs build steps ( #18618 )
2024-03-05 17:33:36 -08:00
Brace Sproul
328a498a78
docs[minor]: Add thumbs up/down to all docs pages ( #18526 )
2024-03-04 15:14:28 -08:00
Erick Friis
6afb135baa
astradb: move to langchain-datastax repo ( #18354 )
2024-03-01 19:04:43 +00:00
Bagatur
5efb5c099f
text-splitters[minor], langchain[minor], community[patch], templates, docs: langchain-text-splitters 0.0.1 ( #18346 )
2024-02-29 18:33:21 -08:00
Erick Friis
c7d5ed6f5c
infra: tolerate partner package move in ci ( #18355 )
2024-02-29 17:49:28 -08:00
Erick Friis
4e27e66938
infra: mongodb env vars ( #18347 )
2024-02-29 15:24:28 -08:00
Erick Friis
dfd9787388
infra: ci dirs in wrong order ( #18340 )
2024-02-29 21:13:29 +00:00
Erick Friis
68be5a7658
infra: skip ibm api docs ( #18335 )
2024-02-29 10:16:57 -08:00
Erick Friis
43534a4c08
skip airbyte api docs ( #18334 )
2024-02-29 09:57:52 -08:00
Brace Sproul
ca4f5e2408
ci: Update issue template required checks ( #18283 )
2024-02-28 13:27:39 -08:00