aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/scalapack.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-04-25 14:47:37 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-07-19 18:31:37 -0400
commit7afc69254d6b7240406cb1112ab57355bd9d32cd (patch)
tree6246648038a69ba8e3ce48841eeb37bcad00e7d9 /mesonbuild/dependencies/scalapack.py
parentcfc3960956f98aff74b118ce3de89a40ef3496c1 (diff)
downloadmeson-7afc69254d6b7240406cb1112ab57355bd9d32cd.zip
meson-7afc69254d6b7240406cb1112ab57355bd9d32cd.tar.gz
meson-7afc69254d6b7240406cb1112ab57355bd9d32cd.tar.bz2
fix implicit_reexport issues and enforce them going forward
This detects cases where module A imports a function from B, and C imports that same function from A instead of B. It's not part of the API contract of A, and causes innocent refactoring to break things.
Diffstat (limited to 'mesonbuild/dependencies/scalapack.py')
-rw-r--r--mesonbuild/dependencies/scalapack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/scalapack.py b/mesonbuild/dependencies/scalapack.py
index 257e4aa..2442ede 100644
--- a/mesonbuild/dependencies/scalapack.py
+++ b/mesonbuild/dependencies/scalapack.py
@@ -27,7 +27,8 @@ from .pkgconfig import PkgConfigDependency
from .factory import factory_methods
if T.TYPE_CHECKING:
- from ..environment import Environment, MachineChoice
+ from ..environment import Environment
+ from ..mesonlib import MachineChoice
from .factory import DependencyGenerator