Skip to content

Fix schema handling for pydantic>=2.7.0 #155

Fix schema handling for pydantic>=2.7.0

Fix schema handling for pydantic>=2.7.0 #155

Triggered via push July 25, 2024 00:46
Status Cancelled
Total duration 5m 53s
Artifacts 2

ci.yml

on: push
Matrix: sync
Matrix: build-docs
Matrix: fawltydeps
Matrix: pyright
Matrix: ruff
Matrix: test
Matrix: deploy-docs
Matrix: lock
Fit to window
Zoom out
Zoom in

Annotations

12 errors
pyright (ubuntu-22.04, 3.11): src/boilercore/hashes.py#L7
Import "cachier.config" could not be resolved (reportMissingImports)
pyright (ubuntu-22.04, 3.11): src/boilercore/syms.py#L60
Argument of type "type[Function]" cannot be assigned to parameter "cls" of type "type[Symbol]" in function "symbols"   "type[Function]" is incompatible with "type[Symbol]"   Type "type[Function]" is incompatible with type "type[Symbol]" (reportArgumentType)
pyright (ubuntu-22.04, 3.11): src/boilercore/models/trials.py#L9
The function "validator" is deprecated   Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details (reportDeprecated)
pyright (ubuntu-22.04, 3.11): src/boilercore/models/trials.py#L27
The function "validator" is deprecated   Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details (reportDeprecated)
pyright (ubuntu-22.04, 3.11): src/boilercore/notebooks/namespaces.py#L11
Import "cachier" could not be resolved (reportMissingImports)
pyright (ubuntu-22.04, 3.11): tests/boilercore_tests/conftest.py#L11
Import "cachier" could not be resolved (reportMissingImports)
pyright (ubuntu-22.04, 3.11): tests/boilercore_tests/models/conftest.py#L67
The getter for property "__fields__" is deprecated   The `__fields__` attribute is deprecated, use `model_fields` instead. (reportDeprecated)
pyright (ubuntu-22.04, 3.11)
7 errors
test (macos-13, 3.12)
Canceling since a higher priority waiting request for 'ci-refs/heads/main' exists
test (macos-13, 3.12)
The operation was canceled.
test (windows-2022, 3.12)
Canceling since a higher priority waiting request for 'ci-refs/heads/main' exists
test (windows-2022, 3.12)
The operation was canceled.

Artifacts

Produced during runtime
Name Size
github-pages Expired
37 MB
lock Expired
5.73 KB