Skip to content

Commit

Permalink
Pin jsonschema (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
HGSilveri authored Jul 6, 2023
1 parent feafa3d commit 5e36b3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
import json
from pathlib import PurePath

_json_dict = json.load(open(PurePath(__file__).parent / "C6_coeffs.json"))
with open(PurePath(__file__).parent / "C6_coeffs.json") as f:
_json_dict = json.load(f)
c6_dict = {int(key): value for key, value in _json_dict.items()}
2 changes: 1 addition & 1 deletion pulser-core/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jsonschema
jsonschema < 4.18
matplotlib
# Numpy 1.20 introduces type hints, 1.24.0 breaks matplotlib < 3.6.1
numpy >= 1.20, != 1.24.0
Expand Down

0 comments on commit 5e36b3e

Please sign in to comment.