1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Forwarded: https://github.com/airspeed-velocity/asv_runner/pull/47
--- a/asv_runner/benchmarks/__init__.py
+++ b/asv_runner/benchmarks/__init__.py
@@ -37,8 +37,7 @@
import pkgutil
from pathlib import Path
-# py37 doesn't have importlib.metadata
-from importlib_metadata import distributions
+from importlib.metadata import distributions
from ._exceptions import NotRequired
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,7 +23,6 @@
"Topic :: System :: Benchmark",
]
dependencies = [
- "importlib-metadata", # This is OK, it was vendored from 3.8
] # Make sure there's nothing (or almost nothing) here
requires-python = ">=3.7"
readme = "README.md"
|