From ac1c2facdb0d518dfff5b15975bc1deea7f216a9 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Wed, 12 Feb 2020 17:30:52 +0000 Subject: [PATCH] Depend on rfc3987 and strict-rfc3339 to validate formats correctly These optional dependencies of jsonschema are required to validate URIs and date-times correctly. https://github.com/openownership/lib-cove-bods/pull/54#issuecomment-585303356 --- CHANGELOG.md | 6 ++++++ setup.py | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fcb3c5..be8f5ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.14.0] - 2020-02-13 + +### Added + +- Depend on rfc3987 and strict-rfc3339 (optional dependencies of jsonschema) in order to validate URIs and date-times correctly [lib-cove-bods#54](https://github.com/openownership/lib-cove-bods/pull/54#issuecomment-585303356) + ## [0.13.0] - 2020-01-09 ### Added diff --git a/setup.py b/setup.py index 66944a6..2238b1c 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="libcove", - version="0.13.0", + version="0.14.0", author="Open Data Services", author_email="code@opendataservices.coop", url="https://github.com/OpenDataServices/lib-cove", @@ -19,6 +19,10 @@ "json-merge-patch", "cached-property", "flattentool>=0.5.0", + # Required for jsonschema to validate URIs + "rfc3987", + # Required for jsonschema to validate date-time + "strict-rfc3339", ], classifiers=[ "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"