suppoer deps from github (#19141)

This commit is contained in:
Quentin Lhoest
2022-09-21 16:15:31 +02:00
committed by GitHub
parent 114295c010
commit 66154a6c87

View File

@@ -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: