diff --git a/CHANGELOG.md b/CHANGELOG.md index ae7756f..31642e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.1.5 - 2022-07-27 + +### Changes + +- Fixes #141 - Can not install schema-enforcer in environments which require a version of jsonschema < 4.6 + ## v1.1.4 - 2022-07-13 ### Adds diff --git a/poetry.lock b/poetry.lock index a9e9782..51fa1f6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -286,7 +286,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes [[package]] name = "importlib-resources" -version = "5.8.0" +version = "5.9.0" description = "Read resources from Python packages" category = "main" optional = false @@ -296,8 +296,8 @@ python-versions = ">=3.7" zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} [package.extras] -docs = ["sphinx", "jaraco.packaging (>=9)", "rst.linker (>=1.9)"] -testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)"] +docs = ["sphinx", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "jaraco.tidelift (>=1.4)"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)"] [[package]] name = "iniconfig" @@ -380,7 +380,7 @@ python-versions = "*" [[package]] name = "jsonschema" -version = "4.7.2" +version = "4.5.1" description = "An implementation of JSON Schema validation for Python" category = "main" optional = false @@ -388,22 +388,22 @@ python-versions = ">=3.7" [package.dependencies] attrs = ">=17.4.0" -fqdn = {version = "*", optional = true, markers = "extra == \"format-nongpl\""} -idna = {version = "*", optional = true, markers = "extra == \"format-nongpl\""} +fqdn = {version = "*", optional = true, markers = "extra == \"format_nongpl\""} +idna = {version = "*", optional = true, markers = "extra == \"format_nongpl\""} importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} importlib-resources = {version = ">=1.4.0", markers = "python_version < \"3.9\""} -isoduration = {version = "*", optional = true, markers = "extra == \"format-nongpl\""} -jsonpointer = {version = ">1.13", optional = true, markers = "extra == \"format-nongpl\""} +isoduration = {version = "*", optional = true, markers = "extra == \"format_nongpl\""} +jsonpointer = {version = ">1.13", optional = true, markers = "extra == \"format_nongpl\""} pyrsistent = ">=0.14.0,<0.17.0 || >0.17.0,<0.17.1 || >0.17.1,<0.17.2 || >0.17.2" -rfc3339-validator = {version = "*", optional = true, markers = "extra == \"format-nongpl\""} -rfc3986-validator = {version = ">0.1.0", optional = true, markers = "extra == \"format-nongpl\""} +rfc3339-validator = {version = "*", optional = true, markers = "extra == \"format_nongpl\""} +rfc3986-validator = {version = ">0.1.0", optional = true, markers = "extra == \"format_nongpl\""} typing-extensions = {version = "*", markers = "python_version < \"3.8\""} -uri-template = {version = "*", optional = true, markers = "extra == \"format-nongpl\""} -webcolors = {version = ">=1.11", optional = true, markers = "extra == \"format-nongpl\""} +uri-template = {version = "*", optional = true, markers = "extra == \"format_nongpl\""} +webcolors = {version = ">=1.11", optional = true, markers = "extra == \"format_nongpl\""} [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)", "uri-template", "webcolors (>=1.11)"] +format_nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "uri-template", "webcolors (>=1.11)"] [[package]] name = "lazy-object-proxy" @@ -881,7 +881,7 @@ ansible-base = ["ansible-base"] [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "9e41cbce79e5fa99de779d2cbc3eebd766e21c762865823c3daa982843043466" +content-hash = "e88374264b4ca81d8de98d2536bc656a86ddec3df5de37292b608f2c58ebe5dd" [metadata.files] ansible = [ @@ -971,10 +971,7 @@ importlib-metadata = [ {file = "importlib_metadata-4.2.0-py3-none-any.whl", hash = "sha256:057e92c15bc8d9e8109738a48db0ccb31b4d9d5cfbee5a8670879a30be66304b"}, {file = "importlib_metadata-4.2.0.tar.gz", hash = "sha256:b7e52a1f8dec14a75ea73e0891f3060099ca1d8e6a462a4dff11c3e119ea1b31"}, ] -importlib-resources = [ - {file = "importlib_resources-5.8.0-py3-none-any.whl", hash = "sha256:7952325ffd516c05a8ad0858c74dff2c3343f136fe66a6002b2623dd1d43f223"}, - {file = "importlib_resources-5.8.0.tar.gz", hash = "sha256:568c9f16cb204f9decc8d6d24a572eeea27dacbb4cee9e6b03a8025736769751"}, -] +importlib-resources = [] iniconfig = [ {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, diff --git a/pyproject.toml b/pyproject.toml index 7152621..ca74c4e 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "schema-enforcer" -version = "1.1.4" +version = "1.1.5" description = "Tool/Framework for testing structured data against schema definitions" authors = ["Network to Code, LLC "] license = "Apache-2.0" @@ -27,7 +27,7 @@ jsonpointer = "^2.1" jmespath = "^0.10" ansible = { version = "^2.10.0", optional = true } ansible-base = { version = "^2.10.0", optional = true } -jsonschema = {version = ">3.2, <5", extras = ["format-nongpl"]} +jsonschema = {version = ">3.2, <4.6", extras = ["format_nongpl"]} [tool.poetry.extras] ansible = ["ansible"]