Skip to content

Commit

Permalink
🐛 Fix pytest/mypy compatibility issue for Python 3.7 (#937)
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
Jamim and webknjaz authored Feb 1, 2024
1 parent 3589b18 commit 770445a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ repos:
additional_dependencies:
- types-docutils
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
- pytest
- pytest < 8
- Sphinx >= 5.3.0, < 6
args:
- --python-version=3.7
Expand Down
3 changes: 3 additions & 0 deletions CHANGES/937.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The version of pytest is now capped below 8, when running MyPy
against Python 3.7. This pytest release dropped support for
said runtime.
1 change: 1 addition & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pre
proxied
pyenv
pyinstaller
pytest
refactor
refactored
regex
Expand Down

0 comments on commit 770445a

Please sign in to comment.