diff --git a/makepanda/test_wheel.py b/makepanda/test_wheel.py index e234891425..feda269b7e 100755 --- a/makepanda/test_wheel.py +++ b/makepanda/test_wheel.py @@ -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"]