diff --git a/poetry.lock b/poetry.lock index 1548d63d..b782244b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -986,14 +986,14 @@ six = "*" [[package]] name = "jsonschema" -version = "4.25.1" +version = "4.24.1" description = "An implementation of JSON Schema validation for Python" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "jsonschema-4.25.1-py3-none-any.whl", hash = "sha256:3fba0169e345c7175110351d456342c364814cfcf3b964ba4587f22915230a63"}, - {file = "jsonschema-4.25.1.tar.gz", hash = "sha256:e4a9655ce0da0c0b67a085847e00a3a51449e1157f4f75e9fb5aa545e122eb85"}, + {file = "jsonschema-4.24.1-py3-none-any.whl", hash = "sha256:6b916866aa0b61437785f1277aa2cbd63512e8d4b47151072ef13292049b4627"}, + {file = "jsonschema-4.24.1.tar.gz", hash = "sha256:fe45a130cc7f67cd0d67640b4e7e3e2e666919462ae355eda238296eafeb4b5d"}, ] [package.dependencies] @@ -1004,25 +1004,27 @@ rpds-py = ">=0.7.1" [package.extras] format = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3987", "uri-template", "webcolors (>=1.11)"] -format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "rfc3987-syntax (>=1.1.0)", "uri-template", "webcolors (>=24.6.0)"] +format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "uri-template", "webcolors (>=24.6.0)"] [[package]] name = "jsonschema-path" -version = "0.3.4" +version = "0.4.5" description = "JSONSchema Spec with object-oriented paths" optional = false -python-versions = "<4.0.0,>=3.8.0" +python-versions = "<4.0.0,>=3.10" groups = ["main"] files = [ - {file = "jsonschema_path-0.3.4-py3-none-any.whl", hash = "sha256:f502191fdc2b22050f9a81c9237be9d27145b9001c55842bece5e94e382e52f8"}, - {file = "jsonschema_path-0.3.4.tar.gz", hash = "sha256:8365356039f16cc65fddffafda5f58766e34bebab7d6d105616ab52bc4297001"}, + {file = "jsonschema_path-0.4.5-py3-none-any.whl", hash = "sha256:7d77a2c3f3ec569a40efe5c5f942c44c1af2a6f96fe0866794c9ef5b8f87fd65"}, + {file = "jsonschema_path-0.4.5.tar.gz", hash = "sha256:c6cd7d577ae290c7defd4f4029e86fdb248ca1bd41a07557795b3c95e5144918"}, ] [package.dependencies] -pathable = ">=0.4.1,<0.5.0" +pathable = ">=0.5.0,<0.6.0" PyYAML = ">=5.1" -referencing = "<0.37.0" -requests = ">=2.31.0,<3.0.0" +referencing = "<0.38.0" + +[package.extras] +requests = ["requests (>=2.31.0,<3.0.0)"] [[package]] name = "jsonschema-specifications" @@ -1535,69 +1537,69 @@ files = [ [[package]] name = "openapi-core" -version = "0.22.0" +version = "0.23.0" description = "client-side and server-side support for the OpenAPI Specification v3" optional = false -python-versions = "<4.0.0,>=3.9.0" +python-versions = "<4.0.0,>=3.10.0" groups = ["main"] files = [ - {file = "openapi_core-0.22.0-py3-none-any.whl", hash = "sha256:8fb7c325f2db4ef6c60584b1870f90eeb3183aa47e30643715c5003b7677a149"}, - {file = "openapi_core-0.22.0.tar.gz", hash = "sha256:b30490dfa74e3aac2276105525590135212352f5dd7e5acf8f62f6a89ed6f2d0"}, + {file = "openapi_core-0.23.0-py3-none-any.whl", hash = "sha256:64628f612b3a15b0b73fdda4da49684453fa467d9ed6562402755319e95aa471"}, + {file = "openapi_core-0.23.0.tar.gz", hash = "sha256:0703581dc7f05abc955e9f646d83e5ef35ab56344c95d739d969f7201d8bd92e"}, ] [package.dependencies] isodate = "*" jsonschema = ">=4.23.0,<5.0.0" -jsonschema-path = ">=0.3.4,<0.4.0" +jsonschema-path = ">=0.4.5,<0.5.0" more-itertools = "*" -openapi-schema-validator = ">=0.6.0,<0.7.0" -openapi-spec-validator = ">=0.7.1,<0.8.0" +openapi-schema-validator = ">=0.7.0,<0.9.0" +openapi-spec-validator = ">=0.8.0,<0.9.0" typing-extensions = ">=4.8.0,<5.0.0" werkzeug = ">=2.1.0" [package.extras] aiohttp = ["aiohttp (>=3.0)", "multidict (>=6.0.4,<7.0.0)"] -django = ["django (>=3.0)"] -falcon = ["falcon (>=3.0)"] -fastapi = ["fastapi (>=0.111,<0.125)"] -flask = ["flask"] +django = ["django (>=4.0)"] +falcon = ["falcon (>=4.0)"] +fastapi = ["aioitertools (>=0.11,<0.14)", "fastapi (>=0.111,<0.130)"] +flask = ["flask (>=2.0)"] requests = ["requests"] -starlette = ["aioitertools (>=0.11,<0.14)", "starlette (>=0.26.1,<0.50.0)"] +starlette = ["aioitertools (>=0.11,<0.14)", "starlette (>=0.40.0,<0.60.0)"] [[package]] name = "openapi-schema-validator" -version = "0.6.3" +version = "0.7.1" description = "OpenAPI schema validation for Python" optional = false -python-versions = "<4.0.0,>=3.8.0" +python-versions = "<4.0.0,>=3.10.0" groups = ["main"] files = [ - {file = "openapi_schema_validator-0.6.3-py3-none-any.whl", hash = "sha256:f3b9870f4e556b5a62a1c39da72a6b4b16f3ad9c73dc80084b1b11e74ba148a3"}, - {file = "openapi_schema_validator-0.6.3.tar.gz", hash = "sha256:f37bace4fc2a5d96692f4f8b31dc0f8d7400fd04f3a937798eaf880d425de6ee"}, + {file = "openapi_schema_validator-0.7.1-py3-none-any.whl", hash = "sha256:784bd398f99b8f2999070ecea4b0d9a004e9cab0f792d3ab371514696f6e79a4"}, + {file = "openapi_schema_validator-0.7.1.tar.gz", hash = "sha256:6738212c281c6e2152d83018cf1c3bc50b69463c06f4b33c3addccc56320525b"}, ] [package.dependencies] jsonschema = ">=4.19.1,<5.0.0" -jsonschema-specifications = ">=2023.5.2" +jsonschema-specifications = ">=2024.10.1" rfc3339-validator = "*" [[package]] name = "openapi-spec-validator" -version = "0.7.2" +version = "0.8.1" description = "OpenAPI 2.0 (aka Swagger) and OpenAPI 3 spec validator" optional = false -python-versions = "<4.0.0,>=3.8.0" +python-versions = "<4.0,>=3.10" groups = ["main"] files = [ - {file = "openapi_spec_validator-0.7.2-py3-none-any.whl", hash = "sha256:4bbdc0894ec85f1d1bea1d6d9c8b2c3c8d7ccaa13577ef40da9c006c9fd0eb60"}, - {file = "openapi_spec_validator-0.7.2.tar.gz", hash = "sha256:cc029309b5c5dbc7859df0372d55e9d1ff43e96d678b9ba087f7c56fc586f734"}, + {file = "openapi_spec_validator-0.8.1-py3-none-any.whl", hash = "sha256:fa3e6e9c05afc4a16758ec1df692fb303d162708fefbb9a0d590da39f039b74b"}, + {file = "openapi_spec_validator-0.8.1.tar.gz", hash = "sha256:7c93366c8c36ea160bcb6789d8309aef9b52ea60121123ec0f6b0a18a2d34cba"}, ] [package.dependencies] -jsonschema = ">=4.18.0,<5.0.0" -jsonschema-path = ">=0.3.1,<0.4.0" -lazy-object-proxy = ">=1.7.1,<2.0.0" -openapi-schema-validator = ">=0.6.0,<0.7.0" +jsonschema = ">=4.24.0,<4.25.0" +jsonschema-path = ">=0.4.2,<0.5.0" +lazy-object-proxy = ">=1.7.1,<2.0" +openapi-schema-validator = ">=0.7.0,<0.8.0" [[package]] name = "packaging" @@ -1613,14 +1615,14 @@ files = [ [[package]] name = "pathable" -version = "0.4.4" +version = "0.5.0" description = "Object-oriented paths" optional = false -python-versions = "<4.0.0,>=3.7.0" +python-versions = "<4.0,>=3.10" groups = ["main"] files = [ - {file = "pathable-0.4.4-py3-none-any.whl", hash = "sha256:5ae9e94793b6ef5a4cbe0a7ce9dbbefc1eec38df253763fd0aeeacf2762dbbc2"}, - {file = "pathable-0.4.4.tar.gz", hash = "sha256:6905a3cd17804edfac7875b5f6c9142a218c7caef78693c2dbbbfbac186d88b2"}, + {file = "pathable-0.5.0-py3-none-any.whl", hash = "sha256:646e3d09491a6351a0c82632a09c02cdf70a252e73196b36d8a15ba0a114f0a6"}, + {file = "pathable-0.5.0.tar.gz", hash = "sha256:d81938348a1cacb525e7c75166270644782c0fb9c8cecc16be033e71427e0ef1"}, ] [[package]] @@ -2911,4 +2913,4 @@ propcache = ">=0.2.1" [metadata] lock-version = "2.1" python-versions = "^3.13" -content-hash = "91fe42d6562a9d598f00d59044ced25e5572132639db75b0a6547e55c71f7fa0" +content-hash = "c0f8891235dab6cd6a5f5d9b361caaaba21b5a665ed1892d9bc0423f9f683553" diff --git a/pyproject.toml b/pyproject.toml index e12bd882..59f418fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ lxml = "^5.1.0" xmlformatter = "^0.2.8" pytest-check = "^2.6.2" requests = "^2.32.5" -openapi-core = "^0.22.0" +openapi-core = "^0.23.0" pytest-nhsd-apim = "^6.0.7" [tool.poetry.group.dev.dependencies]