Mason Daugherty
f9f11527f6
fix(standard-tests): serialize BytesIO bodies in VCR cassettes ( #37963 )
...
The custom VCR serializer pipes the cassette dict through
`yaml.safe_dump`, which raises on stream objects — so any request with
an `io.BytesIO` body (multipart/file-upload endpoints) couldn't be
recorded. A new `_coerce_bytesio` helper walks the cassette and replaces
each `BytesIO` with its raw bytes before dumping.
2026-06-08 11:17:12 -04:00
Christophe Bornet
fc35544e0d
chore(standard-tests): enable mypy disallow_any_generics rule ( #34222 )
...
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com >
Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com >
2025-12-12 14:30:27 -05:00
Christophe Bornet
f5b6eecf72
refactor(standard-tests): improve VCR config ( #33968 )
...
Use of the fixture `_base_vcr_config` is deprecated with alternative
function `base_vcr_config()`
This way:
* we don't need to import `_base_vcr_config` seen as unused (which leads
to ruff violations PLC0414 and F811)
* we don't need to make a copy since a new dict is created at each
function invocation
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-12-12 10:14:26 -05:00
Christophe Bornet
ef79c26f18
chore(cli,standard-tests,text-splitters): fix some ruff TC rules ( #33934 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-11-12 14:06:31 -05:00
Mason Daugherty
d8a680ee57
style: address Sphinx double-backtick snippet syntax ( #33389 )
2025-10-09 13:35:51 -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
Christophe Bornet
c672590f42
chore(standard-tests): select ALL rules with exclusions ( #31937 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-09-08 14:57:47 +00:00
Christophe Bornet
323729915a
chore(standard-tests): add mypy strict checking ( #32384 )
...
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-09-08 10:50:38 -04:00
Christophe Bornet
09a616fe85
chore(standard-tests): add ruff rules D ( #32347 )
...
See https://docs.astral.sh/ruff/rules/#pydocstyle-d
Co-authored-by: Mason Daugherty <mason@langchain.dev >
2025-08-11 22:26:11 +00:00
Mason Daugherty
e5d0a4e4d6
feat(standard-tests): formatting ( #32504 )
...
Not touching `pyproject.toml` or chat model related items as to not
interfere with work in wip0.4 branch
2025-08-11 13:30:30 -04:00
Christophe Bornet
9368b92b2c
standard-tests: Ruff autofixes ( #31862 )
...
Auto-fixes from ruff with rule ALL
2025-07-07 10:27:39 -04:00
ccurme
3db1aa0ba6
standard-tests: migrate to pytest-recording ( #31425 )
...
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-05-31 15:21:15 -04:00
ccurme
49eeb0f3c3
standard-tests: add benchmarks ( #31302 )
...
Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com >
2025-05-29 15:21:37 +00:00