Skip to content

Commit 770445a

Browse files
Jamimwebknjaz
andauthored
πŸ› Fix pytest/mypy compatibility issue for Python 3.7 (#937)
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
1 parent 3589b18 commit 770445a

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

β€Ž.pre-commit-config.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ repos:
155155
additional_dependencies:
156156
- types-docutils
157157
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
158-
- pytest
158+
- pytest < 8
159159
- Sphinx >= 5.3.0, < 6
160160
args:
161161
- --python-version=3.7

β€ŽCHANGES/937.contrib.rstβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The version of pytest is now capped below 8, when running MyPy
2+
against Python 3.7. This pytest release dropped support for
3+
said runtime.

β€Ždocs/spelling_wordlist.txtβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pre
7171
proxied
7272
pyenv
7373
pyinstaller
74+
pytest
7475
refactor
7576
refactored
7677
regex

0 commit comments

Comments
Β (0)