....... [100%] =============================== warnings summary =============================== backend/models/purchase_orders.py:58 /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/models/purchase_orders.py:58: 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/ class PurchaseOrder(BaseModel): ../../../../usr/local/lib/python3.10/dist-packages/pydantic/_internal/_generate_schema.py:325: 11 warnings /usr/local/lib/python3.10/dist-packages/pydantic/_internal/_generate_schema.py:325: PydanticDeprecatedSince20: `json_encoders` is deprecated. See https://docs.pydantic.dev/2.13/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/ warnings.warn( tests/test_purchase_orders_update.py::test_update_purchase_order_project_does_not_shadow_decrypt_helper /usr/local/lib/python3.10/dist-packages/starlette/formparsers.py:12: PendingDeprecationWarning: Please use `import python_multipart` instead. import multipart tests/test_purchase_orders_update.py::test_update_purchase_order_project_does_not_shadow_decrypt_helper tests/test_purchase_orders_update.py::test_manager_can_update_purchase_order_header /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/api/purchase_orders.py:1315: PydanticDeprecatedSince20: The `dict` method is deprecated; use `model_dump` 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/ update_data = {k: v for k, v in po_update.dict(exclude_unset=True).items() if v is not None} tests/test_purchase_orders_update.py::test_submit_for_approval_succeeds_when_settings_lookup_fails tests/test_purchase_orders_update.py::test_submit_for_approval_decrypts_total_before_notifications tests/test_purchase_orders_update.py::test_submit_for_approval_sends_telegram_even_below_approval_limit tests/test_purchase_orders_update.py::test_create_purchase_order_over_approval_limit_transitions_to_pending_approval tests/test_purchase_orders_update.py::test_create_purchase_order_under_approval_limit_does_not_transition_status /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/api/activities.py:163: PydanticDeprecatedSince20: The `dict` method is deprecated; use `model_dump` 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/ await db.activities.insert_one(activity_obj.dict()) tests/test_purchase_orders_update.py::test_create_purchase_order_over_approval_limit_transitions_to_pending_approval /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/tests/test_purchase_orders_update.py:287: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead monkeypatch.setattr(purchase_orders_api, "generate_po_number", asyncio.coroutine(lambda: "PO26-20001")) tests/test_purchase_orders_update.py::test_create_purchase_order_over_approval_limit_transitions_to_pending_approval /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/tests/test_purchase_orders_update.py:293: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead asyncio.coroutine(lambda **kwargs: None), tests/test_purchase_orders_update.py::test_create_purchase_order_over_approval_limit_transitions_to_pending_approval tests/test_purchase_orders_update.py::test_create_purchase_order_under_approval_limit_does_not_transition_status /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/api/purchase_orders.py:480: PydanticDeprecatedSince20: The `dict` method is deprecated; use `model_dump` 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/ po_dict = po.dict() tests/test_purchase_orders_update.py::test_create_purchase_order_under_approval_limit_does_not_transition_status /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/tests/test_purchase_orders_update.py:392: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead monkeypatch.setattr(purchase_orders_api, "generate_po_number", asyncio.coroutine(lambda: "PO26-20002")) tests/test_purchase_orders_update.py::test_create_purchase_order_under_approval_limit_does_not_transition_status /root/orchestrator/workspace/ops-ar-erp-orch-62c2d0e8b737/backend/tests/test_purchase_orders_update.py:397: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead asyncio.coroutine(lambda **kwargs: None), -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 7 passed, 26 warnings in 1.13s