From 5d594a55ac2221c6986e5476072f221bf1d72592 Mon Sep 17 00:00:00 2001 From: Greg Chadwick Date: Tue, 3 Oct 2023 13:07:28 +0100 Subject: [PATCH] [dv,vendor] Pin bitstring version to fix gen_csr_test.py The gen_csr_test.py script provided by RISC-V DV doesn't work with version 4.0 and upwards of the bitstring library. This patch pins it to 3.1.9 to avoid the issue. --- .../patches/google_riscv-dv/0002-pin-bitstring.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vendor/patches/google_riscv-dv/0002-pin-bitstring.patch diff --git a/vendor/patches/google_riscv-dv/0002-pin-bitstring.patch b/vendor/patches/google_riscv-dv/0002-pin-bitstring.patch new file mode 100644 index 0000000000..bc844d8557 --- /dev/null +++ b/vendor/patches/google_riscv-dv/0002-pin-bitstring.patch @@ -0,0 +1,10 @@ +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,5 +1,5 @@ + PyYAML +-bitstring ++bitstring==3.1.9 + Sphinx + Pallets-Sphinx-Themes + sphinxcontrib-log-cabinet +