Browse Source

test_wheel: remove temp hack for pip 19.2.2, as 19.2.3 is released

The hack was introduced in 22833686e3b09edfeb881767178c233efe393229

[skip ci]
rdb 6 years ago
parent
commit
39224c651d
1 changed files with 0 additions and 8 deletions
  1. 0 8
      makepanda/test_wheel.py

+ 0 - 8
makepanda/test_wheel.py

@@ -36,14 +36,6 @@ def test_wheel(wheel, verbose=False):
         shutil.rmtree(envdir)
         sys.exit(1)
 
-    # Temp hack to patch issue pypa/pip#6885 in pip 19.2.2 and Python 3.8.
-    if sys.platform == "win32" and "-cp38-cp38-" in wheel and os.path.isdir(os.path.join(envdir, "Lib", "site-packages", "pip-19.2.2.dist-info")):
-        pep425tags = os.path.join(envdir, "Lib", "site-packages", "pip", "_internal", "pep425tags.py")
-        if os.path.isfile(pep425tags):
-            data = open(pep425tags, "r").read()
-            data = data.replace(" m = 'm'\n", " m = ''\n")
-            open(pep425tags, "w").write(data)
-
     # Install pytest into the environment, as well as our wheel.
     if subprocess.call([python, "-m", "pip", "install", "pytest", wheel]) != 0:
         shutil.rmtree(envdir)