Skip to content

Commit

Permalink
build: Set lower bound of typing-extensions to v3.7.4 (#1938)
Browse files Browse the repository at this point in the history
* Set the lower bound of the supported typing_extensions versions to v3.7.4
  as TypedDict was added in v3.7.4.

  > The typing_extensions module contains both backports of these changes as
  > well as experimental types that will eventually be added to the typing module,
  > such as Protocol or TypedDict.
   - c.f. https://pypi.org/project/typing-extensions/3.7.4/

   - Amends PR #1934
* Add typing-extensions==3.7.4 to tests/constraints.txt.
  • Loading branch information
matthewfeickert authored Aug 12, 2022
1 parent dcbd9ac commit ca77a63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ install_requires =
jsonpatch>=1.15
pyyaml>=5.1 # for parsing CLI equal-delimited options
importlib_resources>=1.3.0; python_version < "3.9" # for resources in schema
typing_extensions; python_version == "3.7" # for TypedDict, Literal
typing_extensions>=3.7.4; python_version == "3.7" # for TypedDict, Literal

[options.packages.find]
where = src
Expand Down
1 change: 1 addition & 0 deletions tests/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jsonschema==3.0.0
jsonpatch==1.15
pyyaml==5.1
importlib_resources==1.3.0
typing-extensions==3.7.4 # c.f. PR #1938
# xmlio
uproot==4.1.1
# minuit
Expand Down

0 comments on commit ca77a63

Please sign in to comment.