Skip to content

Commit

Permalink
Remove lazy-loader core dep (temporary fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Feb 25, 2025
1 parent 7799c20 commit 71c345e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/hooks/sync_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ def _prettify_pin(pin):
# get the dependency info
py_pin = metadata("mne").get("Requires-Python")
all_deps = metadata("mne").get_all("Requires-Dist")
core_deps = [f"python{py_pin}", *[dep for dep in all_deps if "extra ==" not in dep]]
core_deps = [
f"python{py_pin}",
*[dep for dep in all_deps if "extra ==" not in dep and dep != "lazy-loader>=0.3"],
]
pattern = re.compile(r"(?P<name>[A-Za-z_\-\d]+)(?P<pin>[<>=]+.*)?")
core_deps_pins = {
dep["name"]: _prettify_pin(dep["pin"]) for dep in map(pattern.match, core_deps)
Expand Down

0 comments on commit 71c345e

Please sign in to comment.