Pin Python wheel versions - Some upstream dependencies updated, and caused breakage in CI. Pin with an exported sanitized_requirements.txt from a working build. Change-Id: Id65890661b1e6cd5a0a0f44cb631309f735080fc
diff --git a/sanitized_requirements.txt b/sanitized_requirements.txt new file mode 100644 index 0000000..40012e2 --- /dev/null +++ b/sanitized_requirements.txt
@@ -0,0 +1,78 @@ +anytree==2.8.0 +attrs==23.1.0 +blessed==1.20.0 +cachetools==5.3.2 +certifi==2023.11.17 +charset_normalizer==3.3.2 +git+https://github.com/newaetech/chipwhisperer-minimal.git@2643131b71e528791446ee1bab7359120288f4ab#egg=chipwhisperer +click==8.1.7 +commonmark==0.9.1 +cssselect==1.2.0 +cssutils==2.9.0 +Cython==3.0.6 +distro==1.8.0 +git+https://github.com/lowRISC/edalize.git@ot-0.1 +enlighten==1.10.2 +flake8==5.0.4 +git+https://github.com/lowRISC/fusesoc.git@ot-0.1 +gitdb==4.0.11 +GitPython==3.1.40 +hjson==3.1.0 +idna==3.6 +iniconfig==2.0.0 +isort==5.10.1 +Jinja2==3.1.2 +jsonschema==4.17.3 +libcst==0.4.9 +libusb1==3.1.0 +lizard==1.17.10 +lxml==4.9.3 +Mako==1.1.6 +MarkupSafe==2.1.3 +mccabe==0.7.0 +mistletoe==0.9.0 +msgpack_python==0.5.6 +mypy==0.971 +mypy_extensions==1.0.0 +okonomiyaki==1.4.0 +packaging==23.2 +Pillow==10.0.1 +pluggy==1.3.0 +pluralizer==1.2.0 +prefixed==0.7.0 +premailer==3.8.0 +py==1.11.0 +pycodestyle==2.9.1 +pycryptodome==3.15.0 +PyDriller==2.1 +pyelftools==0.29 +pyfinite==1.9.1 +pyflakes==2.5.0 +pygments==2.17.2 +pyparsing==3.1.1 +pyrsistent==0.20.0 +pyserial==3.5 +pytest==7.0.1 +pytest_timeout==2.1.0 +pytz==2023.3.post1 +PyYAML==6.0 +requests==2.31.0 +rich==12.5.1 +simplesat==0.8.2 +six==1.16.0 +smmap==5.0.1 +tabulate==0.8.10 +termcolor==1.1.0 +tomli==2.0.1 +typer==0.6.1 +types_dataclasses==0.6.6 +types_pkg_resources==0.1.3 +types_pytz==2023.3.1.1 +types_PyYAML==6.0.11 +types_tabulate==0.8.11 +typing_extensions==4.8.0 +typing_inspect==0.9.0 +urllib3==1.26.15 +wcwidth==0.2.12 +yapf==0.32.0 +zipfile2==0.0.12
diff --git a/third_party/python/pip.bzl b/third_party/python/pip.bzl index bdf8c78..0a4bf65 100644 --- a/third_party/python/pip.bzl +++ b/third_party/python/pip.bzl
@@ -129,11 +129,12 @@ def pip_deps(): pip_wheel( name = "ot_python_wheels", + requirements = "@lowrisc_opentitan//:sanitized_requirements.txt", ) pip_install( name = "ot_python_deps", python_interpreter_target = interpreter, - requirements = "@ot_python_wheels//:sanitized_requirements.txt", + requirements = "@lowrisc_opentitan//:sanitized_requirements.txt", find_links = "@ot_python_wheels//:all_wheels", extra_pip_args = ["--no-index"], )