From 437cc0752cc0e3019bc56c1d6e00e9047961a60d Mon Sep 17 00:00:00 2001 From: Imran Hossain Date: Thu, 22 Sep 2022 16:07:07 -0400 Subject: [PATCH] Fix supported platforms regex This was preventing (many)linux wheels from downloading, since there was an unintentional leading `r` in the regex. --- morgan/__about__.py | 2 +- morgan/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/morgan/__about__.py b/morgan/__about__.py index ea370a8..def467e 100644 --- a/morgan/__about__.py +++ b/morgan/__about__.py @@ -1 +1 @@ -__version__ = "0.12.0" +__version__ = "0.12.1" diff --git a/morgan/__init__.py b/morgan/__init__.py index 872cb21..efa232b 100644 --- a/morgan/__init__.py +++ b/morgan/__init__.py @@ -57,7 +57,7 @@ def __init__(self, index_path: str): self.envs[m.group(1)] = dict(env) self._supported_pyversions.append(env["python_version"]) self._supported_platforms.append( - re.compile("r.*" + + re.compile(r".*" + env["sys_platform"] + r".*" + env["platform_machine"]))