From c992e60c0711019faa655cd714032c25e3971c07 Mon Sep 17 00:00:00 2001 From: IgStep Date: Tue, 24 Nov 2026 04:53:10 -0800 Subject: [PATCH 1/8] chore(deps): drop bogus xdist package, add pydantic `xdist` is an unrelated pairwise-distance library (not pytest-xdist) that pulled in pandas and numpy and broke installs on Python 3.14. Add pydantic for response contract models. requirements.txt is regenerated as UTF-8 with direct dependencies only (it was a UTF-16 pip freeze dump). greenlet is bumped in the lock file because 3.2.2 has no Python 3.14 wheel. Co-Authored-By: Claude Opus 5.5 --- poetry.lock | 562 ++++++++++++++++++++++++----------------------- pyproject.toml | 4 +- requirements.txt | Bin 1254 -> 159 bytes 3 files changed, 295 insertions(+), 271 deletions(-) diff --git a/poetry.lock b/poetry.lock index 183ad80..190a0bf 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,16 @@ -# This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. + +[[package]] +name = "annotated-types" +version = "0.8.0" +description = "Reusable constraint types to use with typing.Annotated" +optional = false +python-versions = ">=3.10" +groups = ["main"] +files = [ + {file = "annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0"}, + {file = "annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7"}, +] [[package]] name = "certifi" @@ -181,72 +193,96 @@ tzdata = "*" [[package]] name = "greenlet" -version = "3.2.2" +version = "3.5.6" description = "Lightweight in-process concurrent programming" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["main"] files = [ - {file = "greenlet-3.2.2-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:c49e9f7c6f625507ed83a7485366b46cbe325717c60837f7244fc99ba16ba9d6"}, - {file = "greenlet-3.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c3cc1a3ed00ecfea8932477f729a9f616ad7347a5e55d50929efa50a86cb7be7"}, - {file = "greenlet-3.2.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7c9896249fbef2c615853b890ee854f22c671560226c9221cfd27c995db97e5c"}, - {file = "greenlet-3.2.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7409796591d879425997a518138889d8d17e63ada7c99edc0d7a1c22007d4907"}, - {file = "greenlet-3.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7791dcb496ec53d60c7f1c78eaa156c21f402dda38542a00afc3e20cae0f480f"}, - {file = "greenlet-3.2.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d8009ae46259e31bc73dc183e402f548e980c96f33a6ef58cc2e7865db012e13"}, - {file = "greenlet-3.2.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:fd9fb7c941280e2c837b603850efc93c999ae58aae2b40765ed682a6907ebbc5"}, - {file = "greenlet-3.2.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:00cd814b8959b95a546e47e8d589610534cfb71f19802ea8a2ad99d95d702057"}, - {file = "greenlet-3.2.2-cp310-cp310-win_amd64.whl", hash = "sha256:d0cb7d47199001de7658c213419358aa8937df767936506db0db7ce1a71f4a2f"}, - {file = "greenlet-3.2.2-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:dcb9cebbf3f62cb1e5afacae90761ccce0effb3adaa32339a0670fe7805d8068"}, - {file = "greenlet-3.2.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf3fc9145141250907730886b031681dfcc0de1c158f3cc51c092223c0f381ce"}, - {file = "greenlet-3.2.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:efcdfb9df109e8a3b475c016f60438fcd4be68cd13a365d42b35914cdab4bb2b"}, - {file = "greenlet-3.2.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4bd139e4943547ce3a56ef4b8b1b9479f9e40bb47e72cc906f0f66b9d0d5cab3"}, - {file = "greenlet-3.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:71566302219b17ca354eb274dfd29b8da3c268e41b646f330e324e3967546a74"}, - {file = "greenlet-3.2.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3091bc45e6b0c73f225374fefa1536cd91b1e987377b12ef5b19129b07d93ebe"}, - {file = "greenlet-3.2.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:44671c29da26539a5f142257eaba5110f71887c24d40df3ac87f1117df589e0e"}, - {file = "greenlet-3.2.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c23ea227847c9dbe0b3910f5c0dd95658b607137614eb821e6cbaecd60d81cc6"}, - {file = "greenlet-3.2.2-cp311-cp311-win_amd64.whl", hash = "sha256:0a16fb934fcabfdfacf21d79e6fed81809d8cd97bc1be9d9c89f0e4567143d7b"}, - {file = "greenlet-3.2.2-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:df4d1509efd4977e6a844ac96d8be0b9e5aa5d5c77aa27ca9f4d3f92d3fcf330"}, - {file = "greenlet-3.2.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:da956d534a6d1b9841f95ad0f18ace637668f680b1339ca4dcfb2c1837880a0b"}, - {file = "greenlet-3.2.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9c7b15fb9b88d9ee07e076f5a683027bc3befd5bb5d25954bb633c385d8b737e"}, - {file = "greenlet-3.2.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:752f0e79785e11180ebd2e726c8a88109ded3e2301d40abced2543aa5d164275"}, - {file = "greenlet-3.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9ae572c996ae4b5e122331e12bbb971ea49c08cc7c232d1bd43150800a2d6c65"}, - {file = "greenlet-3.2.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:02f5972ff02c9cf615357c17ab713737cccfd0eaf69b951084a9fd43f39833d3"}, - {file = "greenlet-3.2.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:4fefc7aa68b34b9224490dfda2e70ccf2131368493add64b4ef2d372955c207e"}, - {file = "greenlet-3.2.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a31ead8411a027c2c4759113cf2bd473690517494f3d6e4bf67064589afcd3c5"}, - {file = "greenlet-3.2.2-cp312-cp312-win_amd64.whl", hash = "sha256:b24c7844c0a0afc3ccbeb0b807adeefb7eff2b5599229ecedddcfeb0ef333bec"}, - {file = "greenlet-3.2.2-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:3ab7194ee290302ca15449f601036007873028712e92ca15fc76597a0aeb4c59"}, - {file = "greenlet-3.2.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2dc5c43bb65ec3669452af0ab10729e8fdc17f87a1f2ad7ec65d4aaaefabf6bf"}, - {file = "greenlet-3.2.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:decb0658ec19e5c1f519faa9a160c0fc85a41a7e6654b3ce1b44b939f8bf1325"}, - {file = "greenlet-3.2.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6fadd183186db360b61cb34e81117a096bff91c072929cd1b529eb20dd46e6c5"}, - {file = "greenlet-3.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1919cbdc1c53ef739c94cf2985056bcc0838c1f217b57647cbf4578576c63825"}, - {file = "greenlet-3.2.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3885f85b61798f4192d544aac7b25a04ece5fe2704670b4ab73c2d2c14ab740d"}, - {file = "greenlet-3.2.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:85f3e248507125bf4af607a26fd6cb8578776197bd4b66e35229cdf5acf1dfbf"}, - {file = "greenlet-3.2.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:1e76106b6fc55fa3d6fe1c527f95ee65e324a13b62e243f77b48317346559708"}, - {file = "greenlet-3.2.2-cp313-cp313-win_amd64.whl", hash = "sha256:fe46d4f8e94e637634d54477b0cfabcf93c53f29eedcbdeecaf2af32029b4421"}, - {file = "greenlet-3.2.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ba30e88607fb6990544d84caf3c706c4b48f629e18853fc6a646f82db9629418"}, - {file = "greenlet-3.2.2-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:055916fafad3e3388d27dd68517478933a97edc2fc54ae79d3bec827de2c64c4"}, - {file = "greenlet-3.2.2-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2593283bf81ca37d27d110956b79e8723f9aa50c4bcdc29d3c0543d4743d2763"}, - {file = "greenlet-3.2.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:89c69e9a10670eb7a66b8cef6354c24671ba241f46152dd3eed447f79c29fb5b"}, - {file = "greenlet-3.2.2-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:02a98600899ca1ca5d3a2590974c9e3ec259503b2d6ba6527605fcd74e08e207"}, - {file = "greenlet-3.2.2-cp313-cp313t-musllinux_1_1_aarch64.whl", hash = "sha256:b50a8c5c162469c3209e5ec92ee4f95c8231b11db6a04db09bbe338176723bb8"}, - {file = "greenlet-3.2.2-cp313-cp313t-musllinux_1_1_x86_64.whl", hash = "sha256:45f9f4853fb4cc46783085261c9ec4706628f3b57de3e68bae03e8f8b3c0de51"}, - {file = "greenlet-3.2.2-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:9ea5231428af34226c05f927e16fc7f6fa5e39e3ad3cd24ffa48ba53a47f4240"}, - {file = "greenlet-3.2.2-cp39-cp39-macosx_11_0_universal2.whl", hash = "sha256:1e4747712c4365ef6765708f948acc9c10350719ca0545e362c24ab973017370"}, - {file = "greenlet-3.2.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:782743700ab75716650b5238a4759f840bb2dcf7bff56917e9ffdf9f1f23ec59"}, - {file = "greenlet-3.2.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:354f67445f5bed6604e493a06a9a49ad65675d3d03477d38a4db4a427e9aad0e"}, - {file = "greenlet-3.2.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3aeca9848d08ce5eb653cf16e15bb25beeab36e53eb71cc32569f5f3afb2a3aa"}, - {file = "greenlet-3.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8cb8553ee954536500d88a1a2f58fcb867e45125e600e80f586ade399b3f8819"}, - {file = "greenlet-3.2.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1592a615b598643dbfd566bac8467f06c8c8ab6e56f069e573832ed1d5d528cc"}, - {file = "greenlet-3.2.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:1f72667cc341c95184f1c68f957cb2d4fc31eef81646e8e59358a10ce6689457"}, - {file = "greenlet-3.2.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a8fa80665b1a29faf76800173ff5325095f3e66a78e62999929809907aca5659"}, - {file = "greenlet-3.2.2-cp39-cp39-win32.whl", hash = "sha256:6629311595e3fe7304039c67f00d145cd1d38cf723bb5b99cc987b23c1433d61"}, - {file = "greenlet-3.2.2-cp39-cp39-win_amd64.whl", hash = "sha256:eeb27bece45c0c2a5842ac4c5a1b5c2ceaefe5711078eed4e8043159fa05c834"}, - {file = "greenlet-3.2.2.tar.gz", hash = "sha256:ad053d34421a2debba45aa3cc39acf454acbcd025b3fc1a9f8a0dee237abd485"}, + {file = "greenlet-3.5.6-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:95e7c44d072db623a1aab04ce488cf9533294a77ed9d072cd503a3596f4106ac"}, + {file = "greenlet-3.5.6-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b7d501d5eb5d4f67207df364752ad697465b834268744be7581c18d81d35d41d"}, + {file = "greenlet-3.5.6-cp310-cp310-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a364c1ea75dc51b83a17f52fe0c79cf8bc4ddf740403bebd4581c7666eea017d"}, + {file = "greenlet-3.5.6-cp310-cp310-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5599b380c1f28efeb724e81569eac80cd92f99a85bd9775456caaf3225d40b11"}, + {file = "greenlet-3.5.6-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eed88b64a5e5da72d6a71cdc5aaeefaa5ced9b748f8d19f89800b339961dad39"}, + {file = "greenlet-3.5.6-cp310-cp310-manylinux_2_39_riscv64.whl", hash = "sha256:5bbda3c70dd35d60671bc33b01916802707a052130d9e50cdb871d34594d35cb"}, + {file = "greenlet-3.5.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:874cea8bb1ec1ddccbacbd027856f6bf496f6bc18aba97a918c20e067edab236"}, + {file = "greenlet-3.5.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:128813fc29f2336a21b4d06eedd5e16bcc7ea46f59e9ff1cb30ea70e48195d88"}, + {file = "greenlet-3.5.6-cp310-cp310-win_amd64.whl", hash = "sha256:dad3d233d441a022c1f7155f0fb9d5aff7b97c1ea8c7dfa02cce586b16ab2d0b"}, + {file = "greenlet-3.5.6-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:a6a4b98a9132e0f45c9fc245a63894cfd8c45fb7a0d6bffc5eab3ec327cf7324"}, + {file = "greenlet-3.5.6-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45bfd2b51e38aaa5f9849f114d9c7c1d75f69187c849b3549cd64c465283abfa"}, + {file = "greenlet-3.5.6-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3c6dede9133e1da41d561bc3fb14e92b47e2ce39ae60edefaad145658ea7c5e2"}, + {file = "greenlet-3.5.6-cp311-cp311-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4fb8e59f68845d56c23c031dcd79c329f345e4a9d2ffac91c3d1ab366bdc457b"}, + {file = "greenlet-3.5.6-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c20ea32a73d17b9b60e3371240e17b0068120c98a5ec01a224a7dd8c89733ba"}, + {file = "greenlet-3.5.6-cp311-cp311-manylinux_2_39_riscv64.whl", hash = "sha256:d701eab36200c36224833d07dbdb709adb7fd4253429548ddb5e547b8ed40586"}, + {file = "greenlet-3.5.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:5a0b2791239c99992a86c1b635b787fe2a877d9eaaa26f8891ce943832b585ae"}, + {file = "greenlet-3.5.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:188bf333769b7145e2b0b4a7f09615ec550ed44d3a2a8395fb7b36f0e9901e13"}, + {file = "greenlet-3.5.6-cp311-cp311-win_amd64.whl", hash = "sha256:a6b4ff33f7e011bbaa148238d131c4fd4f8afbab3c104ddfbdb2b12b74ff7016"}, + {file = "greenlet-3.5.6-cp311-cp311-win_arm64.whl", hash = "sha256:59deccd347735a7774223b05a93773fddbb298aba3cea21be4337fb4752dbe32"}, + {file = "greenlet-3.5.6-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:a5876d0a60355af98d535c47f6cd6eb0f8a432396dab26845d380b92f8412422"}, + {file = "greenlet-3.5.6-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e85880b538e59a59f55117b81f208a6660ad5ac328aad9305f812d9b8bc67a0f"}, + {file = "greenlet-3.5.6-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f0ba7c2a329d650628f4c8572fd1db29f0a59dd70a3e3e0710dcf18a35cce9d8"}, + {file = "greenlet-3.5.6-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ee7d9da3bf493909cf811a3f038840cb34fab5ae2956b8a263919f6e289ab188"}, + {file = "greenlet-3.5.6-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:975736b002ed080d124cf81a79cb7e05cb26d6b3f5c7a7b651c0fcce70353aa1"}, + {file = "greenlet-3.5.6-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:71890d5247020c25c21a6b65202782bfc281d4e6e244842419d30e3492bb6dcc"}, + {file = "greenlet-3.5.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0616b8f878098c5681fd8f0dc92d887551717402342a70f0abcbfea5f5ad8a44"}, + {file = "greenlet-3.5.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3dbb4596a6a4e5d47121a33ff20533a81e60f302d9e67b69909a8bc21a43f0a7"}, + {file = "greenlet-3.5.6-cp312-cp312-win_amd64.whl", hash = "sha256:7ac4abb3877c43af320392c664774eef6fa2cc063c79a55fc02d844a3cbe7395"}, + {file = "greenlet-3.5.6-cp312-cp312-win_arm64.whl", hash = "sha256:301102a49120b095e72a7838792b41233975fc1c155daec6d98f81c00c9280e0"}, + {file = "greenlet-3.5.6-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:f96f0e30b5a95c7631b12bfe214cbc90ec8fe8cfa36920596c10514a65743519"}, + {file = "greenlet-3.5.6-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c75116c9de79949de23006e2d9b35ee82874c594fcf5c0311b439acaa14b8441"}, + {file = "greenlet-3.5.6-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cad5782f93f7f738b62c6527b6f32a60694d924029f299a8b524758cfa53d815"}, + {file = "greenlet-3.5.6-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a93ee7c6e8fd0f8a83525a51bd777be57ee17787e91d805bd8d6faf9dcada18e"}, + {file = "greenlet-3.5.6-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f98e8215e172f567ce80eeaed9107fb4d32b6c44f26983d9b8334658136a205a"}, + {file = "greenlet-3.5.6-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:7f731ebac68ea06d628658295cb2d217b10186329fcf9a3b6a149045059bf92e"}, + {file = "greenlet-3.5.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:df19e2d0b1620039af5102563fbd96e8938c7f5c3f5828528d641d9fc585525e"}, + {file = "greenlet-3.5.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:06c0e933290fba8ffe53ead4ae1b8044b0e9754b75cebf381aa2bc3e50d82fac"}, + {file = "greenlet-3.5.6-cp313-cp313-win_amd64.whl", hash = "sha256:5b602b4201b965a8354d74e232364a66ff243dd142e350d035f46169bb36e13d"}, + {file = "greenlet-3.5.6-cp313-cp313-win_arm64.whl", hash = "sha256:876077e7ebb8c84ed068e2b23d4c62ebb010d60df84b9591af1be2f39010ffb2"}, + {file = "greenlet-3.5.6-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:8cddea1b8339451c2fb3388e138347b6126744f33b611bdb55b7357361cfef46"}, + {file = "greenlet-3.5.6-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c59acfa8eb73a1e0d484392dc002bdf001fd4ce73394e0132df3d1ab6093d7cb"}, + {file = "greenlet-3.5.6-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a3b4a01c6da07ef9f80d4fe8933b994bc99747bcea3eab0330a9c34d3c12655b"}, + {file = "greenlet-3.5.6-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:dd0b83bed3405b586a3133629f1d1a5bc7bfd64822a3b7ab342bdc68e6dbc61b"}, + {file = "greenlet-3.5.6-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9a09d59bef1db94f384b5bcc2d523694d338f3df6b757aeeaf7baca5d0c0be88"}, + {file = "greenlet-3.5.6-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:fdacf26402389bdd89857ad3c045a26fe8f3314f9a8b28226f82f88463a65b77"}, + {file = "greenlet-3.5.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8b7c73d1cef3d9ae963e9ff03f6222df43efbb9054ffd2f1969c935b7fc84c02"}, + {file = "greenlet-3.5.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8b27df301f56e3b3d2298095c8f7d6b68f2521f6b1693e901fa039bdbae34424"}, + {file = "greenlet-3.5.6-cp314-cp314-win_amd64.whl", hash = "sha256:f8f0bd690e1a41294ac87905e8121c81a3761ec2583c768f13467428606c8c7a"}, + {file = "greenlet-3.5.6-cp314-cp314-win_arm64.whl", hash = "sha256:8cda13494d86a4f12429641117cb6ac4bbbc9c30a33f711f7d3a2e5fbe4b0b7e"}, + {file = "greenlet-3.5.6-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:97c5a53e8c1754df58e73f047a99e287d4da1bdfe64b0072fb25c87000897951"}, + {file = "greenlet-3.5.6-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fea4427d1ffdb3b523d7daa6712038428a4c16c450b9777bdd1221cfee0eab49"}, + {file = "greenlet-3.5.6-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:73a29b5ba642e35433166a03a3e02935e7238c4b3467fbd77523b99edea23e5b"}, + {file = "greenlet-3.5.6-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:61a61b4a95a4f97922c3a6f5606d3e360851584bd47e500a5161373c53810e3d"}, + {file = "greenlet-3.5.6-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:460e70b033aba8ed47e2ac9b5d0d2157b05a34fbfa30a241400aef4118902cdc"}, + {file = "greenlet-3.5.6-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:fe3170a69fe039b18ad18171e66faa9a75f6fe9d78f968fd9b54e09fbd714d81"}, + {file = "greenlet-3.5.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ca80a49b53ed1d22f7282da7255f7bb2fd1935fd0f623d8613fda38745f18961"}, + {file = "greenlet-3.5.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:916f92f2a8db10508f739d0b5e00b83defe5d1115a997c54532a6d7cf8c95404"}, + {file = "greenlet-3.5.6-cp314-cp314t-win_amd64.whl", hash = "sha256:886bcf1870af74c32bc310fd00a6b803445e17e51b7d5a107c7b35c0f362cc16"}, + {file = "greenlet-3.5.6-cp315-cp315-macosx_11_0_universal2.whl", hash = "sha256:3ac3494c381dab876cad7d0b22f3a722f3e0c8deb3a65b9e7f35ad7f58b8fcb3"}, + {file = "greenlet-3.5.6-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:602024dae6d77e161f4b89491b62ca1d4f19949d79d47b2db057e476d21179d6"}, + {file = "greenlet-3.5.6-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f8e63209c3e1e828ee6a457529b4a6d8b05d050fe0ae03a7ae49e967c5d312e0"}, + {file = "greenlet-3.5.6-cp315-cp315-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9133d68624b1f2e89ec2f554d56aea8a5b0d7168cd9320200ba58d4d794845a4"}, + {file = "greenlet-3.5.6-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccadce0130fd813ec86ebfe969a6c58b42acc1d0fe55a47525375b740e07b605"}, + {file = "greenlet-3.5.6-cp315-cp315-manylinux_2_39_riscv64.whl", hash = "sha256:5adcbbfe78bdc242c71740a02e0991cc1b2f34d33c8bb15ca45eee8fd1140942"}, + {file = "greenlet-3.5.6-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:9297fb9c39b9a2c039dbcd306c410bd6906b95244dec3bba4318d36c718c164c"}, + {file = "greenlet-3.5.6-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:b374e79ffa7511afc11773aef40a4ccea6191fba1c856ea2f9c56738dca69d7a"}, + {file = "greenlet-3.5.6-cp315-cp315-win_amd64.whl", hash = "sha256:7969bffa322c097bd46ae595ada6a931cefda613f18ba64587e9cff4cb320756"}, + {file = "greenlet-3.5.6-cp315-cp315-win_arm64.whl", hash = "sha256:8dba0129b93e7091dfefaf4cf7000172741bff7f47bf6326fcf17f32fbb54d6b"}, + {file = "greenlet-3.5.6-cp315-cp315t-macosx_11_0_universal2.whl", hash = "sha256:de3de000d459402cda015068fd135aa50c0bf6f2477a80d4da1e646f123b4e78"}, + {file = "greenlet-3.5.6-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45663c01a4de48b9a64a2ee1509d92d1dfd3afb02b2ccfc9333029d11aef996a"}, + {file = "greenlet-3.5.6-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3deccbb57a481e3a408fe61cdfd5c13e0678fc0a30fdd09597917ca87b4be877"}, + {file = "greenlet-3.5.6-cp315-cp315t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:63aff70fe5aac59c72215f42ec39fcb59ff46774fa966e717f8ecb6ee2273577"}, + {file = "greenlet-3.5.6-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:311018b46472fb26ee85870847fb89eb64cc8aaddb617400789d87076f7cfeec"}, + {file = "greenlet-3.5.6-cp315-cp315t-manylinux_2_39_riscv64.whl", hash = "sha256:520648db8fb92eef7b3e6013f5a6f901cdf0d6685f639c2f7a245879f865bef7"}, + {file = "greenlet-3.5.6-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:7f924a5a9d5890649566f2f6682e0d8ad8ca23028bacffbbac36dbd7fd680176"}, + {file = "greenlet-3.5.6-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:de9923832f2d8c1a5ecd8d7260465a6ca5a86888a0d129e3bd5cf0406d2fc5bf"}, + {file = "greenlet-3.5.6-cp315-cp315t-win_amd64.whl", hash = "sha256:2ab5f42ac6c238eb71770715e6e909ad9a1a92b6c681ccb64cd5a0f07edb953f"}, + {file = "greenlet-3.5.6-cp315-cp315t-win_arm64.whl", hash = "sha256:f9fe868463ec7e1363733af77e38a5fda3e9b63940337048c945d69e0c80ff24"}, + {file = "greenlet-3.5.6.tar.gz", hash = "sha256:8e67c43bdfc88d5fee6db0d3e40175b362fc95fb85f0412d233b9b203c53a575"}, ] [package.extras] docs = ["Sphinx", "furo"] -test = ["objgraph", "psutil"] +test = ["objgraph", "psutil", "setuptools"] [[package]] name = "idna" @@ -364,71 +400,6 @@ files = [ {file = "markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"}, ] -[[package]] -name = "numpy" -version = "2.2.6" -description = "Fundamental package for array computing in Python" -optional = false -python-versions = ">=3.10" -groups = ["main"] -files = [ - {file = "numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb"}, - {file = "numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90"}, - {file = "numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163"}, - {file = "numpy-2.2.6-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf"}, - {file = "numpy-2.2.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83"}, - {file = "numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915"}, - {file = "numpy-2.2.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680"}, - {file = "numpy-2.2.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289"}, - {file = "numpy-2.2.6-cp310-cp310-win32.whl", hash = "sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d"}, - {file = "numpy-2.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3"}, - {file = "numpy-2.2.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae"}, - {file = "numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a"}, - {file = "numpy-2.2.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42"}, - {file = "numpy-2.2.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491"}, - {file = "numpy-2.2.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a"}, - {file = "numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf"}, - {file = "numpy-2.2.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1"}, - {file = "numpy-2.2.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab"}, - {file = "numpy-2.2.6-cp311-cp311-win32.whl", hash = "sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47"}, - {file = "numpy-2.2.6-cp311-cp311-win_amd64.whl", hash = "sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303"}, - {file = "numpy-2.2.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff"}, - {file = "numpy-2.2.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c"}, - {file = "numpy-2.2.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3"}, - {file = "numpy-2.2.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282"}, - {file = "numpy-2.2.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87"}, - {file = "numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249"}, - {file = "numpy-2.2.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49"}, - {file = "numpy-2.2.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de"}, - {file = "numpy-2.2.6-cp312-cp312-win32.whl", hash = "sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4"}, - {file = "numpy-2.2.6-cp312-cp312-win_amd64.whl", hash = "sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2"}, - {file = "numpy-2.2.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84"}, - {file = "numpy-2.2.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b"}, - {file = "numpy-2.2.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d"}, - {file = "numpy-2.2.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566"}, - {file = "numpy-2.2.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f"}, - {file = "numpy-2.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f"}, - {file = "numpy-2.2.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868"}, - {file = "numpy-2.2.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d"}, - {file = "numpy-2.2.6-cp313-cp313-win32.whl", hash = "sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd"}, - {file = "numpy-2.2.6-cp313-cp313-win_amd64.whl", hash = "sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c"}, - {file = "numpy-2.2.6-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6"}, - {file = "numpy-2.2.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda"}, - {file = "numpy-2.2.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40"}, - {file = "numpy-2.2.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8"}, - {file = "numpy-2.2.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f"}, - {file = "numpy-2.2.6-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa"}, - {file = "numpy-2.2.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571"}, - {file = "numpy-2.2.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1"}, - {file = "numpy-2.2.6-cp313-cp313t-win32.whl", hash = "sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff"}, - {file = "numpy-2.2.6-cp313-cp313t-win_amd64.whl", hash = "sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06"}, - {file = "numpy-2.2.6-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d"}, - {file = "numpy-2.2.6-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db"}, - {file = "numpy-2.2.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543"}, - {file = "numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00"}, - {file = "numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd"}, -] - [[package]] name = "packaging" version = "25.0" @@ -441,89 +412,6 @@ files = [ {file = "packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f"}, ] -[[package]] -name = "pandas" -version = "2.2.3" -description = "Powerful data structures for data analysis, time series, and statistics" -optional = false -python-versions = ">=3.9" -groups = ["main"] -files = [ - {file = "pandas-2.2.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:1948ddde24197a0f7add2bdc4ca83bf2b1ef84a1bc8ccffd95eda17fd836ecb5"}, - {file = "pandas-2.2.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:381175499d3802cde0eabbaf6324cce0c4f5d52ca6f8c377c29ad442f50f6348"}, - {file = "pandas-2.2.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d9c45366def9a3dd85a6454c0e7908f2b3b8e9c138f5dc38fed7ce720d8453ed"}, - {file = "pandas-2.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:86976a1c5b25ae3f8ccae3a5306e443569ee3c3faf444dfd0f41cda24667ad57"}, - {file = "pandas-2.2.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b8661b0238a69d7aafe156b7fa86c44b881387509653fdf857bebc5e4008ad42"}, - {file = "pandas-2.2.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:37e0aced3e8f539eccf2e099f65cdb9c8aa85109b0be6e93e2baff94264bdc6f"}, - {file = "pandas-2.2.3-cp310-cp310-win_amd64.whl", hash = "sha256:56534ce0746a58afaf7942ba4863e0ef81c9c50d3f0ae93e9497d6a41a057645"}, - {file = "pandas-2.2.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:66108071e1b935240e74525006034333f98bcdb87ea116de573a6a0dccb6c039"}, - {file = "pandas-2.2.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7c2875855b0ff77b2a64a0365e24455d9990730d6431b9e0ee18ad8acee13dbd"}, - {file = "pandas-2.2.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cd8d0c3be0515c12fed0bdbae072551c8b54b7192c7b1fda0ba56059a0179698"}, - {file = "pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c124333816c3a9b03fbeef3a9f230ba9a737e9e5bb4060aa2107a86cc0a497fc"}, - {file = "pandas-2.2.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:63cc132e40a2e084cf01adf0775b15ac515ba905d7dcca47e9a251819c575ef3"}, - {file = "pandas-2.2.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:29401dbfa9ad77319367d36940cd8a0b3a11aba16063e39632d98b0e931ddf32"}, - {file = "pandas-2.2.3-cp311-cp311-win_amd64.whl", hash = "sha256:3fc6873a41186404dad67245896a6e440baacc92f5b716ccd1bc9ed2995ab2c5"}, - {file = "pandas-2.2.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b1d432e8d08679a40e2a6d8b2f9770a5c21793a6f9f47fdd52c5ce1948a5a8a9"}, - {file = "pandas-2.2.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a5a1595fe639f5988ba6a8e5bc9649af3baf26df3998a0abe56c02609392e0a4"}, - {file = "pandas-2.2.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5de54125a92bb4d1c051c0659e6fcb75256bf799a732a87184e5ea503965bce3"}, - {file = "pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fffb8ae78d8af97f849404f21411c95062db1496aeb3e56f146f0355c9989319"}, - {file = "pandas-2.2.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6dfcb5ee8d4d50c06a51c2fffa6cff6272098ad6540aed1a76d15fb9318194d8"}, - {file = "pandas-2.2.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:062309c1b9ea12a50e8ce661145c6aab431b1e99530d3cd60640e255778bd43a"}, - {file = "pandas-2.2.3-cp312-cp312-win_amd64.whl", hash = "sha256:59ef3764d0fe818125a5097d2ae867ca3fa64df032331b7e0917cf5d7bf66b13"}, - {file = "pandas-2.2.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f00d1345d84d8c86a63e476bb4955e46458b304b9575dcf71102b5c705320015"}, - {file = "pandas-2.2.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3508d914817e153ad359d7e069d752cdd736a247c322d932eb89e6bc84217f28"}, - {file = "pandas-2.2.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:22a9d949bfc9a502d320aa04e5d02feab689d61da4e7764b62c30b991c42c5f0"}, - {file = "pandas-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f3a255b2c19987fbbe62a9dfd6cff7ff2aa9ccab3fc75218fd4b7530f01efa24"}, - {file = "pandas-2.2.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:800250ecdadb6d9c78eae4990da62743b857b470883fa27f652db8bdde7f6659"}, - {file = "pandas-2.2.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6374c452ff3ec675a8f46fd9ab25c4ad0ba590b71cf0656f8b6daa5202bca3fb"}, - {file = "pandas-2.2.3-cp313-cp313-win_amd64.whl", hash = "sha256:61c5ad4043f791b61dd4752191d9f07f0ae412515d59ba8f005832a532f8736d"}, - {file = "pandas-2.2.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:3b71f27954685ee685317063bf13c7709a7ba74fc996b84fc6821c59b0f06468"}, - {file = "pandas-2.2.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:38cf8125c40dae9d5acc10fa66af8ea6fdf760b2714ee482ca691fc66e6fcb18"}, - {file = "pandas-2.2.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ba96630bc17c875161df3818780af30e43be9b166ce51c9a18c1feae342906c2"}, - {file = "pandas-2.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1db71525a1538b30142094edb9adc10be3f3e176748cd7acc2240c2f2e5aa3a4"}, - {file = "pandas-2.2.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:15c0e1e02e93116177d29ff83e8b1619c93ddc9c49083f237d4312337a61165d"}, - {file = "pandas-2.2.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:ad5b65698ab28ed8d7f18790a0dc58005c7629f227be9ecc1072aa74c0c1d43a"}, - {file = "pandas-2.2.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc6b93f9b966093cb0fd62ff1a7e4c09e6d546ad7c1de191767baffc57628f39"}, - {file = "pandas-2.2.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5dbca4c1acd72e8eeef4753eeca07de9b1db4f398669d5994086f788a5d7cc30"}, - {file = "pandas-2.2.3-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8cd6d7cc958a3910f934ea8dbdf17b2364827bb4dafc38ce6eef6bb3d65ff09c"}, - {file = "pandas-2.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:99df71520d25fade9db7c1076ac94eb994f4d2673ef2aa2e86ee039b6746d20c"}, - {file = "pandas-2.2.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:31d0ced62d4ea3e231a9f228366919a5ea0b07440d9d4dac345376fd8e1477ea"}, - {file = "pandas-2.2.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7eee9e7cea6adf3e3d24e304ac6b8300646e2a5d1cd3a3c2abed9101b0846761"}, - {file = "pandas-2.2.3-cp39-cp39-win_amd64.whl", hash = "sha256:4850ba03528b6dd51d6c5d273c46f183f39a9baf3f0143e566b89450965b105e"}, - {file = "pandas-2.2.3.tar.gz", hash = "sha256:4f18ba62b61d7e192368b84517265a99b4d7ee8912f8708660fb4a366cc82667"}, -] - -[package.dependencies] -numpy = {version = ">=1.26.0", markers = "python_version >= \"3.12\""} -python-dateutil = ">=2.8.2" -pytz = ">=2020.1" -tzdata = ">=2022.7" - -[package.extras] -all = ["PyQt5 (>=5.15.9)", "SQLAlchemy (>=2.0.0)", "adbc-driver-postgresql (>=0.8.0)", "adbc-driver-sqlite (>=0.8.0)", "beautifulsoup4 (>=4.11.2)", "bottleneck (>=1.3.6)", "dataframe-api-compat (>=0.1.7)", "fastparquet (>=2022.12.0)", "fsspec (>=2022.11.0)", "gcsfs (>=2022.11.0)", "html5lib (>=1.1)", "hypothesis (>=6.46.1)", "jinja2 (>=3.1.2)", "lxml (>=4.9.2)", "matplotlib (>=3.6.3)", "numba (>=0.56.4)", "numexpr (>=2.8.4)", "odfpy (>=1.4.1)", "openpyxl (>=3.1.0)", "pandas-gbq (>=0.19.0)", "psycopg2 (>=2.9.6)", "pyarrow (>=10.0.1)", "pymysql (>=1.0.2)", "pyreadstat (>=1.2.0)", "pytest (>=7.3.2)", "pytest-xdist (>=2.2.0)", "python-calamine (>=0.1.7)", "pyxlsb (>=1.0.10)", "qtpy (>=2.3.0)", "s3fs (>=2022.11.0)", "scipy (>=1.10.0)", "tables (>=3.8.0)", "tabulate (>=0.9.0)", "xarray (>=2022.12.0)", "xlrd (>=2.0.1)", "xlsxwriter (>=3.0.5)", "zstandard (>=0.19.0)"] -aws = ["s3fs (>=2022.11.0)"] -clipboard = ["PyQt5 (>=5.15.9)", "qtpy (>=2.3.0)"] -compression = ["zstandard (>=0.19.0)"] -computation = ["scipy (>=1.10.0)", "xarray (>=2022.12.0)"] -consortium-standard = ["dataframe-api-compat (>=0.1.7)"] -excel = ["odfpy (>=1.4.1)", "openpyxl (>=3.1.0)", "python-calamine (>=0.1.7)", "pyxlsb (>=1.0.10)", "xlrd (>=2.0.1)", "xlsxwriter (>=3.0.5)"] -feather = ["pyarrow (>=10.0.1)"] -fss = ["fsspec (>=2022.11.0)"] -gcp = ["gcsfs (>=2022.11.0)", "pandas-gbq (>=0.19.0)"] -hdf5 = ["tables (>=3.8.0)"] -html = ["beautifulsoup4 (>=4.11.2)", "html5lib (>=1.1)", "lxml (>=4.9.2)"] -mysql = ["SQLAlchemy (>=2.0.0)", "pymysql (>=1.0.2)"] -output-formatting = ["jinja2 (>=3.1.2)", "tabulate (>=0.9.0)"] -parquet = ["pyarrow (>=10.0.1)"] -performance = ["bottleneck (>=1.3.6)", "numba (>=0.56.4)", "numexpr (>=2.8.4)"] -plot = ["matplotlib (>=3.6.3)"] -postgresql = ["SQLAlchemy (>=2.0.0)", "adbc-driver-postgresql (>=0.8.0)", "psycopg2 (>=2.9.6)"] -pyarrow = ["pyarrow (>=10.0.1)"] -spss = ["pyreadstat (>=1.2.0)"] -sql-other = ["SQLAlchemy (>=2.0.0)", "adbc-driver-postgresql (>=0.8.0)", "adbc-driver-sqlite (>=0.8.0)"] -test = ["hypothesis (>=6.46.1)", "pytest (>=7.3.2)", "pytest-xdist (>=2.2.0)"] -xml = ["lxml (>=4.9.2)"] - [[package]] name = "playwright" version = "1.52.0" @@ -562,6 +450,181 @@ files = [ dev = ["pre-commit", "tox"] testing = ["coverage", "pytest", "pytest-benchmark"] +[[package]] +name = "pydantic" +version = "2.14.4" +description = "Data validation using Python type hints" +optional = false +python-versions = ">=3.10" +groups = ["main"] +files = [ + {file = "pydantic-2.14.4-py3-none-any.whl", hash = "sha256:653a2ad9f6d8858529c77c72717d0ea991d6c6837fe683246b2f4b2bbfc3fadc"}, + {file = "pydantic-2.14.4.tar.gz", hash = "sha256:7c19f1d46f8accf55a4617a6116e1ade64840870f397b846a2c53fb9019414ba"}, +] + +[package.dependencies] +annotated-types = ">=0.6.0" +pydantic-core = "2.50.5" +typing-extensions = ">=4.16.0" +typing-inspection = ">=0.4.4" + +[package.extras] +email = ["email-validator (>=2.0.0)"] +timezone = ["tzdata ; platform_system == \"Windows\""] + +[[package]] +name = "pydantic-core" +version = "2.50.5" +description = "Core functionality for Pydantic validation and serialization" +optional = false +python-versions = ">=3.10" +groups = ["main"] +files = [ + {file = "pydantic_core-2.50.5-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:302517f9f5589e07ead02d38fbb443947a211461b39b18f46948b20941fa8d98"}, + {file = "pydantic_core-2.50.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:55e0d60384a9b14641749d2ba6721f82409248288f066b95d555c6dd484273d2"}, + {file = "pydantic_core-2.50.5-cp310-cp310-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:93a10c0b967c0dc6c2253d3a82b9117d2a841b8e344c637edc0a14220852b115"}, + {file = "pydantic_core-2.50.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:252ce30d79b47954cc3a49f8a0d812ac24a356627391fcec90a68733c755707e"}, + {file = "pydantic_core-2.50.5-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:5da0e7da9d7cdc39df85d1b927b77d40218cf40acbfc523048c95ce44d33abb9"}, + {file = "pydantic_core-2.50.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:bb103c150e1a0f1b8b2710a66ce1f741c7922b22ef07a290aea0e6cf702d8bbf"}, + {file = "pydantic_core-2.50.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:6e01a2033691ea2cbd91e499d6b6573f446dc926ccdfc670ed576991cef85cdb"}, + {file = "pydantic_core-2.50.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:92c0ebab606f982730aaaa741a30cd5e0f68dc7c005a5baa9b332fc182232c61"}, + {file = "pydantic_core-2.50.5-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:706c75cd9f8bd1798367f463ea81df52eff5fb2e4c4ef83997dd4ae538adc109"}, + {file = "pydantic_core-2.50.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:d84b427c6badf48adc2586be1dc5c8677fc2f22a09da50e5d3f342d3daf3b2b4"}, + {file = "pydantic_core-2.50.5-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:5eafde2cd1d97b7f60efc423d8504b22defd9d2fb9c4a358ffd1230e5fe65311"}, + {file = "pydantic_core-2.50.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:dc5717ed8981efdbbafc15a2533a690703cf80e96b886a158c61c9ec9bafcc28"}, + {file = "pydantic_core-2.50.5-cp310-cp310-win32.whl", hash = "sha256:15124b48e0acb6d24664690e052d50be51901286886bc124090960f1df869f30"}, + {file = "pydantic_core-2.50.5-cp310-cp310-win_amd64.whl", hash = "sha256:b7e6a76b77513cd633a08addfda8409623ad884a4d91ee3664fb05cf094b2c35"}, + {file = "pydantic_core-2.50.5-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:bcc830e4f48499fd30a870f07c30752273ae2ddccce34d65d51c9fc880c380ab"}, + {file = "pydantic_core-2.50.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:40d5da89a632e6c6c938f93fdf54c534882d258a80f51ccfe1650cdedc12e82c"}, + {file = "pydantic_core-2.50.5-cp311-cp311-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:f7509c6f8a0f9d9eac58340dd567f0eb71ce2f762df09f0d51280e30da3fe687"}, + {file = "pydantic_core-2.50.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ba2b34529984a8e3cb1bc62a7687617722695a2cb4e57958de32a0eba128a07a"}, + {file = "pydantic_core-2.50.5-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:f8dc2008577c5e02eaa1eb3fbfa8fe0eba9af27ff6a740e9f1dae6661e88efcb"}, + {file = "pydantic_core-2.50.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:4dcf7b2cdfb9c59c1d377de318f3c8462121f32db939299999484ea0b1eadf18"}, + {file = "pydantic_core-2.50.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:ed4a01922af0d41b2a3b9433818cbb73b6b28e8dea344c90917c1fdcceb9960f"}, + {file = "pydantic_core-2.50.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:488319076ec92908b91fc6265ce761f1d78748f69f85518564fd16bf333e1b70"}, + {file = "pydantic_core-2.50.5-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:50d12ba7cab98b355ba65d65655e969f66934ab7a3d2d0c8abd61ae2282efce5"}, + {file = "pydantic_core-2.50.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:be4615d4b5f90c65dce2295dcf32eff7f05ea5d0d3a82421c03c572785cb9bf8"}, + {file = "pydantic_core-2.50.5-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:65b0f52abcd06dbb53961db9cc3610929f4f6518c3726d965a9babdaf7bd79c9"}, + {file = "pydantic_core-2.50.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:05815bbe2c7bec58d1ce456cc0a98f368e6ef9345b1d9311f42b814d34ad7086"}, + {file = "pydantic_core-2.50.5-cp311-cp311-win32.whl", hash = "sha256:e65f78eb3d930ac30ff3557fc74a0771300096fb002f588a6fe8d946e83f14ad"}, + {file = "pydantic_core-2.50.5-cp311-cp311-win_amd64.whl", hash = "sha256:d4ebf349b1b60049e80df5d9ea6725b1b7e434a7d006474b0f664fa72a6b3c75"}, + {file = "pydantic_core-2.50.5-cp311-cp311-win_arm64.whl", hash = "sha256:736782cfbca37b4d81e6f3c7a3414de25db045dcdb7a05e55b64191a33c5ac45"}, + {file = "pydantic_core-2.50.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:24d23de96195ff9637e5940a7fbde3bea6a355b26fb5f491737dd803aa5d5a93"}, + {file = "pydantic_core-2.50.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a9bcf23628860d5a90cacdc188ee3b7d0547a38eb985214f03e7002a6ca0e558"}, + {file = "pydantic_core-2.50.5-cp312-cp312-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:30988977d38909df645183a9869a9d12211485639ac4757de18585f0ccb6f3dc"}, + {file = "pydantic_core-2.50.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:07a62d44515d674d750cfd86b7ce1dd93111be870f378d7c27b37aeb78d0cb4a"}, + {file = "pydantic_core-2.50.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:7dfc0431e94659ae8449303ca4fb1588dc1e00282d6636d00d72bb4bd6459b4d"}, + {file = "pydantic_core-2.50.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:004c784d4642bd1112a9fa9a022543aa17793fd32004f7e903ee97df2086bad4"}, + {file = "pydantic_core-2.50.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:fa66340c6d3e08a276803812e7665312dfc75dd24eedfa8e09f18a0f8e3e0e8f"}, + {file = "pydantic_core-2.50.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:470bbc2495367f60d3ca849a8039e4c164701d10637e7743f4427d92651bdb6d"}, + {file = "pydantic_core-2.50.5-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:43a6eaee9eeac4a54f2ff6567e1b0ec51651b37a40d862cab2e6fd16109e6528"}, + {file = "pydantic_core-2.50.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b66f2434c895652ac21c030d5a3a92c7811f0f9b98af41bf35be899c2d34aa4c"}, + {file = "pydantic_core-2.50.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:2cb80e0323b31d4669c4d72a466d99c885e13deb06205aa079ea6594e7ad1ef8"}, + {file = "pydantic_core-2.50.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3cf575867ecaf89aca440e5a4253d2facf1ca37bab30a4e8c205ec611228126a"}, + {file = "pydantic_core-2.50.5-cp312-cp312-win32.whl", hash = "sha256:57d4350167130c9c136b7efa35e6e7ee9539779698755b01007834d32c7a1f7d"}, + {file = "pydantic_core-2.50.5-cp312-cp312-win_amd64.whl", hash = "sha256:baa107902f8e38011a5f79836d905eb6bfaac1d4b0bd09fc86509b711d0b09c8"}, + {file = "pydantic_core-2.50.5-cp312-cp312-win_arm64.whl", hash = "sha256:2d785ae9ff0ac485567f27f4fc53712268916e04be4a590160e5bf55b096225a"}, + {file = "pydantic_core-2.50.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:e5d5d77a9446f44688a5ef420d92c9facac0865ef5565215db54be184ab7906f"}, + {file = "pydantic_core-2.50.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:639a51931869c0594d8723b2f529c547db1aa33dc9571d001dc205d896170c08"}, + {file = "pydantic_core-2.50.5-cp313-cp313-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:c69eb2e09d2830949e6e8f395d4eb8c714ba083213ccff64932ded681fe69a4e"}, + {file = "pydantic_core-2.50.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8bbe282e79dc71b24ba7be284eacf27c8ddff8f26911e2030a0dd123c6aed326"}, + {file = "pydantic_core-2.50.5-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:43917f090dfda561575a72f75814f76a0680964b70d7b44c84e44d217bdeade7"}, + {file = "pydantic_core-2.50.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:93ee3b4f9c64fb1c39892413c4196d0a84790a7e0e5d72b463882c432c1ffafe"}, + {file = "pydantic_core-2.50.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:57b79401d870c9df395799c596d81875b647ecf3030129d86659a54f6bfcc0db"}, + {file = "pydantic_core-2.50.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cbfde3ad127786f1dea1a6cd89a5eb824a16203f24743ad2b4e07506f43bc844"}, + {file = "pydantic_core-2.50.5-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:1793ec63c8f247131aa4dfc8c4da645b9c5872cf26b53ce240f143f59ad116e4"}, + {file = "pydantic_core-2.50.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5027c263fbceb821cfb4b385d36d485e19efca1d9adcc4e5bec69c04ca3cdc83"}, + {file = "pydantic_core-2.50.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:dac78f91e263c4c9a4d587b9d97b3b5b2561293b33247452cc3cfe5b500e8cfb"}, + {file = "pydantic_core-2.50.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:b9348cfd798b8199d34da5258becf2fc8f5e4e7a3b51da30c34b81b996a07b34"}, + {file = "pydantic_core-2.50.5-cp313-cp313-win32.whl", hash = "sha256:22f5f0c37251611191a55e801a5150aa21f348fa10eac8eac9fa43c29937a7b1"}, + {file = "pydantic_core-2.50.5-cp313-cp313-win_amd64.whl", hash = "sha256:d34c0d4dd4a318f2be788a60a972c3a1ed5da0155a7c06d6dd810dc5d60ad704"}, + {file = "pydantic_core-2.50.5-cp313-cp313-win_arm64.whl", hash = "sha256:cbec4aad328be58961c738b83fc2c7bd993242d2366f949d914e8c09266dee0e"}, + {file = "pydantic_core-2.50.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:00598ae680c6e4a17cda01910e49c0da8ce15610505e6c57cec3f15d83daef88"}, + {file = "pydantic_core-2.50.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e8fe516a4b3b06e4ff83b9adee4a786d28a617e5fb5fe90bda49fb6f52a5ac19"}, + {file = "pydantic_core-2.50.5-cp314-cp314-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:63a0ba0d7ccf37c8c724bb7ed13c3aa0aa4c743f4f5f376c92c47e584844c7b1"}, + {file = "pydantic_core-2.50.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:27bc22dc8d50335bc62296261a7dc4c2572149910ba7c274ef0f945b5be0d570"}, + {file = "pydantic_core-2.50.5-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:2f6a8c9b8647378c0dc128805e6b98da39d36019a0e7cac134badeaedb14f849"}, + {file = "pydantic_core-2.50.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:feb8c87dbc4684777ddafbf37c922d9e2748272ba61e362ebf85db73ebda6234"}, + {file = "pydantic_core-2.50.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:e0a7ae307b4e1eff195cd23a757da07f70a115e45175039caf5f3979a20c7edb"}, + {file = "pydantic_core-2.50.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:88b543705849d0c59343f97c38296dbf59eb7b3c9565bd4fe1ed638ba38da5ed"}, + {file = "pydantic_core-2.50.5-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:4ae5c9f84dfa43643d10328a212f709c7602c5e70df376d217ae5770d374ccd9"}, + {file = "pydantic_core-2.50.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:922455cc5baddb0f2c82b7ba649e57e89183442b32fe512670db6ebb9b66b251"}, + {file = "pydantic_core-2.50.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:aa69eaeed433cfe5de809fb84c95536a5aed991b28290d0db059fe6766c69274"}, + {file = "pydantic_core-2.50.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:9f2bf218dbc93363fe3e31cc53d36db8d6ff4122179406bec05f33bb79c0e2c1"}, + {file = "pydantic_core-2.50.5-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:b2910ec0fa5aeb9bef70156f2b79f4783978fdcfaa7b2f1b5d1814458d2e79a1"}, + {file = "pydantic_core-2.50.5-cp314-cp314-win32.whl", hash = "sha256:1deb966176b1b66be4281c83f10a0b6b1cecedeb25f53ee894bf27b22376facd"}, + {file = "pydantic_core-2.50.5-cp314-cp314-win_amd64.whl", hash = "sha256:887424ba7c2145e97f131bc2cc73383a8c464d7bcd56eb98bbd941afb6868b95"}, + {file = "pydantic_core-2.50.5-cp314-cp314-win_arm64.whl", hash = "sha256:e7dd59f498ef42077f22db607571249db41997227018cb84644ba0059f8b5719"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:372f4ab3e67b2387871950cfa27d94d644c3475e650836ea52e25c2e4fbd7975"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0c9f0002e4ec37db931e4ee8b7dafab2c7288ef66354e74fe16484e60eac6616"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:d16cb794449c2bc0e5cb0ab0022813419bf5283266f2a7ff1fc54e5c6e27dcee"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:71633f82d51d4796a48026bd6eca5ec83e4a0edbe6187d59bbc45ace1111ebae"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:f20c692c599ebac7f04f3a0102b969f3f9d6667ffe1e72629fc7fbf8b6375234"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:2f0a86887c644247eff4cc7b9e609042a49833dcd72f84574e7b8beea89729ab"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:655d0cc2ddbc3fb1f4f8a8e3724552ee2ba6b8561289e9e6e06186982b27bceb"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1d53befcfd415bd9212e685372c825e62f29b83820db78512c9d3659f13d29e9"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:5f33c92da4aa5714fb6fcb086358274598e8ff62b6607afd132a38657aa64f02"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:3129b52ee2861d0270db8bd140fc9b53ee9821247ca47fda2613a899ce9a1ea3"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:041f4730fa7a8bf975e88436d439bdc72f3f16e584a470ffbe47392628d99de6"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:48b5deaaee4f1b99603173cd291127523e43ee9f51db58c7ff98d16dc5c6fc93"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-win32.whl", hash = "sha256:8c7244134b93ce028e9166c1b5d3e4537349307ccf3e65d746b4c6b1bbed8c89"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-win_amd64.whl", hash = "sha256:159f6bc1b616e0ca0938eb568d87ca03c633d6f06306ac47b9c3e5dd8c14d39a"}, + {file = "pydantic_core-2.50.5-cp314-cp314t-win_arm64.whl", hash = "sha256:5274f8314ce3be1df07ae8ebceeb97a73b8409d842fd7677c5d0a85a68793ec1"}, + {file = "pydantic_core-2.50.5-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:c4c4313dc66f45822b3d7f39aa74e59e7987cf7572b3309005b26d956a0098a9"}, + {file = "pydantic_core-2.50.5-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:e93587aaa5660536b9188686e8fe0544b577ec57d896d424b5b2118b151a6845"}, + {file = "pydantic_core-2.50.5-cp315-cp315-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:0a7d599d0c5afbab98c0e4441f5b76163c6fcfd2ecf73dd6418e468a7ac452b8"}, + {file = "pydantic_core-2.50.5-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:568e928322f0b6b94671fc1a4dbc867627af74695b0c060ac6d4f25b6a7425d8"}, + {file = "pydantic_core-2.50.5-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:bdafd6b05bf012772b7d7325a98d26f19b7918e21dabdd5970c885262245aae3"}, + {file = "pydantic_core-2.50.5-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:008de9d97f2b0c8e596fb5d93d49b63be158e8be5ac35856903b338cbcfd21f3"}, + {file = "pydantic_core-2.50.5-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:f8fd7e9c44bb4c9214d41c3bef79cba5a513b29c3bcbfdaaf0440ca6f5fb65ea"}, + {file = "pydantic_core-2.50.5-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0d6e614776c8c99495dcfc6ce8f826277fb4388a5e5cbee23c199cbe39e6dcb3"}, + {file = "pydantic_core-2.50.5-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:bcd9d9b38e61dfd43e00f621ce00da2ffed35047fad532c4afcadf4f9ca0d672"}, + {file = "pydantic_core-2.50.5-cp315-cp315-musllinux_1_1_aarch64.whl", hash = "sha256:4888829471cd8d85c096ef0e1f41a066c7d76e88309a4fbff4069f70d07673be"}, + {file = "pydantic_core-2.50.5-cp315-cp315-musllinux_1_1_armv7l.whl", hash = "sha256:ad0e0221deec2a2385300d76b9259da7036c0ed784502c154ae237dafd67605f"}, + {file = "pydantic_core-2.50.5-cp315-cp315-musllinux_1_1_x86_64.whl", hash = "sha256:20337f547d79911457cd4739bb6699213a53089f946af87633a48fad3f74f5e1"}, + {file = "pydantic_core-2.50.5-cp315-cp315-win32.whl", hash = "sha256:09c732c097816c89d46ddb70f89d72e853e3a1bbac6475961c60a88aad9fe612"}, + {file = "pydantic_core-2.50.5-cp315-cp315-win_amd64.whl", hash = "sha256:0d4edc3350e21e0ef773ef9395227ca072832f05e484cadcf4d8663b63a231c0"}, + {file = "pydantic_core-2.50.5-cp315-cp315-win_arm64.whl", hash = "sha256:af453c0c20372ca8acf3c46de2a89b242491853dc61d0171ba24608d33310e09"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:9e255e7c32d9c2f396d3daa833e7d8d701eec7bf8e13ca092b4b83ce7d9487fd"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:c334b8759496f9e597b68e1309b2fb3d824fd24a29e562afa86b61005eb9d54d"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:90dabbf4f38f37de1663ce932d37c6f694a005f6470ae2f0d97755d9e3f90ffd"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5ec2e8caf5eadea7be683fc7025d60563e920f1f52fe18ae46c49558e67b8cd0"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:44e6c35bf3a9b6785db0c083df8a6929343f9c8fc27186991d21653242c77c19"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f33be114a0ee27870cffd31057ed60bf5a0cd522dcbdc1dda0bdad70f8302cb0"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:12178e58af383bd4c32b2fe141188bc7e540c5eb33ad550856fa5863b4c31bd5"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:679f15dd3bd2a82bde350ec8c94c0f8f05f05dba39fb3464cd4136a724da9844"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-manylinux_2_31_riscv64.whl", hash = "sha256:11806d9b4888f1645d74fc24237f21dad559b42fb8930481b3df414997be6ee5"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-musllinux_1_1_aarch64.whl", hash = "sha256:b43115385de7db83bd2fe7a08dea8580bce3acc3f54200c4f4fe32a4a49688d4"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-musllinux_1_1_armv7l.whl", hash = "sha256:86bd5aad5ccbaced98139d08b4314f253c086897830f4bcf9c1d1f02f740683d"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-musllinux_1_1_x86_64.whl", hash = "sha256:90ff55049623eccbfa997332e2b91358dc2c4c30ca6e664b45438723cbe181df"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-win32.whl", hash = "sha256:7c3faea08d44b4a7b57b30f1113e6404e6aa62a4f3489a22359fb27d6003d8b1"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-win_amd64.whl", hash = "sha256:b2b64d3204f9c33f03ed3111eb754902ea76ca5aa61ab4b2bdf9f767a4a1f279"}, + {file = "pydantic_core-2.50.5-cp315-cp315t-win_arm64.whl", hash = "sha256:8ba2dcbeea0ab8836e804c54e905075125c702cf78e592d998eecf2764b64144"}, + {file = "pydantic_core-2.50.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:68334f281460fb2a85bbb9e2545438bf2fd2c9a166823a60b84541a3c8f2d2e0"}, + {file = "pydantic_core-2.50.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:851a78a30265bb203186fd0e19712c1a4431083eb5a1e1715f758a029cd8aa6e"}, + {file = "pydantic_core-2.50.5-graalpy312-graalpy250_312_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:47f4d79fe4876feace216a5b2263c40d792476b4a6508c38d66a2facd3f1f4cc"}, + {file = "pydantic_core-2.50.5-graalpy312-graalpy250_312_native-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:98b92dad690e6578cc0b504eda53d53adaa4f34bd09c97a547a957e419544eb7"}, + {file = "pydantic_core-2.50.5-graalpy313-graalpy253_313_native-macosx_11_0_arm64.whl", hash = "sha256:d7826407ed74ff8e6cc6e6df7ffbf180e9b449ab1516f28eb5f6e2a489bc5129"}, + {file = "pydantic_core-2.50.5-graalpy313-graalpy253_313_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c415a8da7c89a3dd32d988a9117bf0a52371769b77b0943bcfd50b281ecefb8d"}, + {file = "pydantic_core-2.50.5-graalpy313-graalpy253_313_native-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea7429e3adb2f2fd81e2d6e8942e5c1cd760a6e6be5b7574d2ee5499b5e19e67"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:ea215f7f5d2df866e3b5448c0bbb4a35285086ac6ab18687796704cbd5f2c5a3"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:4ac243e358837f62d085f07b98625fa3831abdb28e8f77196934345bbff0fb0b"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:d3ada66d0601feeeba504a6daac73e47ed164357e46930366f135c4121594d53"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0dd037d96e98f6db8b69a44ab7d5c20a07fb0a2051775746a9e1b5fc8f52867f"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:3f800fc0f304f3b0e09d07d4287f9f0bc9bfe5319d1d7cabeaf265737c516083"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:a5f6622451fa3cd71c8ff15df24307cb3f8b5dc35a723de281646c34872d7179"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:2f5f29ff80ce0cf93102198cddebdbb3411881de177359c770e5c9c99495a6b3"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:6a069ceeca397bd8da2e8ef6383595c63ea17de37d5f2d5cde729bdc0dfe6774"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp80-macosx_10_12_x86_64.whl", hash = "sha256:e8faa73de2e9231f604cfa44c471d0986e7e9c45129d7888839a34196e46a7df"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp80-macosx_11_0_arm64.whl", hash = "sha256:ef461e9299ae665fab67c6f054847178b8fd510da10b4ef745a074b922efbf0a"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl", hash = "sha256:1f22c36d952f33bac936273ca0be115693a1d7c1c9496ca7d699e6a338656d6e"}, + {file = "pydantic_core-2.50.5-pp311-pypy311_pp80-win_amd64.whl", hash = "sha256:b6f48c4bf1c77ace644b125f168418438fbc9b8e4c3b290915cc7d055d83c8b1"}, + {file = "pydantic_core-2.50.5.tar.gz", hash = "sha256:1e740886083ff95530d694e6a3f09ed914bcf92a496d16acd307c6c3484fc36d"}, +] + +[package.dependencies] +typing-extensions = ">=4.16.0" + [[package]] name = "pyee" version = "13.0.0" @@ -578,7 +641,7 @@ files = [ typing-extensions = "*" [package.extras] -dev = ["black", "build", "flake8", "flake8-black", "isort", "jupyter-console", "mkdocs", "mkdocs-include-markdown-plugin", "mkdocstrings[python]", "mypy", "pytest", "pytest-asyncio", "pytest-trio", "sphinx", "toml", "tox", "trio", "trio", "trio-typing", "twine", "twisted", "validate-pyproject[all]"] +dev = ["black", "build", "flake8", "flake8-black", "isort", "jupyter-console", "mkdocs", "mkdocs-include-markdown-plugin", "mkdocstrings[python]", "mypy", "pytest", "pytest-asyncio ; python_version >= \"3.4\"", "pytest-trio ; python_version >= \"3.7\"", "sphinx", "toml", "tox", "trio", "trio ; python_version > \"3.6\"", "trio-typing ; python_version > \"3.6\"", "twine", "twisted", "validate-pyproject[all]"] [[package]] name = "pytest" @@ -698,21 +761,6 @@ psutil = ["psutil (>=3.0)"] setproctitle = ["setproctitle"] testing = ["filelock"] -[[package]] -name = "python-dateutil" -version = "2.9.0.post0" -description = "Extensions to the standard Python datetime module" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -groups = ["main"] -files = [ - {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, - {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, -] - -[package.dependencies] -six = ">=1.5" - [[package]] name = "python-slugify" version = "8.0.4" @@ -731,18 +779,6 @@ text-unidecode = ">=1.3" [package.extras] unidecode = ["Unidecode (>=1.1.1)"] -[[package]] -name = "pytz" -version = "2025.2" -description = "World timezone definitions, modern and historical" -optional = false -python-versions = "*" -groups = ["main"] -files = [ - {file = "pytz-2025.2-py2.py3-none-any.whl", hash = "sha256:5ddf76296dd8c44c26eb8f4b6f35488f3ccbf6fbbd7adee0b7262d43f0ec2f00"}, - {file = "pytz-2025.2.tar.gz", hash = "sha256:360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3"}, -] - [[package]] name = "requests" version = "2.32.3" @@ -793,18 +829,6 @@ files = [ {file = "ruff-0.11.11.tar.gz", hash = "sha256:7774173cc7c1980e6bf67569ebb7085989a78a103922fb83ef3dfe230cd0687d"}, ] -[[package]] -name = "six" -version = "1.17.0" -description = "Python 2 and 3 compatibility utilities" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -groups = ["main"] -files = [ - {file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"}, - {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, -] - [[package]] name = "text-unidecode" version = "1.3" @@ -819,16 +843,31 @@ files = [ [[package]] name = "typing-extensions" -version = "4.13.2" -description = "Backported and Experimental Type Hints for Python 3.8+" +version = "4.16.0" +description = "Backported and Experimental Type Hints for Python 3.9+" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" +groups = ["main"] +files = [ + {file = "typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8"}, + {file = "typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5"}, +] + +[[package]] +name = "typing-inspection" +version = "0.4.5" +description = "Runtime typing introspection tools" +optional = false +python-versions = ">=3.10" groups = ["main"] files = [ - {file = "typing_extensions-4.13.2-py3-none-any.whl", hash = "sha256:a439e7c04b49fec3e5d3e2beaa21755cadbbdc391694e28ccdd36ca4a1408f8c"}, - {file = "typing_extensions-4.13.2.tar.gz", hash = "sha256:e6c81219bd689f51865d9e372991c540bda33a0379d5573cddb9a3a23f7caaef"}, + {file = "typing_inspection-0.4.5-py3-none-any.whl", hash = "sha256:bc210535442b39e1bf2805e0c7a17dfd6a4ace760c84c7f7d16245d23a6b1c39"}, + {file = "typing_inspection-0.4.5.tar.gz", hash = "sha256:7f16c411e7930dc79596d42ab44672a3fe5f60eb34b781a1647e7872363120c7"}, ] +[package.dependencies] +typing-extensions = ">=4.15.0" + [[package]] name = "tzdata" version = "2025.2" @@ -854,27 +893,12 @@ files = [ ] [package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +brotli = ["brotli (>=1.0.9) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\""] h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] -[[package]] -name = "xdist" -version = "0.0.2" -description = "Python library of pairwise distance computation" -optional = false -python-versions = ">=3.6" -groups = ["main"] -files = [ - {file = "xdist-0.0.2.tar.gz", hash = "sha256:5cd0940d4f203b3dd3038589585defb3e3e90aee308b2ebe357e3cd9be9a655f"}, -] - -[package.dependencies] -numpy = ">=1.16.5" -pandas = "*" - [metadata] lock-version = "2.1" python-versions = ">=3.12" -content-hash = "05ddec8838df04a945878db3b30d2c54931ff40a41df68ae6cabd121dd6bb5a5" +content-hash = "67fd9264aeeac8bd102028ca64b3f00c010115218cf5623b0474265e27684e1c" diff --git a/pyproject.toml b/pyproject.toml index fa12ef6..151d731 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,8 +16,8 @@ dependencies = [ "dynaconf (>=3.2.11,<4.0.0)", "ruff (>=0.11.11,<0.12.0)", "faker (>=37.3.0,<38.0.0)", - "xdist (>=0.0.2,<0.0.3)", - "pytest-xdist (>=3.7.0,<4.0.0)" + "pytest-xdist (>=3.7.0,<4.0.0)", + "pydantic (>=2.12,<3.0)" ] diff --git a/requirements.txt b/requirements.txt index 45f2cdddbb2312bf10a695dfc2fa21b30fb8d42c..b034d8505070896db539adccf172c655146ff3a5 100644 GIT binary patch literal 159 zcmYk0%MODe6h!y_ixVzj?dER#A4GhRDs3pn^7p+Ynshm59vNSv8(wi@Hqany9_~3N zQ9TS)^Ily!Qka*_Oz3n)#k-ipz$|$SD_@$b^;PSq}XTbV5gbfNz(g&Xu`e0`{W PgI?y-KFJv+SL&M|KKd|F literal 1254 zcmZ`(%TB^j5S_J&p8|m*s0+6)OkDW^=2BXy_9ZQ`@bT(7Gxzq9NSaG&=ggTium1kT zlE_h7$t1;j!WGE^XDxHN!--@gw{jz~9K-?H0N=_?N~!Qv;9U;Ci?Yyr)%%%O1v`;W zu|zC9!gzOb2A2bWg?p+B$PwWzagimF4kw14u}vebJhVT<|8u0^9u{&e)VfFX1Xl?q z!9PTZ6p_hJH3a=j@0sCk)+@_oKZ$MZFF=&?0R>U7oysh`SG+$$+evD9!~YZtLKN1) z;+L=&K%9GiW^W8NykamoL}#R+f&DQBM3l(Dp*Nv6^j~RiHL`YK{)P@_aPSqR#rA$)GQs?upeOJ3GFs3v##3$K zahyittmjkSLObiU3N2!U8ehX-s|tIv!LhzfV{~B8`Ybs?oU^g&gU;~Gt4NR|_iD)U zQSo!sq*9*$d>i1|2kxVFg7vhW8R~iQl?$6{dO7D`@U~tI)3DM$+dLd$PyL>el{;p? zWN#3+Q*L`ZWXK+N$cLTdR_yT1o#ox8B1~Kh-8B%L)pzg3?ISmL+;mwtZ4Vi_#W#dA e9J)7rg)BFl7k+EDn7=URWU(qvyTi Date: Tue, 24 Nov 2026 04:53:11 -0800 Subject: [PATCH 2/8] style(page_objects): fix lint errors in locators Wrap long lines, sort imports, and remove an icon-font glyph (U+E023) that had been copied into the "Signup / Login" role name. Co-Authored-By: Claude Opus 5.5 --- page_objects/main.py | 8 ++++++-- page_objects/signup_login.py | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/page_objects/main.py b/page_objects/main.py index bac8603..37cb837 100644 --- a/page_objects/main.py +++ b/page_objects/main.py @@ -7,8 +7,12 @@ def __init__(self, page: Page, url: str): self.url = url # elements self.menu_items = self.page.locator(".shop-menu li") - self.bottom_copyright_text = self.page.get_by_text("Copyright © 2021 All rights") - self.signup_login_menu_item = self.page.get_by_role("link", name=" Signup / Login") + self.bottom_copyright_text = self.page.get_by_text( + "Copyright © 2021 All rights" + ) + self.signup_login_menu_item = self.page.get_by_role( + "link", name="Signup / Login" + ) def open(self): self.page.goto(f"{self.url}/", wait_until="domcontentloaded") diff --git a/page_objects/signup_login.py b/page_objects/signup_login.py index 71b24ec..e5e46d4 100644 --- a/page_objects/signup_login.py +++ b/page_objects/signup_login.py @@ -1,4 +1,5 @@ from playwright.sync_api import Page + from page_objects.signup_details import SignupDetails @@ -10,6 +11,9 @@ def __init__(self, page: Page, url: str): # elements self.signup_heading = self.page.get_by_role("heading", name="New User Signup!") self.signup_name_field = self.page.get_by_role("textbox", name="Name") - self.signup_email_field = self.page.locator("form").filter(has_text="Signup").get_by_placeholder( - "Email Address") + self.signup_email_field = ( + self.page.locator("form") + .filter(has_text="Signup") + .get_by_placeholder("Email Address") + ) self.signup_button = self.page.get_by_role("button", name="Signup") From 5e9c6472caf75d169658d93f2d326dfcfc8a26da Mon Sep 17 00:00:00 2001 From: IgStep Date: Tue, 24 Nov 2026 04:53:11 -0800 Subject: [PATCH 3/8] refactor(tests): move UI tests to tests/ui, use pytest-playwright fixtures The custom browser/context fixtures hardcoded headless mode and bypassed the plugin's context fixture, so --screenshot, --tracing and --video had no effect. `ui` is now built on the plugin's `page`; browser selection uses the built-in --browser / --browser-channel / --headed options. Add package __init__ files so same-named test modules in different folders cannot collide, and ignore the real test-results/ output path. Co-Authored-By: Claude Opus 5.5 --- .gitignore | 2 +- pyproject.toml | 2 +- tests/__init__.py | 0 tests/conftest.py | 64 +++++----------------------- tests/ui/__init__.py | 0 tests/ui/conftest.py | 12 ++++++ tests/{ => ui}/test_main_page.py | 0 tests/{ => ui}/test_products_page.py | 0 tests/{ => ui}/test_sign_up.py | 0 9 files changed, 24 insertions(+), 56 deletions(-) create mode 100644 tests/__init__.py create mode 100644 tests/ui/__init__.py create mode 100644 tests/ui/conftest.py rename tests/{ => ui}/test_main_page.py (100%) rename tests/{ => ui}/test_products_page.py (100%) rename tests/{ => ui}/test_sign_up.py (100%) diff --git a/.gitignore b/.gitignore index 4177267..e48975d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ temp .venv # Ignore dynaconf secret files .secrets.* -/tests/test-results/ +test-results/ diff --git a/pyproject.toml b/pyproject.toml index 151d731..23737c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ build-backend = "poetry.core.masonry.api" [tool.pytest.ini_options] minversion = "8.0" -addopts = "--headed --screenshot=only-on-failure --full-page-screenshot" +addopts = "--screenshot=only-on-failure --full-page-screenshot" testpaths = [ "tests", ] diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/conftest.py b/tests/conftest.py index ef74bcc..500f5a1 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,55 +1,10 @@ -from faker import Faker -from typing import Generator -from config import settings -import pytest - -from playwright.sync_api import ( - Browser, - BrowserContext, - BrowserType, - Page, - Playwright, - APIRequestContext, -) - -from page_objects.page_creator import PageCreator - - -@pytest.fixture(scope="session") -def browser_type( - playwright: Playwright, browser_name: str -) -> Generator[BrowserType, None, None]: - browser_type = None - if browser_name == "chromium": - browser_type = playwright.chromium - elif browser_name == "firefox": - browser_type = playwright.firefox - elif browser_name == "webkit": - browser_type = playwright.webkit - assert browser_type, f"Unkown browser name '{browser_name}'" - yield browser_type - - -@pytest.fixture(scope="session") -def browser(browser_type: BrowserType) -> Generator[Browser, None, None]: - browser = browser_type.launch(headless=True) - yield browser - browser.close() - - -@pytest.fixture -def context(browser: Browser) -> Generator[BrowserContext, None, None]: - context = browser.new_context() - yield context - context.close() +from collections.abc import Generator +import pytest +from faker import Faker +from playwright.sync_api import APIRequestContext, Playwright -@pytest.fixture -def ui(context: BrowserContext) -> Generator[Page, None, None]: - page = context.new_page() - url = settings.qa.base_url - yield PageCreator(page, url) - page.close() +from config import settings @pytest.fixture() @@ -58,12 +13,13 @@ def faker(): @pytest.fixture(scope="session") -def api(playwright: Playwright) -> Generator[APIRequestContext, None, None]: +def api(playwright: Playwright) -> Generator[APIRequestContext]: headers = { "Content-Type": "application/json", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " - "Chrome/137.0.0.0 Safari/537.36" - # "Authorization": f"token {API_TOKEN}", + "User-Agent": ( + "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 " + "(KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" + ), } request_context = playwright.request.new_context( base_url=f"{settings.qa.base_url}/api", extra_http_headers=headers diff --git a/tests/ui/__init__.py b/tests/ui/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/ui/conftest.py b/tests/ui/conftest.py new file mode 100644 index 0000000..a324318 --- /dev/null +++ b/tests/ui/conftest.py @@ -0,0 +1,12 @@ +import pytest +from playwright.sync_api import Page + +from config import settings +from page_objects.page_creator import PageCreator + + +@pytest.fixture +def ui(page: Page) -> PageCreator: + # Built on pytest-playwright's `page`, so --browser, --browser-channel, + # --headed, --screenshot, --tracing and --video all apply. + return PageCreator(page, settings.qa.base_url) diff --git a/tests/test_main_page.py b/tests/ui/test_main_page.py similarity index 100% rename from tests/test_main_page.py rename to tests/ui/test_main_page.py diff --git a/tests/test_products_page.py b/tests/ui/test_products_page.py similarity index 100% rename from tests/test_products_page.py rename to tests/ui/test_products_page.py diff --git a/tests/test_sign_up.py b/tests/ui/test_sign_up.py similarity index 100% rename from tests/test_sign_up.py rename to tests/ui/test_sign_up.py From e48b6e57ff6b1a82cc851c507e11487db792ed30 Mon Sep 17 00:00:00 2001 From: IgStep Date: Tue, 24 Nov 2026 04:53:11 -0800 Subject: [PATCH 4/8] test: use faker plugin fixture with a random, logged seed The plugin seeds every test with 0, which would give all tests identical data. Seed randomly per test, log it, and allow replay via FAKER_SEED. Co-Authored-By: Claude Opus 5.5 --- tests/conftest.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 500f5a1..0a2e284 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,15 +1,26 @@ +import logging +import os +import random from collections.abc import Generator import pytest -from faker import Faker from playwright.sync_api import APIRequestContext, Playwright from config import settings +logger = logging.getLogger(__name__) -@pytest.fixture() -def faker(): - return Faker() + +@pytest.fixture +def faker_seed(request: pytest.FixtureRequest) -> int: + """Random seed per test, logged so a failure can be replayed via FAKER_SEED. + + Overrides the faker plugin's default fixed seed (0), which would give every + test identical data. + """ + seed = int(os.environ.get("FAKER_SEED", random.randrange(1_000_000))) + logger.info("Faker seed for %s: %s", request.node.nodeid, seed) + return seed @pytest.fixture(scope="session") From 6a1ae081668d34fbebe930223f60c4442c3df544 Mon Sep 17 00:00:00 2001 From: IgStep Date: Tue, 24 Nov 2026 04:53:11 -0800 Subject: [PATCH 5/8] feat(api): add API client layer, contract models and assertions - BaseApiClient wraps APIRequestContext and returns an ApiResponse snapshot (status, body, timing) that is printed in assertion messages - ProductsClient / AccountsClient expose one method per endpoint - strict Pydantic response models (extra="forbid") act as contracts - assert_api_response checks HTTP status and body responseCode separately: the API returns HTTP 200 for most errors - build_user factory with UUID-based emails for parallel-safe data Co-Authored-By: Claude Opus 5.5 --- api/__init__.py | 0 api/assertions.py | 75 +++++++++++++++++++++++++++++ api/client/__init__.py | 5 ++ api/client/accounts_client.py | 33 +++++++++++++ api/client/base_client.py | 88 +++++++++++++++++++++++++++++++++++ api/client/products_client.py | 16 +++++++ api/data/__init__.py | 0 api/data/factories.py | 48 +++++++++++++++++++ api/models/__init__.py | 0 api/models/responses.py | 78 +++++++++++++++++++++++++++++++ api/models/user.py | 59 +++++++++++++++++++++++ 11 files changed, 402 insertions(+) create mode 100644 api/__init__.py create mode 100644 api/assertions.py create mode 100644 api/client/__init__.py create mode 100644 api/client/accounts_client.py create mode 100644 api/client/base_client.py create mode 100644 api/client/products_client.py create mode 100644 api/data/__init__.py create mode 100644 api/data/factories.py create mode 100644 api/models/__init__.py create mode 100644 api/models/responses.py create mode 100644 api/models/user.py diff --git a/api/__init__.py b/api/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/api/assertions.py b/api/assertions.py new file mode 100644 index 0000000..b23fd8e --- /dev/null +++ b/api/assertions.py @@ -0,0 +1,75 @@ +from typing import overload + +import pytest +from pydantic import BaseModel, ValidationError + +from api.client.base_client import ApiResponse + + +@overload +def assert_api_response( + response: ApiResponse, + *, + code: int | None = 200, + message: str | None = None, + http_status: int = 200, + model: None = None, +) -> None: ... + + +@overload +def assert_api_response[M: BaseModel]( + response: ApiResponse, + *, + code: int | None = 200, + message: str | None = None, + http_status: int = 200, + model: type[M], +) -> M: ... + + +def assert_api_response[M: BaseModel]( + response: ApiResponse, + *, + code: int | None = 200, + message: str | None = None, + http_status: int = 200, + model: type[M] | None = None, +) -> M | None: + """Single place that knows how this API reports outcomes. + + ``http_status`` is the transport status, ``code`` is the body's + ``responseCode`` (pass ``None`` for responses without one). When ``model`` + is given, the body is validated against it and the parsed model returned. + """ + __tracebackhide__ = True + + assert response.http_status == http_status, ( + f"Expected HTTP {http_status}, got {response.http_status}\n{response}" + ) + if code is not None: + assert response.response_code == code, ( + f"Expected responseCode {code}, got {response.response_code}\n{response}" + ) + if message is not None: + assert response.message == message, ( + f"Expected message {message!r}, got {response.message!r}\n{response}" + ) + if model is None: + return None + try: + return model.model_validate(response.body) + except ValidationError as error: + validation_error = error + # Failing outside the except block avoids printing the error twice. + pytest.fail( + f"Response does not match {model.__name__} contract:\n" + f"{validation_error}\n{response}" + ) + + +def assert_response_time(response: ApiResponse, max_ms: float) -> None: + __tracebackhide__ = True + assert response.elapsed_ms <= max_ms, ( + f"Response took {response.elapsed_ms:.0f} ms, SLA is {max_ms} ms\n{response}" + ) diff --git a/api/client/__init__.py b/api/client/__init__.py new file mode 100644 index 0000000..235f963 --- /dev/null +++ b/api/client/__init__.py @@ -0,0 +1,5 @@ +from api.client.accounts_client import AccountsClient +from api.client.base_client import ApiResponse, BaseApiClient +from api.client.products_client import ProductsClient + +__all__ = ["AccountsClient", "ApiResponse", "BaseApiClient", "ProductsClient"] diff --git a/api/client/accounts_client.py b/api/client/accounts_client.py new file mode 100644 index 0000000..028eb2f --- /dev/null +++ b/api/client/accounts_client.py @@ -0,0 +1,33 @@ +from api.client.base_client import ApiResponse, BaseApiClient +from api.models.user import UserData + + +class AccountsClient(BaseApiClient): + CREATE_ACCOUNT = "createAccount" + UPDATE_ACCOUNT = "updateAccount" + DELETE_ACCOUNT = "deleteAccount" + VERIFY_LOGIN = "verifyLogin" + USER_DETAIL_BY_EMAIL = "getUserDetailByEmail" + + def create_account(self, user: UserData) -> ApiResponse: + return self.request("POST", self.CREATE_ACCOUNT, form=user.to_form()) + + def update_account(self, user: UserData) -> ApiResponse: + return self.request("PUT", self.UPDATE_ACCOUNT, form=user.to_form()) + + def delete_account(self, email: str, password: str) -> ApiResponse: + return self.request( + "DELETE", + self.DELETE_ACCOUNT, + form={"email": email, "password": password}, + ) + + def verify_login(self, email: str, password: str) -> ApiResponse: + return self.request( + "POST", + self.VERIFY_LOGIN, + form={"email": email, "password": password}, + ) + + def get_user_detail_by_email(self, email: str) -> ApiResponse: + return self.request("GET", self.USER_DETAIL_BY_EMAIL, params={"email": email}) diff --git a/api/client/base_client.py b/api/client/base_client.py new file mode 100644 index 0000000..d0c4c0c --- /dev/null +++ b/api/client/base_client.py @@ -0,0 +1,88 @@ +import json +import logging +import time +from dataclasses import dataclass +from typing import Any + +from playwright.sync_api import APIRequestContext + +logger = logging.getLogger(__name__) + +_BODY_PREVIEW_CHARS = 500 + + +@dataclass(frozen=True) +class ApiResponse: + """Snapshot of an HTTP exchange, detached from the Playwright response object. + + automationexercise.com reports most outcomes as HTTP 200 and puts the real + status into the body as ``responseCode``, so both are exposed separately. + """ + + method: str + url: str + http_status: int + text: str + body: Any + elapsed_ms: float + + @property + def response_code(self) -> int | None: + return self.body.get("responseCode") if isinstance(self.body, dict) else None + + @property + def message(self) -> str | None: + return self.body.get("message") if isinstance(self.body, dict) else None + + def __str__(self) -> str: + preview = self.text[:_BODY_PREVIEW_CHARS] + if len(self.text) > _BODY_PREVIEW_CHARS: + preview += "..." + return ( + f"{self.method} {self.url} -> HTTP {self.http_status} " + f"({self.elapsed_ms:.0f} ms)\nBody: {preview}" + ) + + +class BaseApiClient: + def __init__(self, request_context: APIRequestContext): + self._request_context = request_context + + def request( + self, + method: str, + path: str, + *, + params: dict[str, str] | None = None, + form: dict[str, str] | None = None, + ) -> ApiResponse: + """Send a raw request. Public so negative tests can use any method/payload.""" + start = time.perf_counter() + response = self._request_context.fetch( + path, method=method, params=params, form=form + ) + elapsed_ms = (time.perf_counter() - start) * 1000 + + text = response.text() + try: + body = json.loads(text) + except ValueError: + body = None + + api_response = ApiResponse( + method=method, + url=response.url, + http_status=response.status, + text=text, + body=body, + elapsed_ms=elapsed_ms, + ) + logger.info( + "%s %s -> HTTP %s, responseCode=%s (%.0f ms)", + method, + response.url, + api_response.http_status, + api_response.response_code, + elapsed_ms, + ) + return api_response diff --git a/api/client/products_client.py b/api/client/products_client.py new file mode 100644 index 0000000..7398fdb --- /dev/null +++ b/api/client/products_client.py @@ -0,0 +1,16 @@ +from api.client.base_client import ApiResponse, BaseApiClient + + +class ProductsClient(BaseApiClient): + PRODUCTS_LIST = "productsList" + BRANDS_LIST = "brandsList" + SEARCH_PRODUCT = "searchProduct" + + def get_all_products(self) -> ApiResponse: + return self.request("GET", self.PRODUCTS_LIST) + + def get_all_brands(self) -> ApiResponse: + return self.request("GET", self.BRANDS_LIST) + + def search_product(self, term: str) -> ApiResponse: + return self.request("POST", self.SEARCH_PRODUCT, form={"search_product": term}) diff --git a/api/data/__init__.py b/api/data/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/api/data/factories.py b/api/data/factories.py new file mode 100644 index 0000000..6e85a82 --- /dev/null +++ b/api/data/factories.py @@ -0,0 +1,48 @@ +from typing import Any +from uuid import uuid4 + +from faker import Faker + +from api.models.user import Title, UserData + +# Values accepted by the site's signup form. +COUNTRIES = ( + "India", + "United States", + "Canada", + "Australia", + "Israel", + "New Zealand", + "Singapore", +) + + +def unique_email() -> str: + # A uuid suffix keeps emails unique across reruns and xdist workers, + # even when faker is seeded with a fixed value. + return f"aqa.{uuid4().hex[:12]}@example.com" + + +def build_user(faker: Faker, **overrides: Any) -> UserData: + birth = faker.date_of_birth(minimum_age=18, maximum_age=80) + data: dict[str, Any] = { + "name": faker.name(), + "email": unique_email(), + "password": faker.password(length=12), + "title": faker.random_element(list(Title)), + "birth_date": str(birth.day), + "birth_month": birth.strftime("%B"), + "birth_year": str(birth.year), + "firstname": faker.first_name(), + "lastname": faker.last_name(), + "company": faker.company(), + "address1": faker.street_address(), + "address2": faker.secondary_address(), + "country": faker.random_element(COUNTRIES), + "zipcode": faker.postcode(), + "state": faker.state(), + "city": faker.city(), + "mobile_number": faker.numerify("##########"), + } + data.update(overrides) + return UserData(**data) diff --git a/api/models/__init__.py b/api/models/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/api/models/responses.py b/api/models/responses.py new file mode 100644 index 0000000..fb296ce --- /dev/null +++ b/api/models/responses.py @@ -0,0 +1,78 @@ +"""Response contracts. ``extra="forbid"`` makes any undocumented field a failure.""" + +from typing import Literal + +from pydantic import BaseModel, ConfigDict, Field, PositiveInt + + +class StrictModel(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + +class ApiMessage(StrictModel): + """Envelope for every non-data response, including errors reported via the body.""" + + response_code: int = Field(alias="responseCode") + message: str = Field(min_length=1) + + +class HttpErrorDetail(StrictModel): + """Framework-level error returned with a real HTTP 4xx status.""" + + detail: str = Field(min_length=1) + + +class UserType(StrictModel): + usertype: str = Field(min_length=1) + + +class Category(StrictModel): + usertype: UserType + category: str = Field(min_length=1) + + +class Product(StrictModel): + id: PositiveInt + name: str = Field(min_length=1) + price: str = Field(pattern=r"^Rs\. \d+$") + brand: str = Field(min_length=1) + category: Category + + +class ProductsResponse(StrictModel): + response_code: Literal[200] = Field(alias="responseCode") + products: list[Product] + + +class Brand(StrictModel): + id: PositiveInt + brand: str = Field(min_length=1) + + +class BrandsResponse(StrictModel): + response_code: Literal[200] = Field(alias="responseCode") + brands: list[Brand] + + +class UserDetail(StrictModel): + id: PositiveInt + name: str + email: str + title: str + birth_day: str + birth_month: str + birth_year: str + first_name: str + last_name: str + company: str + address1: str + address2: str + country: str + state: str + city: str + zipcode: str + + +class UserDetailResponse(StrictModel): + response_code: Literal[200] = Field(alias="responseCode") + user: UserDetail diff --git a/api/models/user.py b/api/models/user.py new file mode 100644 index 0000000..3120147 --- /dev/null +++ b/api/models/user.py @@ -0,0 +1,59 @@ +from enum import StrEnum + +from pydantic import BaseModel, ConfigDict + + +class Title(StrEnum): + MR = "Mr" + MRS = "Mrs" + + +class UserData(BaseModel): + """Request payload for createAccount / updateAccount (form-encoded).""" + + model_config = ConfigDict(frozen=True) + + name: str + email: str + password: str + title: Title + birth_date: str + birth_month: str + birth_year: str + firstname: str + lastname: str + company: str + address1: str + address2: str + country: str + zipcode: str + state: str + city: str + mobile_number: str + + def to_form(self) -> dict[str, str]: + return self.model_dump(mode="json") + + def expected_user_detail(self) -> dict[str, str]: + """Fields as getUserDetailByEmail returns them. + + The API renames some fields on the way out and never returns + ``password`` or ``mobile_number``. + """ + return { + "name": self.name, + "email": self.email, + "title": self.title.value, + "birth_day": self.birth_date, + "birth_month": self.birth_month, + "birth_year": self.birth_year, + "first_name": self.firstname, + "last_name": self.lastname, + "company": self.company, + "address1": self.address1, + "address2": self.address2, + "country": self.country, + "state": self.state, + "city": self.city, + "zipcode": self.zipcode, + } From ebcc32834c67d6237b5c261a81ebb092f763ca0f Mon Sep 17 00:00:00 2001 From: IgStep Date: Tue, 24 Nov 2026 04:53:12 -0800 Subject: [PATCH 6/8] test(api): add API test suite covering all endpoints 92 tests: catalog and search behaviour, account lifecycle, login, required/optional fields, every unsupported method per endpoint, and strict contract checks. Accounts are created and cleaned up via fixtures; tests run in parallel with -n auto. Replaces tests/test_api.py, whose base URL ("/api" + "/productsList") resolved to the site root, so the product list test passed against the homepage without ever calling the API. Add api/ui/contract/negative/regression markers; api and ui are applied automatically by folder. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 5 + settings.toml | 1 + tests/api/__init__.py | 0 tests/api/test_account_lifecycle.py | 183 ++++++++++++++++++++++++++ tests/api/test_brands.py | 24 ++++ tests/api/test_contract.py | 54 ++++++++ tests/api/test_products.py | 48 +++++++ tests/api/test_search_product.py | 67 ++++++++++ tests/api/test_unsupported_methods.py | 68 ++++++++++ tests/api/test_verify_login.py | 58 ++++++++ tests/conftest.py | 76 +++++++++-- tests/test_api.py | 11 -- 12 files changed, 574 insertions(+), 21 deletions(-) create mode 100644 tests/api/__init__.py create mode 100644 tests/api/test_account_lifecycle.py create mode 100644 tests/api/test_brands.py create mode 100644 tests/api/test_contract.py create mode 100644 tests/api/test_products.py create mode 100644 tests/api/test_search_product.py create mode 100644 tests/api/test_unsupported_methods.py create mode 100644 tests/api/test_verify_login.py delete mode 100644 tests/test_api.py diff --git a/pyproject.toml b/pyproject.toml index 23737c8..4551156 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,11 @@ pythonpath = [ ] markers = [ "smoke: marker for smoke tests", + "regression: full regression suite", + "api: API tests (no browser required)", + "ui: browser-based UI tests", + "contract: strict response schema (contract) tests", + "negative: negative / error-handling tests", "single: marker for tests cannot be executed in parallel", "mobile: marker for mobile tests only", "quality_gate: marker for tests that should be executed on quality gate", diff --git a/settings.toml b/settings.toml index 8ff4114..da48175 100644 --- a/settings.toml +++ b/settings.toml @@ -2,6 +2,7 @@ [qa] base_url = "https://automationexercise.com" +api_sla_ms = 3000 [uat] diff --git a/tests/api/__init__.py b/tests/api/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/api/test_account_lifecycle.py b/tests/api/test_account_lifecycle.py new file mode 100644 index 0000000..872788c --- /dev/null +++ b/tests/api/test_account_lifecycle.py @@ -0,0 +1,183 @@ +import pytest + +from api.assertions import assert_api_response +from api.client import AccountsClient +from api.data.factories import unique_email +from api.models.responses import UserDetailResponse + +REQUIRED_FIELDS = [ + "name", + "email", + "password", + "firstname", + "lastname", + "address1", + "country", + "zipcode", + "state", + "city", + "mobile_number", +] +OPTIONAL_FIELDS = [ + "title", + "birth_date", + "birth_month", + "birth_year", + "company", + "address2", +] +ACCOUNT_NOT_FOUND = "Account not found!" + + +def _get_user_detail(accounts_client: AccountsClient, email: str): + return assert_api_response( + accounts_client.get_user_detail_by_email(email), model=UserDetailResponse + ).user + + +@pytest.mark.smoke +def test_create_account(accounts_client, new_user, cleanup_user): + cleanup_user(new_user) + + response = accounts_client.create_account(new_user) + + assert_api_response(response, code=201, message="User created!") + detail = _get_user_detail(accounts_client, new_user.email) + expected = new_user.expected_user_detail() + assert detail.model_dump(include=set(expected)) == expected + + +def test_update_account(accounts_client, registered_user, faker): + updated_user = registered_user.model_copy( + update={ + "firstname": faker.first_name(), + "lastname": faker.last_name(), + "city": faker.city(), + "company": faker.company(), + } + ) + + response = accounts_client.update_account(updated_user) + + assert_api_response(response, code=200, message="User updated!") + detail = _get_user_detail(accounts_client, registered_user.email) + expected = updated_user.expected_user_detail() + assert detail.model_dump(include=set(expected)) == expected + + +def test_delete_account(accounts_client, registered_user): + response = accounts_client.delete_account( + registered_user.email, registered_user.password + ) + + assert_api_response(response, code=200, message="Account deleted!") + assert_api_response( + accounts_client.verify_login(registered_user.email, registered_user.password), + code=404, + ) + assert_api_response( + accounts_client.get_user_detail_by_email(registered_user.email), + code=404, + message="Account not found with this email, try another email!", + ) + + +@pytest.mark.parametrize("field", OPTIONAL_FIELDS) +def test_create_account_without_optional_field( + accounts_client, new_user, cleanup_user, field +): + cleanup_user(new_user) + form = new_user.to_form() + del form[field] + + response = accounts_client.request("POST", AccountsClient.CREATE_ACCOUNT, form=form) + + assert_api_response(response, code=201) + + +@pytest.mark.negative +@pytest.mark.parametrize("field", REQUIRED_FIELDS) +def test_create_account_without_required_field( + accounts_client, new_user, cleanup_user, field +): + cleanup_user(new_user) # in case the API wrongly accepts the request + form = new_user.to_form() + del form[field] + + response = accounts_client.request("POST", AccountsClient.CREATE_ACCOUNT, form=form) + + assert_api_response( + response, + code=400, + message=f"Bad request, {field} parameter is missing in POST request.", + ) + + +@pytest.mark.negative +def test_create_account_with_existing_email(accounts_client, registered_user, faker): + duplicate = registered_user.model_copy(update={"name": faker.name()}) + + response = accounts_client.create_account(duplicate) + + assert_api_response(response, code=400, message="Email already exists!") + + +@pytest.mark.negative +def test_update_account_with_wrong_password(accounts_client, registered_user, faker): + original_city = registered_user.city + tampered = registered_user.model_copy( + update={"password": "wrong-password", "city": faker.city()} + ) + + response = accounts_client.update_account(tampered) + + assert_api_response(response, code=404, message=ACCOUNT_NOT_FOUND) + detail = _get_user_detail(accounts_client, registered_user.email) + assert detail.city == original_city, "Account was modified without valid password" + + +@pytest.mark.negative +def test_delete_account_with_wrong_password(accounts_client, registered_user): + response = accounts_client.delete_account(registered_user.email, "wrong-password") + + assert_api_response(response, code=404, message=ACCOUNT_NOT_FOUND) + assert_api_response( + accounts_client.verify_login(registered_user.email, registered_user.password), + code=200, + message="User exists!", + ) + + +@pytest.mark.negative +def test_delete_account_without_password(accounts_client, registered_user): + response = accounts_client.request( + "DELETE", AccountsClient.DELETE_ACCOUNT, form={"email": registered_user.email} + ) + + assert_api_response( + response, + code=400, + message="Bad request, password parameter is missing in DELETE request.", + ) + + +@pytest.mark.negative +def test_get_user_detail_for_unknown_email(accounts_client): + response = accounts_client.get_user_detail_by_email(unique_email()) + + assert_api_response( + response, + code=404, + message="Account not found with this email, try another email!", + ) + + +@pytest.mark.negative +def test_get_user_detail_without_email(accounts_client): + response = accounts_client.request("GET", AccountsClient.USER_DETAIL_BY_EMAIL) + + assert_api_response( + response, + code=400, + message="Bad request, email parameter is missing in GET request.", + ) diff --git a/tests/api/test_brands.py b/tests/api/test_brands.py new file mode 100644 index 0000000..7829c77 --- /dev/null +++ b/tests/api/test_brands.py @@ -0,0 +1,24 @@ +import pytest + +from api.assertions import assert_api_response, assert_response_time +from api.models.responses import BrandsResponse +from config import settings + + +@pytest.mark.smoke +def test_get_all_brands_returns_brands(products_client): + response = products_client.get_all_brands() + + body = assert_api_response(response, model=BrandsResponse) + assert body.brands, "Brands list is empty" + assert_response_time(response, settings.qa.api_sla_ms) + + +def test_brand_ids_are_unique(products_client): + brands = assert_api_response( + products_client.get_all_brands(), model=BrandsResponse + ).brands + + ids = [brand.id for brand in brands] + duplicates = sorted({i for i in ids if ids.count(i) > 1}) + assert not duplicates, f"Duplicate brand ids: {duplicates}" diff --git a/tests/api/test_contract.py b/tests/api/test_contract.py new file mode 100644 index 0000000..4b01f16 --- /dev/null +++ b/tests/api/test_contract.py @@ -0,0 +1,54 @@ +"""Contract tests: every endpoint's payload against its strict schema. + +Models forbid unknown fields, so any added, removed or retyped field fails +here. Run alone as a fast gate with ``pytest -m contract``. +""" + +import pytest + +from api.assertions import assert_api_response +from api.client import AccountsClient, ProductsClient +from api.models.responses import ( + ApiMessage, + BrandsResponse, + ProductsResponse, + UserDetailResponse, +) + +pytestmark = pytest.mark.contract + + +def test_products_list_contract(products_client): + assert_api_response(products_client.get_all_products(), model=ProductsResponse) + + +def test_brands_list_contract(products_client): + assert_api_response(products_client.get_all_brands(), model=BrandsResponse) + + +def test_search_product_contract(products_client): + assert_api_response(products_client.search_product("top"), model=ProductsResponse) + + +def test_user_detail_contract(accounts_client, registered_user): + assert_api_response( + accounts_client.get_user_detail_by_email(registered_user.email), + model=UserDetailResponse, + ) + + +@pytest.mark.parametrize( + ("method", "endpoint", "code"), + [ + ("POST", ProductsClient.SEARCH_PRODUCT, 400), + ("POST", AccountsClient.VERIFY_LOGIN, 400), + ("GET", AccountsClient.USER_DETAIL_BY_EMAIL, 400), + ("POST", AccountsClient.CREATE_ACCOUNT, 400), + ("DELETE", AccountsClient.DELETE_ACCOUNT, 400), + ("POST", ProductsClient.PRODUCTS_LIST, 405), + ], +) +def test_error_envelope_contract(products_client, method, endpoint, code): + assert_api_response( + products_client.request(method, endpoint), code=code, model=ApiMessage + ) diff --git a/tests/api/test_products.py b/tests/api/test_products.py new file mode 100644 index 0000000..61dbb77 --- /dev/null +++ b/tests/api/test_products.py @@ -0,0 +1,48 @@ +import pytest + +from api.assertions import assert_api_response, assert_response_time +from api.models.responses import BrandsResponse, ProductsResponse +from config import settings + +KNOWN_USER_TYPES = {"Women", "Men", "Kids"} + + +@pytest.mark.smoke +def test_get_all_products_returns_catalog(products_client): + response = products_client.get_all_products() + + body = assert_api_response(response, model=ProductsResponse) + assert body.products, "Product catalog is empty" + assert_response_time(response, settings.qa.api_sla_ms) + + +def test_product_ids_are_unique(products_client): + products = assert_api_response( + products_client.get_all_products(), model=ProductsResponse + ).products + + ids = [product.id for product in products] + duplicates = sorted({i for i in ids if ids.count(i) > 1}) + assert not duplicates, f"Duplicate product ids: {duplicates}" + + +def test_products_belong_to_known_user_types(products_client): + products = assert_api_response( + products_client.get_all_products(), model=ProductsResponse + ).products + + unknown = {p.category.usertype.usertype for p in products} - KNOWN_USER_TYPES + assert not unknown, f"Unexpected user types: {unknown}" + + +def test_every_product_brand_is_listed_in_brands(products_client): + """Referential integrity between productsList and brandsList.""" + products = assert_api_response( + products_client.get_all_products(), model=ProductsResponse + ).products + brands = assert_api_response( + products_client.get_all_brands(), model=BrandsResponse + ).brands + + unlisted = {p.brand for p in products} - {b.brand for b in brands} + assert not unlisted, f"Product brands missing from brandsList: {unlisted}" diff --git a/tests/api/test_search_product.py b/tests/api/test_search_product.py new file mode 100644 index 0000000..9af26b0 --- /dev/null +++ b/tests/api/test_search_product.py @@ -0,0 +1,67 @@ +import pytest + +from api.assertions import assert_api_response +from api.client import ProductsClient +from api.models.responses import ProductsResponse + + +def _search(products_client: ProductsClient, term: str): + return assert_api_response( + products_client.search_product(term), model=ProductsResponse + ).products + + +@pytest.mark.smoke +@pytest.mark.parametrize("term", ["top", "tshirt", "jean", "dress", "saree"]) +def test_search_returns_only_matching_products(products_client, term): + products = _search(products_client, term) + + assert products, f"No products found for {term!r}" + # The API matches against both the product name and its category. + mismatched = [ + p.name + for p in products + if term not in p.name.lower() and term not in p.category.category.lower() + ] + assert not mismatched, f"Products not matching {term!r}: {mismatched}" + + +def test_search_results_are_subset_of_catalog(products_client): + catalog = assert_api_response( + products_client.get_all_products(), model=ProductsResponse + ).products + + found = _search(products_client, "top") + + assert set(found) <= set(catalog), "Search returned products missing from catalog" + + +def test_search_is_case_insensitive(products_client): + lower = _search(products_client, "top") + upper = _search(products_client, "TOP") + + assert [p.id for p in lower] == [p.id for p in upper] + + +def test_search_without_matches_returns_empty_list(products_client): + assert _search(products_client, "no-such-product-xyz") == [] + + +@pytest.mark.parametrize("term", ["", " "], ids=["empty", "whitespace"]) +def test_blank_search_returns_whole_catalog(products_client, term): + catalog = assert_api_response( + products_client.get_all_products(), model=ProductsResponse + ).products + + assert _search(products_client, term) == catalog + + +@pytest.mark.negative +def test_search_without_parameter_is_rejected(products_client): + response = products_client.request("POST", ProductsClient.SEARCH_PRODUCT) + + assert_api_response( + response, + code=400, + message="Bad request, search_product parameter is missing in POST request.", + ) diff --git a/tests/api/test_unsupported_methods.py b/tests/api/test_unsupported_methods.py new file mode 100644 index 0000000..ed823b1 --- /dev/null +++ b/tests/api/test_unsupported_methods.py @@ -0,0 +1,68 @@ +"""Unsupported HTTP methods. + +The API rejects them in two different ways, and both are pinned here: +- catalog/lookup endpoints answer HTTP 200 with ``responseCode: 405`` in the body; +- account mutation endpoints (and PATCH anywhere) answer a real HTTP 405 + with a framework-style ``{"detail": ...}`` body. +""" + +import pytest + +from api.assertions import assert_api_response +from api.client import AccountsClient, ProductsClient +from api.models.responses import ApiMessage, HttpErrorDetail + +pytestmark = pytest.mark.negative + +SUPPORTED_METHODS = { + ProductsClient.PRODUCTS_LIST: "GET", + ProductsClient.BRANDS_LIST: "GET", + ProductsClient.SEARCH_PRODUCT: "POST", + AccountsClient.VERIFY_LOGIN: "POST", + AccountsClient.USER_DETAIL_BY_EMAIL: "GET", + AccountsClient.CREATE_ACCOUNT: "POST", + AccountsClient.UPDATE_ACCOUNT: "PUT", + AccountsClient.DELETE_ACCOUNT: "DELETE", +} +BODY_REPORTED_ENDPOINTS = { + ProductsClient.PRODUCTS_LIST, + ProductsClient.BRANDS_LIST, + ProductsClient.SEARCH_PRODUCT, + AccountsClient.VERIFY_LOGIN, + AccountsClient.USER_DETAIL_BY_EMAIL, +} +METHODS = ("GET", "POST", "PUT", "DELETE", "PATCH") + + +def _unsupported(reported_in_body: bool) -> list: + cases = [] + for endpoint, supported in SUPPORTED_METHODS.items(): + for method in METHODS: + if method == supported: + continue + in_body = endpoint in BODY_REPORTED_ENDPOINTS and method != "PATCH" + if in_body == reported_in_body: + cases.append(pytest.param(method, endpoint, id=f"{method} {endpoint}")) + return cases + + +@pytest.mark.parametrize(("method", "endpoint"), _unsupported(reported_in_body=True)) +def test_unsupported_method_reported_in_body(products_client, method, endpoint): + response = products_client.request(method, endpoint) + + assert_api_response( + response, + code=405, + message="This request method is not supported.", + model=ApiMessage, + ) + + +@pytest.mark.parametrize(("method", "endpoint"), _unsupported(reported_in_body=False)) +def test_unsupported_method_rejected_with_http_405(products_client, method, endpoint): + response = products_client.request(method, endpoint) + + error = assert_api_response( + response, http_status=405, code=None, model=HttpErrorDetail + ) + assert error.detail == f'Method "{method}" not allowed.' diff --git a/tests/api/test_verify_login.py b/tests/api/test_verify_login.py new file mode 100644 index 0000000..02c8463 --- /dev/null +++ b/tests/api/test_verify_login.py @@ -0,0 +1,58 @@ +import pytest + +from api.assertions import assert_api_response +from api.client import AccountsClient +from api.data.factories import unique_email + +USER_NOT_FOUND = "User not found!" +MISSING_CREDENTIALS = ( + "Bad request, email or password parameter is missing in POST request." +) + + +@pytest.mark.smoke +def test_verify_login_with_valid_credentials(accounts_client, registered_user): + response = accounts_client.verify_login( + registered_user.email, registered_user.password + ) + + assert_api_response(response, code=200, message="User exists!") + + +@pytest.mark.negative +def test_verify_login_with_wrong_password(accounts_client, registered_user): + response = accounts_client.verify_login(registered_user.email, "wrong-password") + + assert_api_response(response, code=404, message=USER_NOT_FOUND) + + +@pytest.mark.negative +def test_verify_login_with_unknown_email(accounts_client): + response = accounts_client.verify_login(unique_email(), "any-password") + + assert_api_response(response, code=404, message=USER_NOT_FOUND) + + +@pytest.mark.negative +def test_verify_login_email_is_case_sensitive(accounts_client, registered_user): + response = accounts_client.verify_login( + registered_user.email.upper(), registered_user.password + ) + + assert_api_response(response, code=404, message=USER_NOT_FOUND) + + +@pytest.mark.negative +@pytest.mark.parametrize( + "form", + [ + {"password": "any-password"}, + {"email": "user@example.com"}, + {}, + ], + ids=["missing-email", "missing-password", "empty-body"], +) +def test_verify_login_without_required_parameters(accounts_client, form): + response = accounts_client.request("POST", AccountsClient.VERIFY_LOGIN, form=form) + + assert_api_response(response, code=400, message=MISSING_CREDENTIALS) diff --git a/tests/conftest.py b/tests/conftest.py index 0a2e284..1d382fd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,15 +1,29 @@ import logging import os import random -from collections.abc import Generator +from collections.abc import Callable, Generator import pytest +from faker import Faker from playwright.sync_api import APIRequestContext, Playwright +from api.client import AccountsClient, ProductsClient +from api.data.factories import build_user +from api.models.user import UserData from config import settings logger = logging.getLogger(__name__) +TEST_LAYERS = ("api", "ui") + + +def pytest_collection_modifyitems(items: list[pytest.Item]) -> None: + # Tests are marked by folder (tests/api -> api, tests/ui -> ui). + for item in items: + layer = item.path.parent.name + if layer in TEST_LAYERS: + item.add_marker(layer) + @pytest.fixture def faker_seed(request: pytest.FixtureRequest) -> int: @@ -24,16 +38,58 @@ def faker_seed(request: pytest.FixtureRequest) -> int: @pytest.fixture(scope="session") -def api(playwright: Playwright) -> Generator[APIRequestContext]: - headers = { - "Content-Type": "application/json", - "User-Agent": ( - "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 " - "(KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" - ), - } +def api_context(playwright: Playwright) -> Generator[APIRequestContext]: + # The trailing slash matters: with "/api", a path like "/productsList" + # resolves against the site root instead of the API. request_context = playwright.request.new_context( - base_url=f"{settings.qa.base_url}/api", extra_http_headers=headers + base_url=f"{settings.qa.base_url}/api/" ) yield request_context request_context.dispose() + + +@pytest.fixture(scope="session") +def products_client(api_context: APIRequestContext) -> ProductsClient: + return ProductsClient(api_context) + + +@pytest.fixture(scope="session") +def accounts_client(api_context: APIRequestContext) -> AccountsClient: + return AccountsClient(api_context) + + +@pytest.fixture +def new_user(faker: Faker) -> UserData: + """User data that is not registered yet.""" + return build_user(faker) + + +@pytest.fixture +def cleanup_user( + accounts_client: AccountsClient, +) -> Generator[Callable[[UserData], None]]: + """Register users for deletion after the test, whether it passes or fails. + + Use it for accounts created by the test itself (via API or UI). + """ + users: list[UserData] = [] + yield users.append + + for user in users: + response = accounts_client.delete_account(user.email, user.password) + # 404 means the test already deleted the account (or never created it). + if response.response_code not in (200, 404): + logger.warning("Failed to delete test user %s: %s", user.email, response) + + +@pytest.fixture +def registered_user( + accounts_client: AccountsClient, + new_user: UserData, + cleanup_user: Callable[[UserData], None], +) -> UserData: + """User created via API as a precondition; deleted after the test.""" + response = accounts_client.create_account(new_user) + assert response.response_code == 201, f"Precondition failed: {response}" + cleanup_user(new_user) + return new_user diff --git a/tests/test_api.py b/tests/test_api.py deleted file mode 100644 index 569d012..0000000 --- a/tests/test_api.py +++ /dev/null @@ -1,11 +0,0 @@ -def test_get_product_list(api): - response = api.get("/productsList") - assert response.ok - assert response.status == 200 - - -def test_all_brands_list(api): - response = api.get("/brandsList") - assert response.ok - assert response.status == 200 - assert len(response.json()["brands"]) > 0 From b0887a3dfec4a07ac08c09ba3b005df3dbdf03aa Mon Sep 17 00:00:00 2001 From: IgStep Date: Tue, 24 Nov 2026 04:53:12 -0800 Subject: [PATCH 7/8] test(ui): add hybrid API+UI tests - log in through the UI with a user created via API - sign-up test verifies the new account via API and deletes it afterwards (it previously left an account behind on every run) Co-Authored-By: Claude Opus 5.5 --- page_objects/main.py | 5 +++- page_objects/signup_login.py | 14 +++++++++++ tests/ui/test_login_with_api_user.py | 22 +++++++++++++++++ tests/ui/test_sign_up.py | 37 +++++++++++++++++----------- 4 files changed, 63 insertions(+), 15 deletions(-) create mode 100644 tests/ui/test_login_with_api_user.py diff --git a/page_objects/main.py b/page_objects/main.py index 37cb837..1fd0832 100644 --- a/page_objects/main.py +++ b/page_objects/main.py @@ -1,4 +1,4 @@ -from playwright.sync_api import Page +from playwright.sync_api import Locator, Page class MainPage: @@ -14,5 +14,8 @@ def __init__(self, page: Page, url: str): "link", name="Signup / Login" ) + def logged_in_as(self, name: str) -> Locator: + return self.page.get_by_text(f"Logged in as {name}") + def open(self): self.page.goto(f"{self.url}/", wait_until="domcontentloaded") diff --git a/page_objects/signup_login.py b/page_objects/signup_login.py index e5e46d4..e52df00 100644 --- a/page_objects/signup_login.py +++ b/page_objects/signup_login.py @@ -17,3 +17,17 @@ def __init__(self, page: Page, url: str): .get_by_placeholder("Email Address") ) self.signup_button = self.page.get_by_role("button", name="Signup") + self.login_email_field = self.page.locator("[data-qa='login-email']") + self.login_password_field = self.page.locator("[data-qa='login-password']") + self.login_button = self.page.locator("[data-qa='login-button']") + self.login_error_text = self.page.get_by_text( + "Your email or password is incorrect!" + ) + + def open(self): + self.page.goto(f"{self.url}/login", wait_until="domcontentloaded") + + def login(self, email: str, password: str): + self.login_email_field.fill(email) + self.login_password_field.fill(password) + self.login_button.click() diff --git a/tests/ui/test_login_with_api_user.py b/tests/ui/test_login_with_api_user.py new file mode 100644 index 0000000..4509d54 --- /dev/null +++ b/tests/ui/test_login_with_api_user.py @@ -0,0 +1,22 @@ +import pytest +from playwright.sync_api import expect + + +@pytest.mark.smoke +def test_login_with_user_created_via_api(ui, registered_user): + """Precondition set up via API, so the test only exercises the login UI.""" + login_page = ui.signup_login_page() + login_page.open() + + login_page.login(registered_user.email, registered_user.password) + + expect(ui.main_page().logged_in_as(registered_user.name)).to_be_visible() + + +def test_login_with_wrong_password_is_rejected(ui, registered_user): + login_page = ui.signup_login_page() + login_page.open() + + login_page.login(registered_user.email, "wrong-password") + + expect(login_page.login_error_text).to_be_visible() diff --git a/tests/ui/test_sign_up.py b/tests/ui/test_sign_up.py index 73eb4bc..d43e78b 100644 --- a/tests/ui/test_sign_up.py +++ b/tests/ui/test_sign_up.py @@ -1,31 +1,40 @@ from playwright.sync_api import expect +from api.assertions import assert_api_response + + +def test_sign_up(ui, new_user, accounts_client, cleanup_user): + """Account is created through the UI, then verified and removed via API.""" + cleanup_user(new_user) -def test_sign_up(ui, faker): main_page = ui.main_page() main_page.open() main_page.signup_login_menu_item.click() signup_page = ui.signup_login_page() expect(signup_page.signup_heading).to_be_visible() - signup_page.signup_name_field.fill(faker.user_name()) - signup_page.signup_email_field.fill(faker.email()) + signup_page.signup_name_field.fill(new_user.name) + signup_page.signup_email_field.fill(new_user.email) signup_page.signup_button.click() signup_details = signup_page.signup_details expect(signup_details.details_title_text).to_be_visible() signup_details.sex_type_radiobutton.click() - signup_details.first_name_field.fill(faker.first_name()) - signup_details.last_name_field.fill(faker.last_name()) - signup_details.password_field.fill(faker.password()) - signup_details.company_field.fill(faker.company()) - signup_details.address_field.fill( - f"{faker.street_address()}, {faker.city()}, {faker.company()}" - ) - signup_details.state_field.fill(faker.state()) - signup_details.city_field.fill(faker.city()) - signup_details.zipcode_field.fill(faker.zipcode()) - signup_details.mobile_number_field.fill(faker.phone_number()) + signup_details.first_name_field.fill(new_user.firstname) + signup_details.last_name_field.fill(new_user.lastname) + signup_details.password_field.fill(new_user.password) + signup_details.company_field.fill(new_user.company) + signup_details.address_field.fill(new_user.address1) + signup_details.state_field.fill(new_user.state) + signup_details.city_field.fill(new_user.city) + signup_details.zipcode_field.fill(new_user.zipcode) + signup_details.mobile_number_field.fill(new_user.mobile_number) signup_details.create_account_button.click() expect(signup_details.account_created_text).to_be_visible() + + assert_api_response( + accounts_client.verify_login(new_user.email, new_user.password), + code=200, + message="User exists!", + ) From e9c5d1364db91547e9a296d2765a4f245ae7752b Mon Sep 17 00:00:00 2001 From: IgStep Date: Tue, 24 Nov 2026 04:53:12 -0800 Subject: [PATCH 8/8] docs: document API testing approach and new test layout Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 45 +++++++++++++++------- README.md | 111 +++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 133 insertions(+), 23 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index bc1c065..921c345 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -21,22 +21,26 @@ poetry run playwright install --with-deps ### Run tests ```bash -# All tests (headed, screenshots on failure) +# All tests (headless, screenshots on failure) pytest tests -# Single test file -pytest tests/test_api.py +# API only (no browser) / UI only +pytest tests/api -n auto +pytest tests/ui # Single test by name -pytest tests/test_api.py::test_get_product_list +pytest tests/api/test_verify_login.py::test_verify_login_with_valid_credentials # By marker pytest -m smoke -pytest -m "not single" +pytest -m "api and negative" # Parallel execution (skip tests marked `single`) pytest -n auto -m "not single" +# Browser selection: pytest-playwright's built-in options +pytest tests/ui --headed --browser firefox +pytest tests/ui --browser-channel chrome ``` ### Linting @@ -58,17 +62,32 @@ Use comments sparingly — only for complex or non-obvious logic. - `page_objects/page_creator.py` — **PageCreator** is a facade injected into tests via the `ui` fixture. Tests call `ui.main_page()`, `ui.products_page()`, etc. rather than instantiating page objects directly. - Each page class (e.g., `page_objects/main.py`) exposes selectors as properties (Playwright locators) and navigation methods like `open()`. -### Fixtures (`tests/conftest.py`) -| Fixture | Scope | Purpose | -|---------|-------|---------| -| `browser` | session | Headless browser instance | -| `context` | function | Isolated browser context per test | -| `ui` | function | `PageCreator` instance for UI tests | -| `api` | session | Playwright `APIRequestContext` pointed at `/api` | -| `faker` | function | Faker instance for test data | +### API layer (`api/`) +- `api/client/` — `BaseApiClient.request()` wraps `APIRequestContext.fetch` and returns an `ApiResponse` snapshot. `ProductsClient` / `AccountsClient` expose one method per endpoint; tests never build paths or form payloads themselves. +- `api/models/responses.py` — Pydantic response contracts (`extra="forbid"`). `api/models/user.py` — `UserData` request payload; `expected_user_detail()` maps request field names to the names the API returns. +- `api/assertions.py` — `assert_api_response(resp, code=, message=, http_status=, model=)`. The API returns HTTP 200 for most errors with the real status in the body `responseCode`; always assert through this helper, not `response.ok`. +- `api/data/factories.py` — `build_user(faker, **overrides)`; emails are UUID-based for parallel safety. +- The `api_context` base URL must end with `/api/` and client paths must be relative (no leading slash). Otherwise Playwright resolves them against the site root. + +### Fixtures +| Fixture | Scope | Where | Purpose | +|---------|-------|-------|---------| +| `api_context` | session | `tests/conftest.py` | Playwright `APIRequestContext` pointed at `/api/` | +| `products_client`, `accounts_client` | session | `tests/conftest.py` | API clients | +| `new_user` | function | `tests/conftest.py` | Unregistered `UserData` | +| `registered_user` | function | `tests/conftest.py` | User created via API, deleted after the test | +| `cleanup_user` | function | `tests/conftest.py` | Callable; registers a user for deletion after the test | +| `faker_seed` | function | `tests/conftest.py` | Random, logged seed for the faker plugin's `faker` (override with `FAKER_SEED`) | +| `ui` | function | `tests/ui/conftest.py` | `PageCreator` built on pytest-playwright's `page` | + +Browser, context and page come from pytest-playwright. Don't redefine them, or `--screenshot`/`--tracing`/`--video` stop working. ### Test Markers +- `api` / `ui` — applied automatically from the test folder - `smoke` — smoke tests +- `regression` — full regression suite +- `contract` — strict schema checks +- `negative` — negative / error-handling tests - `single` — must not run in parallel - `mobile` — mobile-only tests - `quality_gate` — quality gate tests diff --git a/README.md b/README.md index e835930..2751b41 100644 --- a/README.md +++ b/README.md @@ -158,35 +158,119 @@ poetry run pytest -m smoke ## Running Tests ```bash -# All tests (headed browser, screenshots on failure by default) +# All tests (headless, screenshots on failure) pytest tests -# Single file -pytest tests/test_api.py +# API tests only: no browser needed, ~20 s in parallel +pytest tests/api -n auto -# Single test by name -pytest tests/test_api.py::test_get_product_list +# UI tests only +pytest tests/ui + +# Single file / single test +pytest tests/api/test_search_product.py +pytest tests/api/test_verify_login.py::test_verify_login_with_valid_credentials # By marker pytest -m smoke -pytest -m quality_gate +pytest -m "api and smoke" +pytest -m contract # Parallel execution (skip tests marked `single`) pytest -n auto -m "not single" +# Browser selection (pytest-playwright options) +pytest tests/ui --headed +pytest tests/ui --browser chromium --browser firefox +pytest tests/ui --browser-channel chrome # or msedge + +# Debug artifacts on failure +pytest tests/ui --tracing retain-on-failure --video retain-on-failure + +# Replay a run with the same generated test data (seed is logged per test) +FAKER_SEED=123456 pytest tests/api/test_account_lifecycle.py ``` +Screenshots, traces and videos are written to `test-results/`. + ### Test Markers +`api` and `ui` are applied automatically based on the test folder. + | Marker | Description | |--------|-------------| -| `smoke` | Smoke tests | +| `smoke` | Smoke tests: one happy path per feature | +| `regression` | Full regression suite | +| `api` | API tests (no browser required) | +| `ui` | Browser-based UI tests | +| `contract` | Strict response schema checks | +| `negative` | Negative / error-handling tests | | `single` | Must not run in parallel | | `mobile` | Mobile-only tests | | `quality_gate` | Quality gate tests | --- +## API Testing Approach + +API tests use Playwright's `APIRequestContext`, the same tool as the UI tests. That means one dependency, one config, and API calls can set up UI tests directly. + +### Layers + +``` +tests/api/*.py what is tested: one behaviour per test, no HTTP details + │ +api/assertions.py how the API reports outcomes (HTTP status + body responseCode) + │ +api/models/ Pydantic contracts for responses + request payload models +api/data/factories.py test data builders (Faker) + │ +api/client/ one method per endpoint, plus raw request() for negative tests + │ +APIRequestContext Playwright transport (session-scoped fixture) +``` + +- **Clients** (`ProductsClient`, `AccountsClient`) hide paths, methods and form encoding. `request()` stays public so negative tests can send any method or payload. +- **`ApiResponse`** is a snapshot of the exchange (method, URL, status, body, timing). Its string form is included in every assertion message, so a failure shows the full request and response without re-running the test. +- **Models** forbid unknown fields, so schema drift fails loudly. `assert_api_response(..., model=X)` validates the body and returns a typed object, which the tests then work with instead of raw dicts. + +### Design decision: the status code is in the body + +automationexercise.com answers **HTTP 200 for almost everything** and puts the real outcome in the body: + +```json +{"responseCode": 405, "message": "This request method is not supported."} +``` + +A check like `response.ok` therefore proves nothing. `assert_api_response` checks the transport status and the body `responseCode` separately, and it's the only place in the framework that knows about this rule. + +Exploring the API also showed that it **rejects unsupported methods in two different ways**: catalog endpoints return `200` + `responseCode: 405`, while account endpoints (and `PATCH` anywhere) return a real `HTTP 405` with a `{"detail": ...}` body. `test_unsupported_methods.py` pins both behaviours in one generated table. + +### Test data lifecycle + +- `new_user` builds a unique user (UUID-based email), so tests are safe to run in parallel and to re-run. +- `registered_user` creates the account through the API as a precondition. +- `cleanup_user` deletes every account a test registers after the test, whether it passed or failed. This includes accounts created through the UI. +- The Faker seed is random per test and logged, and `FAKER_SEED` replays it. + +### Coverage + +| Area | What is verified | +|------|------------------| +| Products / brands | Catalog content, unique IDs, known categories, product brands exist in `brandsList`, response time SLA | +| Search | Results match the term (name or category), case-insensitive, subset of catalog, empty/blank terms, missing parameter | +| Accounts | Create → read back field by field, update, delete, duplicate email, every required/optional field, wrong password does not modify or delete | +| Login | Valid credentials, wrong password, unknown email, email case sensitivity, missing parameters | +| Unsupported methods | Every endpoint × method combination | +| Contract | Strict schemas for all data payloads and error envelopes | + +### API + UI together + +- `tests/ui/test_login_with_api_user.py` creates the user through the API, so the UI test only exercises login. +- `tests/ui/test_sign_up.py` registers through the UI, then checks the result via the API and deletes the account. + +--- + ## Project Structure ``` @@ -196,13 +280,20 @@ pytest-playwright-ui-api/ ├── .secrets.toml # Secrets (git-ignored, create manually) ├── requirements.txt # pip dependencies ├── pyproject.toml # Project metadata + pytest config +├── api/ +│ ├── client/ # BaseApiClient + ProductsClient, AccountsClient +│ ├── models/ # Pydantic response contracts and request payloads +│ ├── data/factories.py # Test data builders +│ └── assertions.py # assert_api_response, assert_response_time ├── page_objects/ │ ├── page_creator.py # PageCreator facade (injected via `ui` fixture) │ └── *.py # Individual page object classes └── tests/ - ├── conftest.py # Fixtures: browser, context, ui, api, faker - ├── test_api.py - └── test_ui.py + ├── conftest.py # Shared fixtures: API clients, test users, cleanup, faker seed + ├── api/ # API tests + └── ui/ + ├── conftest.py # `ui` fixture (built on pytest-playwright's `page`) + └── test_*.py # UI and hybrid API+UI tests ``` ---