Skip to content

Commit 50d5bbf

Browse files
authored
Merge branch 'master' into docs/add-v0.7.0-release-notes
2 parents 4cdcebf + b1d6bd4 commit 50d5bbf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ install_requires =
3838
scipy>=1.1.0 # requires numpy, which is required by pyhf and tensorflow
3939
click>=8.0.0 # for console scripts
4040
tqdm>=4.56.0 # for readxml
41-
jsonschema>=3.0.0 # for utils
41+
jsonschema>=4.15.0 # for utils
4242
jsonpatch>=1.15
4343
pyyaml>=5.1 # for parsing CLI equal-delimited options
44-
importlib_resources>=1.3.0; python_version < "3.9" # for resources in schema
44+
importlib_resources>=1.4.0; python_version < "3.9" # for resources in schema
4545
typing_extensions>=3.7.4.3; python_version == "3.7" # for SupportsIndex
4646

4747
[options.packages.find]

src/pyhf/schema/validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def validate(spec: Mapping, schema_name: str, version: Union[str, None] = None):
2727

2828
# note: trailing slash needed for RefResolver to resolve correctly
2929
resolver = jsonschema.RefResolver(
30-
base_uri=f"file://{variables.schemas}/",
31-
referrer=f"{version}/{schema_name}",
30+
base_uri=f"file://{variables.schemas}/{version}/",
31+
referrer=f"{schema_name}",
3232
store=variables.SCHEMA_CACHE,
3333
)
3434
validator = jsonschema.Draft6Validator(

tests/constraints.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
scipy==1.1.0
33
click==8.0.0 # c.f. PR #1958, #1909
44
tqdm==4.56.0
5-
jsonschema==3.0.0
5+
jsonschema==4.15.0 # c.f. PR #1979
66
jsonpatch==1.15
77
pyyaml==5.1
8-
importlib_resources==1.3.0
8+
importlib_resources==1.4.0 # c.f. PR #1979
99
typing-extensions==3.7.4.3 # c.f. PR #1961, #1940
1010
# xmlio
1111
uproot==4.1.1

0 commit comments

Comments
 (0)