python3.14-django-ninja-1.7.1
checks.x86_64-linux.nixos-eve
· build #837
· raw
1tribuchet: building on jamie2structuredAttrs is enabled3Sourcing python-remove-tests-dir-hook4Sourcing python-catch-conflicts-hook.sh5Sourcing python-remove-bin-bytecode-hook.sh6Sourcing pypa-build-hook7Using pypaBuildPhase8Sourcing python-runtime-deps-check-hook9Using pythonRuntimeDepsCheckHook10Sourcing pypa-install-hook11Using pypaInstallPhase12Sourcing python-imports-check-hook.sh13Using pythonImportsCheckPhase14Sourcing python-metadata-check-hook.sh15Using pythonMetadataCheckPhase16Sourcing python-namespaces-hook17Sourcing python-catch-conflicts-hook.sh18Sourcing pytest-check-hook19Using pytestCheckPhase
unpackPhase
20unpacking source archive /nix/store/yf6l4xcrkrfff7s0a8hiw5k61937wv4v-source21source root is source22setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/uv.lock"configurePhase
23no configure script, doing nothingbuildPhase
24Executing pypaBuildPhase25Creating a wheel...26pypa build flags: --no-isolation --outdir dist/ --wheel27* Getting build dependencies for wheel...28* Building wheel...29Successfully built django_ninja-1.7.1-py3-none-any.whl30Finished creating a wheel...31Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
32Executing pythonRuntimeDepsCheck33Checking runtime dependencies for django_ninja-1.7.1-py3-none-any.whl34Finished executing pythonRuntimeDepsCheckinstallPhase
35Executing pypaInstallPhase36Successfully installed django_ninja-1.7.1-py3-none-any.whl37Finished executing pypaInstallPhasepythonOutputDistPhase
38Executing pythonOutputDistPhase39Finished executing pythonOutputDistPhasefixupPhase
40shrinking RPATHs of ELF executables and libraries in /nix/store/7k3756wyhfhc6zjnma86kanxrd975lg9-python3.14-django-ninja-1.7.1-dist41checking for references to /build/ in /nix/store/7k3756wyhfhc6zjnma86kanxrd975lg9-python3.14-django-ninja-1.7.1-dist...42patching script interpreter paths in /nix/store/7k3756wyhfhc6zjnma86kanxrd975lg9-python3.14-django-ninja-1.7.1-dist43shrinking RPATHs of ELF executables and libraries in /nix/store/ari0sb3flkw03iwkis99rdspvhkmpv6f-python3.14-django-ninja-1.7.144checking for references to /build/ in /nix/store/ari0sb3flkw03iwkis99rdspvhkmpv6f-python3.14-django-ninja-1.7.1...45patching script interpreter paths in /nix/store/ari0sb3flkw03iwkis99rdspvhkmpv6f-python3.14-django-ninja-1.7.146stripping (with command strip and flags -S -p) in /nix/store/ari0sb3flkw03iwkis99rdspvhkmpv6f-python3.14-django-ninja-1.7.1/lib47Executing pythonRemoveTestsDir48Finished executing pythonRemoveTestsDirinstallCheckPhase
49no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
50Executing pythonImportsCheckPhasepythonMetadataCheckPhase
51Executing pythonMetadataCheckPhasepytestCheckPhase
52Executing pytestCheckPhase53pytest flags: -m pytest54============================= test session starts ==============================55platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.056django: version: 5.2.1857rootdir: /build/source58configfile: pyproject.toml59plugins: asyncio-1.4.0, django-4.14.060asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function61collected 812 items6263tests/test_django_models.py . [ 0%]64tests/test_docs/test_auth.py . [ 0%]65tests/test_openapi_schema.py . [ 0%]66tests/test_orm_schemas.py . [ 0%]67tests/test_pagination_async.py . [ 0%]68tests/test_pagination_cursor.py ...................................... [ 5%]69tests/test_add_decorator.py .......... [ 6%]70tests/test_add_decorator_async.py ..... [ 7%]71tests/test_alias.py . [ 7%]72tests/test_annotated.py ..... [ 7%]73tests/test_annotations_py314.py .. [ 8%]74tests/test_api_instance.py ... [ 8%]75tests/test_app.py ............ [ 9%]76tests/test_async.py . [ 10%]77tests/test_auth.py .................................... [ 14%]78tests/test_auth_async.py ........ [ 15%]79tests/test_auth_global.py ... [ 15%]80tests/test_auth_inheritance_routers.py .............. [ 17%]81tests/test_auth_routers.py ........ [ 18%]82tests/test_body.py ..... [ 19%]83tests/test_compatibility.py .. [ 19%]84tests/test_conf.py .. [ 19%]85tests/test_csrf.py ....... [ 20%]86tests/test_csrf_async.py ... [ 20%]87tests/test_decorators.py ... [ 21%]88tests/test_discriminator.py ... [ 21%]89tests/test_django_models.py .. [ 21%]90tests/test_docs/test_auth.py .. [ 22%]91tests/test_docs/test_body.py . [ 22%]92tests/test_docs/test_form.py .. [ 22%]93tests/test_docs/test_index.py . [ 22%]94tests/test_docs/test_path.py . [ 22%]95tests/test_docs/test_query.py . [ 22%]96tests/test_enum.py ... [ 23%]97tests/test_errors.py .. [ 23%]98tests/test_exceptions.py ..... [ 24%]99tests/test_export_openapi_schema.py ..... [ 24%]100tests/test_files.py .... [ 25%]101tests/test_filter_schema.py ............................... [ 29%]102tests/test_forms.py ... [ 29%]103tests/test_forms_and_files.py .. [ 29%]104tests/test_inheritance_routers.py ........ [ 30%]105tests/test_lists.py .......... [ 31%]106tests/test_misc.py ..... [ 32%]107tests/test_models.py .......... [ 33%]108tests/test_openapi_docs.py .... [ 34%]109tests/test_openapi_extra.py .... [ 34%]110tests/test_openapi_params.py .. [ 34%]111tests/test_openapi_schema.py ............................ [ 38%]112tests/test_orm_metaclass.py ............ [ 39%]113tests/test_orm_relations.py . [ 40%]114tests/test_orm_schemas.py ................ [ 41%]115tests/test_pagination.py ........................ [ 44%]116tests/test_pagination_async.py ..... [ 45%]117tests/test_pagination_router.py ..... [ 46%]118tests/test_params_models.py .. [ 46%]119tests/test_parser.py . [ 46%]120tests/test_patch_dict.py ........ [ 47%]121tests/test_path.py ..................................................... [ 54%]122...................................................... [ 60%]123tests/test_pydantic_migrate.py .... [ 61%]124tests/test_query.py .................................................... [ 67%]125........ [ 68%]126tests/test_query_schema.py ......... [ 69%]127tests/test_renderer.py ... [ 70%]128tests/test_request.py .......... [ 71%]129tests/test_response.py ................. [ 73%]130tests/test_response_cookies.py . [ 73%]131tests/test_response_multiple.py .................. [ 75%]132tests/test_response_params.py . [ 75%]133tests/test_reverse.py ... [ 76%]134tests/test_router_add_router.py . [ 76%]135tests/test_router_defaults.py .... [ 76%]136tests/test_router_path_params.py ................. [ 78%]137tests/test_router_reuse.py .......................... [ 82%]138tests/test_schema.py ...s...... [ 83%]139tests/test_schema_context.py .. [ 83%]140tests/test_serialization_context.py .... [ 84%]141tests/test_server.py ... [ 84%]142tests/test_signature_details.py ............. [ 86%]143tests/test_status.py ...................... [ 88%]144tests/test_streaming.py ................. [ 90%]145tests/test_test_client.py .................. [ 93%]146tests/test_throttling.py ................ [ 95%]147tests/test_utils.py ....... [ 95%]148tests/test_with_django/test_multi_param_parsing.py ..................... [ 98%]149.... [ 99%]150tests/test_wraps.py ........ [100%]151152=============================== warnings summary ===============================153tests/test_add_decorator_async.py::test_mixed_sync_async_endpoints_same_router154tests/test_add_decorator_async.py::test_mixed_sync_async_endpoints_same_router155 /build/source/tests/test_add_decorator_async.py:179: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead156 if asyncio.iscoroutinefunction(func):157158tests/test_filter_schema.py::test_improperly_configured_deprecated159 /build/source/tests/test_filter_schema.py:48: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/160 popular: Optional[str] = Field(None, q=Q(view_count__gt=1000))161162tests/test_filter_schema.py::test_improperly_configured_deprecated163 /build/source/ninja/filter_schema.py:211: DeprecationWarning: Using Pydantic Field with extra keyword arguments ('q') in field DummyFilterSchema.popular is deprecated. Please use ninja.FilterLookup instead:164 from typing import Annotated165 from ninja import FilterLookup, FilterSchema166 167 class DummyFilterSchema(FilterSchema):168 popular: Annotated[Optional[...], FilterLookup(q='...', ...)] = None169 field_q = self._resolve_field_expression(170171tests/test_filter_schema.py::test_empty_q_when_none_ignored_deprecated172 /build/source/tests/test_filter_schema.py:70: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/173 name: Optional[str] = Field(None, q="name__icontains")174175tests/test_filter_schema.py::test_empty_q_when_none_ignored_deprecated176 /build/source/tests/test_filter_schema.py:71: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/177 tag: Optional[str] = Field(None, q="tag")178179tests/test_filter_schema.py::test_empty_q_when_none_ignored_deprecated180tests/test_filter_schema.py::test_q_expressions2_deprecated[False]181tests/test_filter_schema.py::test_q_expressions2_deprecated[True]182tests/test_filter_schema.py::test_q_expressions3_deprecated183tests/test_filter_schema.py::test_q_is_a_list_deprecated[False]184tests/test_filter_schema.py::test_q_is_a_list_deprecated[True]185tests/test_filter_schema.py::test_field_level_expression_connector_deprecated186tests/test_filter_schema.py::test_class_level_and_field_level_expression_connector_deprecated187 /build/source/ninja/filter_schema.py:211: DeprecationWarning: Using Pydantic Field with extra keyword arguments ('q') in field DummyFilterSchema.name is deprecated. Please use ninja.FilterLookup instead:188 from typing import Annotated189 from ninja import FilterLookup, FilterSchema190 191 class DummyFilterSchema(FilterSchema):192 name: Annotated[Optional[...], FilterLookup(q='...', ...)] = None193 field_q = self._resolve_field_expression(194195tests/test_filter_schema.py::test_empty_q_when_none_ignored_deprecated196tests/test_filter_schema.py::test_q_expressions2_deprecated[False]197tests/test_filter_schema.py::test_q_expressions2_deprecated[True]198tests/test_filter_schema.py::test_q_expressions3_deprecated199tests/test_filter_schema.py::test_q_is_a_list_deprecated[False]200tests/test_filter_schema.py::test_q_is_a_list_deprecated[True]201tests/test_filter_schema.py::test_field_level_expression_connector_deprecated202tests/test_filter_schema.py::test_class_level_and_field_level_expression_connector_deprecated203tests/test_filter_schema.py::test_ignore_none_deprecated204 /build/source/ninja/filter_schema.py:211: DeprecationWarning: Using Pydantic Field with extra keyword arguments ('q') in field DummyFilterSchema.tag is deprecated. Please use ninja.FilterLookup instead:205 from typing import Annotated206 from ninja import FilterLookup, FilterSchema207 208 class DummyFilterSchema(FilterSchema):209 tag: Annotated[Optional[...], FilterLookup(q='...', ...)] = None210 field_q = self._resolve_field_expression(211212tests/test_filter_schema.py::test_q_expressions2_deprecated[False]213tests/test_filter_schema.py::test_q_expressions2_deprecated[True]214 /build/source/tests/test_filter_schema.py:99: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/215 name: Optional[str] = Field(None, q=q)216217tests/test_filter_schema.py::test_q_expressions2_deprecated[False]218tests/test_filter_schema.py::test_q_expressions2_deprecated[True]219 /build/source/tests/test_filter_schema.py:100: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/220 tag: Optional[str] = Field(None, q="tag")221222tests/test_filter_schema.py::test_q_expressions3_deprecated223 /build/source/tests/test_filter_schema.py:128: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/224 name: Optional[str] = Field(None, q="name__icontains")225226tests/test_filter_schema.py::test_q_expressions3_deprecated227 /build/source/tests/test_filter_schema.py:129: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/228 tag: Optional[str] = Field(None, q="tag")229230tests/test_filter_schema.py::test_q_is_a_list_deprecated[False]231tests/test_filter_schema.py::test_q_is_a_list_deprecated[True]232 /build/source/tests/test_filter_schema.py:157: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/233 name: Optional[str] = Field(None, q=[q__name, "user__username__icontains"])234235tests/test_filter_schema.py::test_q_is_a_list_deprecated[False]236tests/test_filter_schema.py::test_q_is_a_list_deprecated[True]237 /build/source/tests/test_filter_schema.py:158: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/238 tag: Optional[str] = Field(None, q="tag")239240tests/test_filter_schema.py::test_field_level_expression_connector_deprecated241 /build/source/tests/test_filter_schema.py:192: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q', 'expression_connector'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/242 name: Optional[str] = Field(243244tests/test_filter_schema.py::test_field_level_expression_connector_deprecated245 /build/source/tests/test_filter_schema.py:196: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/246 tag: Optional[str] = Field(None, q="tag")247248tests/test_filter_schema.py::test_field_level_expression_connector_deprecated249tests/test_filter_schema.py::test_class_level_and_field_level_expression_connector_deprecated250 /build/source/ninja/filter_schema.py:211: DeprecationWarning: Using Pydantic Field with extra keyword arguments ('expression_connector') in field DummyFilterSchema.name is deprecated. Please use ninja.FilterLookup instead:251 from typing import Annotated252 from ninja import FilterLookup, FilterSchema253 254 class DummyFilterSchema(FilterSchema):255 name: Annotated[Optional[...], FilterLookup(q='...', ...)] = None256 field_q = self._resolve_field_expression(257258tests/test_filter_schema.py::test_class_level_expression_connector_deprecated259 /build/source/tests/test_filter_schema.py:229: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/260 tag1: Optional[str] = Field(None, q="tag1")261262tests/test_filter_schema.py::test_class_level_expression_connector_deprecated263 /build/source/tests/test_filter_schema.py:230: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/264 tag2: Optional[str] = Field(None, q="tag2")265266tests/test_filter_schema.py::test_class_level_expression_connector_deprecated267tests/test_filter_schema.py::test_ignore_none_class_level_deprecated268 /build/source/ninja/filter_schema.py:211: DeprecationWarning: Using Pydantic Field with extra keyword arguments ('q') in field DummyFilterSchema.tag1 is deprecated. Please use ninja.FilterLookup instead:269 from typing import Annotated270 from ninja import FilterLookup, FilterSchema271 272 class DummyFilterSchema(FilterSchema):273 tag1: Annotated[Optional[...], FilterLookup(q='...', ...)] = None274 field_q = self._resolve_field_expression(275276tests/test_filter_schema.py::test_class_level_expression_connector_deprecated277tests/test_filter_schema.py::test_ignore_none_class_level_deprecated278 /build/source/ninja/filter_schema.py:211: DeprecationWarning: Using Pydantic Field with extra keyword arguments ('q') in field DummyFilterSchema.tag2 is deprecated. Please use ninja.FilterLookup instead:279 from typing import Annotated280 from ninja import FilterLookup, FilterSchema281 282 class DummyFilterSchema(FilterSchema):283 tag2: Annotated[Optional[...], FilterLookup(q='...', ...)] = None284 field_q = self._resolve_field_expression(285286tests/test_filter_schema.py::test_class_level_and_field_level_expression_connector_deprecated287 /build/source/tests/test_filter_schema.py:257: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q', 'expression_connector'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/288 name: Optional[str] = Field(289290tests/test_filter_schema.py::test_class_level_and_field_level_expression_connector_deprecated291 /build/source/tests/test_filter_schema.py:261: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/292 tag: Optional[str] = Field(None, q="tag")293294tests/test_filter_schema.py::test_ignore_none_deprecated295 /build/source/tests/test_filter_schema.py:298: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q', 'ignore_none'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/296 tag: Optional[str] = Field(None, q="tag", ignore_none=False)297298tests/test_filter_schema.py::test_ignore_none_deprecated299 /build/source/ninja/filter_schema.py:79: DeprecationWarning: Using Pydantic Field with extra keyword arguments ('ignore_none') in field DummyFilterSchema.tag is deprecated. Please use ninja.FilterLookup instead:300 from typing import Annotated301 from ninja import FilterLookup, FilterSchema302 303 class DummyFilterSchema(FilterSchema):304 tag: Annotated[Optional[...], FilterLookup(q='...', ...)] = None305 return self._connect_fields()306307tests/test_filter_schema.py::test_ignore_none_class_level_deprecated308 /build/source/tests/test_filter_schema.py:320: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/309 tag1: Optional[str] = Field(None, q="tag1")310311tests/test_filter_schema.py::test_ignore_none_class_level_deprecated312 /build/source/tests/test_filter_schema.py:321: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/313 tag2: Optional[str] = Field(None, q="tag2")314315tests/test_filter_schema.py::test_pydantic_field_with_extra_warns316 /build/source/tests/test_filter_schema.py:411: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'q'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/317 name: Optional[str] = Field(None, q="name__icontains")318319tests/test_orm_metaclass.py::test_model_schema_with_old_config320 /build/source/ninja/schema.py:181: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/321 result = super().__new__(cls, name, bases, namespace, **kwargs)322323tests/test_router_reuse.py::TestOperationClone::test_clone_copies_all_attributes324 /build/source/tests/test_router_reuse.py:197: UserWarning: Field(s) ('id',) are in the view path, but were not found in the view signature.325 def dummy_view(request):326327tests/test_router_reuse.py::TestCloneCompleteness::test_clone_catches_new_attributes328 /build/source/tests/test_router_reuse.py:369: UserWarning: Field(s) ('id',) are in the view path, but were not found in the view signature.329 def dummy_view(request):330331-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html332================= 811 passed, 1 skipped, 53 warnings in 4.29s ==================333Finished executing pytestCheckPhase