fix dependency problems caused by pypi master
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 14 Jun 2022 14:17:46 +0000 (15:17 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 14 Jun 2022 14:17:46 +0000 (15:17 +0100)
setup.py

index b57c2e4587251ef5acd8da52d0ca8f77b4631e4d..5ad599503e623457c7ab6a0f5727b938ae57b379 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,10 @@ setup(
     setup_requires=["setuptools_scm"],
 
     # removing cocotb, causing unnecessary dependency and install problems
     setup_requires=["setuptools_scm"],
 
     # removing cocotb, causing unnecessary dependency and install problems
-    install_requires=["setuptools", "nmigen", "nmigen-soc", "modgrammar"],
+    install_requires=["setuptools",
+        "nmigen>=0.0,<=0.5",
+        "nmigen-soc",
+        "modgrammar"],
 
     # unit tests require cocotb: main operation does not
     tests_require=['cocotb'],
 
     # unit tests require cocotb: main operation does not
     tests_require=['cocotb'],