diff --git a/setup.cfg b/setup.cfg
index 97e129f9cc5be5f6a9b0dc946c25b493e5552d25..6412ebfbf5112cfc54a0f24ffe589d4ccd843b6d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,7 +29,7 @@ include_package_data = true
 packages = find:
 python_requires = >=3.7
 install_requires =
-    importlib-metadata>=0.12;python_version<"3.8"
+    importlib-metadata>=0.12, <5.0;python_version<"3.8"
     numpy
 
 [flake8]
diff --git a/tox.ini b/tox.ini
index d5388949afbca56f8f7bd3c979409c7cfd78d3b0..89eeb1845bfed917500b1e372d1e4a5c56b88ef4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,11 +2,12 @@
 # Generative environment list to test all supported Python versions
 envlist = py3{7,8,9,10},black,pep8,pylint
 minversion = 3.18.0
-# Source distributions are explicitly build using tox -e build
-skipsdist = True
 
 [testenv]
 usedevelop = True
+package = wheel
+wheel_build_env = .pkg
+
 setenv =
     LANGUAGE=en_US
     LC_ALL=en_US.UTF-8