From 66154a6c87ebe33faffde2826fa395f68b0de3ee Mon Sep 17 00:00:00 2001 From: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com> Date: Wed, 21 Sep 2022 16:15:31 +0200 Subject: [PATCH] suppoer deps from github (#19141) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 536ece1c8e..547421c8b0 100644 --- a/setup.py +++ b/setup.py @@ -177,7 +177,7 @@ _deps = [ # packaging: "packaging" # # some of the values are versioned whereas others aren't. -deps = {b: a for a, b in (re.findall(r"^(([^!=<>~]+)(?:[!=<>~].*)?$)", x)[0] for x in _deps)} +deps = {b: a for a, b in (re.findall(r"^(([^!=<>~ ]+)(?:[!=<>~ ].*)?$)", x)[0] for x in _deps)} # since we save this data in src/transformers/dependency_versions_table.py it can be easily accessed from # anywhere. If you need to quickly access the data from this table in a shell, you can do so easily with: