Skip to content

Commit c0414bd

Browse files
committed
try debug remaining stack with stacker
1 parent 0af4ea1 commit c0414bd

File tree

4 files changed

+48
-1
lines changed

4 files changed

+48
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ jobs:
475475
pip install -U pip
476476
pip install -r tests/requirements.txt
477477
pip install pydantic-core --no-index --no-deps --find-links pgo-wheel --force-reinstall
478-
pytest tests/benchmarks
478+
pytest tests/benchmarks -s
479479
480480
- name: deduce llvm-profdata location
481481
run: rustup run stable bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/${{ env.RUST_HOST }}/bin/llvm-profdata >> "$GITHUB_ENV"'

Cargo.lock

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ idna = "0.3.0"
4343
base64 = "0.13.1"
4444
num-bigint = "0.4.3"
4545
python3-dll-a = "0.2.7"
46+
stacker = "0.1"
4647

4748
[lib]
4849
name = "_pydantic_core"

src/validators/model_fields.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ impl Validator for ModelFieldsValidator {
116116
definitions: &'data Definitions<CombinedValidator>,
117117
recursion_guard: &'s mut RecursionGuard,
118118
) -> ValResult<'data, PyObject> {
119+
dbg!(stacker::remaining_stack());
119120
let strict = extra.strict.unwrap_or(self.strict);
120121
let from_attributes = extra.from_attributes.unwrap_or(self.from_attributes);
121122

0 commit comments

Comments
 (0)