Skip to content

Commit

Permalink
test_wheel: Require at least pytest 6.2.4 for Python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Jan 5, 2022
1 parent ae6be7e commit 38488d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion makepanda/test_wheel.py
Expand Up @@ -49,7 +49,12 @@ def test_wheel(wheel, verbose=False):
open(pep425tags, "w").write(data)

# Install pytest into the environment, as well as our wheel.
packages = ["pytest", wheel]
packages = [wheel]
if sys.version_info >= (3, 10):
packages += ["pytest>=6.2.4"]
else:
packages += ["pytest"]

if sys.version_info[0:2] == (3, 4):
if sys.platform == "win32":
packages += ["colorama==0.4.1"]
Expand Down

0 comments on commit 38488d8

Please sign in to comment.