Commit b5d8978
authored
chore(pydantic): finalize contrib.pydantic namespace removal (#4733)
The `litestar.contrib.pydantic` namespace was removed from disk in PR #4339, but a few residual references survived: two Sphinx nitpick suppressions in `docs/conf.py` pointing at the deleted `PydanticDTO` and `PydanticPlugin`, four `:class:` cross-references to those same symbols in the historical 2.x release notes, and a dead `[tool.mypy.overrides]` `module` entry in `pyproject.toml` targeting `tests.unit.test_contrib.test_pydantic.*` — a path that no longer exists (pydantic tests live at `tests/unit/test_plugins/test_pydantic/`).
This PR cleans them up. The Sphinx suppressions are dropped because the symbols they suppress no longer exist. The four historical cross-references are demoted to plain literal backticks so Sphinx no longer attempts to resolve dead targets. The mypy override is removed; `make lint` clean confirms the pattern was unreachable.
No production code is touched and no test behavior changes — the existing pydantic test suite at `tests/unit/test_plugins/test_pydantic/` runs unchanged. Mirrors the `contrib.msgspec` precedent in PR #4730.
Verification: `git grep \"litestar\\.contrib\\.pydantic\"` returns nothing outside the historical release notes, `make lint` is clean, the full unit suite (5392 tests) passes, the docs examples pass, and `make docs` builds without warnings.
Closes #47221 parent a926a2b commit b5d8978
5 files changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | 193 | | |
196 | 194 | | |
197 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1600 | 1600 | | |
1601 | 1601 | | |
1602 | 1602 | | |
1603 | | - | |
| 1603 | + | |
1604 | 1604 | | |
1605 | 1605 | | |
1606 | 1606 | | |
| |||
2704 | 2704 | | |
2705 | 2705 | | |
2706 | 2706 | | |
2707 | | - | |
| 2707 | + | |
2708 | 2708 | | |
2709 | 2709 | | |
2710 | 2710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | 305 | | |
307 | 306 | | |
308 | 307 | | |
| |||
0 commit comments