Mason Daugherty
b5030badbe
refactor(core): clean up sys_info.py ( #33372 )
2025-10-09 03:31:26 +00:00
Mason Daugherty
0039b3b046
refactor(core): remove keep-runtime-typing from pyproject.toml following dropping 3.9 ( #33360 )
...
https://docs.astral.sh/ruff/rules/non-pep604-annotation-optional/#why-is-this-bad
2025-10-08 21:09:53 -04:00
Mason Daugherty
cda336295f
chore: enrich pyproject.toml files with links to new references, others ( #33343 )
2025-10-07 16:17:14 -04:00
ccurme
492ba3d127
release(core): 1.0.0a8 ( #33341 )
2025-10-07 14:18:44 -04:00
ccurme
ba35387c9e
release(core): 1.0.0a7 ( #33309 )
2025-10-06 16:03:34 -04:00
Mason Daugherty
90e4d944ac
chore(infra): pdm -> hatchling ( #33289 )
2025-10-05 23:52:52 -04:00
Mason Daugherty
6ea03ab46c
style(core): drop python 39 linting target for 3.10 ( #33286 )
2025-10-05 23:22:34 -04:00
Mason Daugherty
eaa6dcce9e
release: v1.0.0 ( #32567 )
...
Co-authored-by: Mohammad Mohtashim <45242107+keenborder786@users.noreply.github.com >
Co-authored-by: Caspar Broekhuizen <caspar@langchain.dev >
Co-authored-by: ccurme <chester.curme@gmail.com >
Co-authored-by: Christophe Bornet <cbornet@hotmail.com >
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
Co-authored-by: Sadra Barikbin <sadraqazvin1@yahoo.com >
Co-authored-by: Vadym Barda <vadim.barda@gmail.com >
2025-10-02 10:49:42 -04:00
ccurme
7ccff656eb
release(core): 0.3.77 ( #33185 )
2025-10-01 10:24:07 -04:00
Mason Daugherty
986302322f
docs: more standardization ( #33124 )
2025-09-25 20:46:20 -04:00
Christophe Bornet
eaf8dce7c2
chore: bump ruff version to 0.13 ( #33043 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-09-25 12:27:39 -04:00
Mason Daugherty
781db9d892
chore: update pyproject.toml files, remove codespell ( #33028 )
...
- Removes Codespell from deps, docs, and `Makefile`s
- Python version requirements in all `pyproject.toml` files now use the
`~=` (compatible release) specifier
- All dependency groups and main dependencies now use explicit lower and
upper bounds, reducing potential for breaking changes
2025-09-20 22:09:33 -04:00
Christophe Bornet
cbaf97ada4
chore: bump mypy version to 1.18 ( #32914 )
2025-09-12 09:19:23 -04:00
Mason Daugherty
7a158c7f1c
revert: "chore: remove ruff target-version" ( #32895 )
...
Reverts langchain-ai/langchain#32880
Not needed at the moment, will do when finishing v1
2025-09-10 20:56:48 -04:00
Christophe Bornet
b274416441
chore: remove ruff target-version ( #32880 )
...
This is not needed anymore since `requires-python` was added when moving
to `uv`.
2025-09-10 11:12:30 -04:00
William FH
443f0ccb0e
release(core): 0.3.76 ( #32877 )
2025-09-10 14:10:44 +00:00
Christophe Bornet
00f699c60d
chore(core): cleanup pyproject.toml ( #32865 )
2025-09-09 10:12:18 -04:00
Christophe Bornet
cc98fb9bee
chore(core): add ruff rule PLC0415 ( #32351 )
...
See https://docs.astral.sh/ruff/rules/import-outside-top-level/
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-09-08 14:15:04 -04:00
Christophe Bornet
01fdeede50
chore(core): fix some ruff preview rules ( #32785 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-09-08 15:55:20 +00:00
Christophe Bornet
5840dad40b
chore(core): enable ruff docstring-code-format ( #32834 )
...
See https://docs.astral.sh/ruff/settings/#format_docstring-code-format
---------
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-09-08 15:13:50 +00:00
ccurme
dbebe2ca97
release(core): 0.3.75 ( #32693 )
2025-08-26 11:12:03 -04:00
Christophe Bornet
02d6b9106b
chore(core): add mypy pydantic plugin ( #32604 )
...
This helps to remove a bunch of mypy false positives.
2025-08-19 09:39:53 -04:00
Mason Daugherty
ee4c2510eb
feat: port various nit changes from wip-v0.4 ( #32506 )
...
Lots of work that wasn't directly related to core
improvements/messages/testing functionality
2025-08-11 15:09:08 -04:00
ccurme
6727d6e8c8
release(core): 0.3.74 ( #32454 )
2025-08-07 16:39:01 -04:00
ccurme
06d8754b0b
release(core): 0.3.73 ( #32446 )
2025-08-07 09:03:53 -04:00
Mason Daugherty
bd3d6496f3
release(core): 0.3.72 ( #32214 )
...
fixes #32170
2025-07-23 20:33:48 -04:00
ccurme
0c4054a7fc
release(core): 0.3.71 ( #32186 )
2025-07-22 15:44:36 -04:00
ccurme
0355da3159
release(core): 0.3.70 ( #32144 )
2025-07-21 10:49:32 -04:00
Mason Daugherty
ad44f0688b
release(core): release 0.3.69 ( #32056 )
2025-07-15 17:13:46 -04:00
Eugene Yurtsev
02d0a9af6c
chore(core): unpin packaging dependency ( #32032 )
...
Unpin packaging dependency
---------
Co-authored-by: ntjohnson1 <24689722+ntjohnson1@users.noreply.github.com >
2025-07-14 21:42:32 +00:00
Christophe Bornet
d57216c295
feat(core): add ruff rules D to tests except D1 ( #32000 )
...
Docs are not required for tests but when there are docstrings, they
shall be correctly formatted.
See https://docs.astral.sh/ruff/rules/#pydocstyle-d
2025-07-14 10:42:03 -04:00
Mason Daugherty
71b361936d
ruff: restore stacklevels, disable autofixing ( #31919 )
2025-07-08 12:55:47 -04:00
Mason Daugherty
e7eac27241
ruff: more rules across the board & fixes ( #31898 )
...
* standardizes ruff dep version across all `pyproject.toml` files
* cli: ruff rules and corrections
* langchain: rules and corrections
2025-07-07 17:48:01 -04:00
Christophe Bornet
4215261be1
core: Cleanup pyproject ( #31857 )
...
* Reorganize some toml properties
* Fix some E501: line too long
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-07-07 13:30:48 -04:00
Christophe Bornet
4134b36db8
core: make ruff rule PLW1510 unfixable ( #31868 )
...
See
https://github.com/astral-sh/ruff/discussions/17087#discussioncomment-12675815
Tha autofix is misleading: it chooses to add `check=False` to keep the
runtime behavior but in reality it hides the fact that most probably the
user would prefer `check=True`.
2025-07-07 10:28:30 -04:00
Christophe Bornet
8aed3b61a9
core: Bump ruff version to 0.12 ( #31846 )
2025-07-07 10:02:51 -04:00
ccurme
2090f85789
core: release 0.3.68 ( #31848 )
...
Also add `search_result` to recognized tool message block types.
2025-07-03 12:36:25 -04:00
ccurme
04cc674e80
core: release 0.3.67 ( #31791 )
2025-06-30 12:00:39 -04:00
ccurme
39a8a1121a
core: release 0.3.66 ( #31690 )
2025-06-20 17:45:03 -04:00
Christophe Bornet
7e046ea848
core: Cleanup Pydantic models and handle deprecation warnings ( #30799 )
...
* Simplified Pydantic handling since Pydantic v1 is not supported
anymore.
* Replace use of deprecated v1 methods by corresponding v2 methods.
* Remove use of other deprecated methods.
* Activate mypy errors on deprecated methods use.
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-06-20 10:42:52 -04:00
Xin Jin
7702691baf
core and langchain: Remove upper bound restriction langsmith dependency ( #31629 )
...
Remove upper bound limitation of LS for good measure: we have full
control over LS so we'll be careful when minor bumping so this shouldn't
risk too much, while on the other hand existing such upperboud
restriction will likely introduce occasional dependency headache for
users
Discussion:
https://langchain.slack.com/archives/C06UEEE4DSS/p1750111219634649?thread_ts=1750107647.115289&cid=C06UEEE4DSS
2025-06-17 09:19:03 -04:00
Xin Jin
01fcdff118
bump langsmith to allow 0.4 ( #31594 )
...
Langsmith 0.4 is launched so bump it up across OSS: langchain and
langchain-core. Will have separate langsmith-doc announcement for that
2025-06-13 07:59:42 -07:00
ccurme
b0f100af7e
core: release 0.3.65 ( #31557 )
2025-06-10 19:39:50 +00:00
lc-arjun
35ae5eab4f
core: use run tree post/patch ( #31500 )
...
Use run post/patch
2025-06-05 14:05:57 -07:00
Christophe Bornet
539e5b6936
core: Add mypy strict-equality rule ( #31286 )
2025-06-02 18:24:35 +00:00
Eugene Yurtsev
19f2a92609
core: release 0.3.63 ( #31419 )
...
Release core 0.3.63
Small update just to expand the list of well known tools. This is
necessary while the logic lives in langchain-core.
---------
Co-authored-by: Chester Curme <chester.curme@gmail.com >
2025-05-29 14:48:18 -04:00
ccurme
930aa6073e
core: release 0.3.62 ( #31376 )
2025-05-27 16:52:09 +00:00
ccurme
71c074d28f
core: release 0.3.61 ( #31317 )
2025-05-22 11:54:28 -04:00
Christophe Bornet
c982573f1e
core: Add ruff rules A (builtins shadowing) ( #29312 )
...
See https://docs.astral.sh/ruff/rules/#flake8-builtins-a
* Renamed vars where possible
* Added `noqa` where backward compatibility was needed
* Added `@override` when applicable
2025-05-16 15:19:37 -04:00
Christophe Bornet
a8f2ddee31
core: Add ruff rules RUF ( #29353 )
...
See https://docs.astral.sh/ruff/rules/#ruff-specific-rules-ruf
Mostly:
* [RUF022](https://docs.astral.sh/ruff/rules/unsorted-dunder-all/ )
(unsorted `__all__`)
* [RUF100](https://docs.astral.sh/ruff/rules/unused-noqa/ ) (unused noqa)
*
[RUF021](https://docs.astral.sh/ruff/rules/parenthesize-chained-operators/ )
(parenthesize-chained-operators)
*
[RUF015](https://docs.astral.sh/ruff/rules/unnecessary-iterable-allocation-for-first-element/ )
(unnecessary-iterable-allocation-for-first-element)
*
[RUF005](https://docs.astral.sh/ruff/rules/collection-literal-concatenation/ )
(collection-literal-concatenation)
* [RUF046](https://docs.astral.sh/ruff/rules/unnecessary-cast-to-int/ )
(unnecessary-cast-to-int)
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-05-15 15:43:57 -04:00