Skip to content

Commit 6666524

Browse files
committed
Temporarily fix the issue where metavar in CliSettingsSource is not generated correctly when using Python 3.9 or lower with Pydantic 2.10.
1 parent 422c6d5 commit 6666524

File tree

2 files changed

+168
-16
lines changed

2 files changed

+168
-16
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ testing = [
7676
"pytest-pretty",
7777
]
7878

79+
[tool.uv]
80+
# FIXME:
81+
# Workaround for [Issue #551](https://github.com/pydantic/pydantic-settings/issues/551).
82+
# Remove this once the issue is resolved.
83+
constraint-dependencies = [
84+
"pydantic!=2.10.* ; python_full_version < '3.10'"
85+
]
86+
7987
[tool.pytest.ini_options]
8088
testpaths = 'tests'
8189
filterwarnings = [

0 commit comments

Comments
 (0)