Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7dbd07c

Browse files
committed
1 parent 9279008 commit 7dbd07c

File tree

4 files changed

+22
-113
lines changed

4 files changed

+22
-113
lines changed

‎.github/workflows/third-party.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
uv venv --python ${{ matrix.python-version }}
6666
uv pip install --no-progress -r requirements-tests.txt
6767
uv pip install -e ./pydantic-latest
68+
uv pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
69+
6870
6971
- name: List installed dependencies
7072
run: uv pip list
@@ -105,6 +107,8 @@ jobs:
105107
uv venv --python ${{ matrix.python-version }}
106108
uv pip install --no-progress -r requirements-tests.txt
107109
uv pip install -e ./pydantic-latest
110+
uv pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
111+
108112
109113
- name: List installed dependencies
110114
run: uv pip list
@@ -151,6 +155,8 @@ jobs:
151155
pip install .[test,ci]
152156
pip uninstall --yes pydantic
153157
pip install -e ./pydantic-latest
158+
pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
159+
154160
155161
- name: List installed dependencies
156162
run: pip list
@@ -193,6 +199,7 @@ jobs:
193199
pdm run python -m ensurepip
194200
pdm run python -m pip uninstall --yes pydantic
195201
pdm run python -m pip install -e ./pydantic-latest
202+
pdm run python -m pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
196203
197204
- name: List installed dependencies
198205
run: pdm list
@@ -237,6 +244,8 @@ jobs:
237244
uv sync --no-progress --extra pandas --extra fastapi --extra pandas --group dev --group testing --group docs
238245
uv pip uninstall --system pydantic pydantic-core
239246
uv pip install --system -e ./pydantic-latest
247+
uv pip install --system git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
248+
240249
241250
- name: List installed dependencies
242251
run: uv pip list
@@ -399,6 +408,7 @@ jobs:
399408
uv sync --no-progress --dev
400409
uv pip uninstall pydantic
401410
uv pip install -e ./../pydantic-latest
411+
uv pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
402412
uv run --no-sync task generate_dev_jwks
403413
404414
- name: List installed dependencies
@@ -500,6 +510,7 @@ jobs:
500510
uv sync --no-progress --all-extras --dev --prerelease=if-necessary-or-explicit
501511
uv pip uninstall pydantic
502512
uv pip install -e ../pydantic-latest
513+
uv pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
503514
504515
- name: List installed dependencies
505516
working-directory: ./python
@@ -545,6 +556,8 @@ jobs:
545556
uv sync --no-progress --directory ./libs/langchain --group test
546557
uv pip uninstall pydantic
547558
uv pip install -e ./pydantic-latest
559+
uv pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
560+
548561
549562
- name: List installed dependencies
550563
run: uv pip list
@@ -634,6 +647,7 @@ jobs:
634647
run: |
635648
uv sync --no-progress --dev --all-extras
636649
uv pip install -e ./pydantic-latest
650+
uv pip install git+https://github.com/NicolasPllr1/pydantic-core.git@add-none-required-error-on-optional-fields
637651
638652
- name: List installed dependencies
639653
run: uv pip list

‎pydantic/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"""
2020

2121
# Keep this in sync with the version constraint in the `pyproject.toml` dependencies:
22-
_COMPATIBLE_PYDANTIC_CORE_VERSION = '2.38.0'
22+
_COMPATIBLE_PYDANTIC_CORE_VERSION = '2.39.0'
2323

2424

2525
def version_short() -> str:

‎pyproject.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies = [
4848
'typing-extensions>=4.14.1',
4949
'annotated-types>=0.6.0',
5050
# Keep this in sync with the version in the `check_pydantic_core_version()` function:
51-
'pydantic-core==2.38.0',
51+
"pydantic-core==2.38.0",
5252
'typing-inspection>=0.4.2',
5353
]
5454
dynamic = ['version', 'readme']
@@ -186,6 +186,9 @@ markers = [
186186
default-groups = ['dev']
187187
required-version = '>=0.8.4'
188188

189+
[tool.uv.sources]
190+
pydantic-core = { git = "https://github.com/NicolasPllr1/pydantic-core", branch = "add-none-required-error-on-optional-fields" }
191+
189192
# configuring https://github.com/pydantic/hooky
190193
[tool.hooky]
191194
reviewers = ['Viicos', 'DouweM']

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /