Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install schema-enforcer in environments which require a version of jsonschema < 4.6 #141

Closed
PhillSimonds opened this issue Jul 25, 2022 · 1 comment · Fixed by #142

Comments

@PhillSimonds
Copy link
Contributor

PhillSimonds commented Jul 25, 2022

Environment

  • Python version: 3.7.10
  • schema-enforcer version: 1.1.4

Expected Behavior

I expected to be able to install schema-enforcer in an environment where the jsonschema library could be anything > 3.2 and <5.

Observed Behavior

When the version of jsonschema installed is < 4.6, the format-nongpl extra can't be found.

This looks to be because format_nongpl was changed to format-nongpl in jsonschema 4.6.

python-jsonschema/jsonschema#962

@PhillSimonds PhillSimonds changed the title Can not install schema-enforcer in environments which require a version of jsonschema < 4.7 Can not install schema-enforcer in environments which require a version of jsonschema < 4.6 Jul 25, 2022
@PhillSimonds
Copy link
Contributor Author

We decided to remediate this issue by provisioning two releases of schema-enforcer

  1. v1.1.5 supports versions of jsonschema <4.5 and allows for installation of the format_nongpl extra
  2. v1.2.0 supports versions of jsonschema >=4.6 and allows for installation of the format-nongpl extra

PhillSimonds added a commit that referenced this issue Jul 27, 2022
v1.1.5 Release

### Changes

- Fixes #141 - Can not install schema-enforcer in environments which require a version of jsonschema < 4.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant