Skip to content

[dvsim] Bump dvsim requirement to version 1.49.12#30620

Open
sha-ron wants to merge 1 commit into
lowRISC:masterfrom
sha-ron:python_req
Open

[dvsim] Bump dvsim requirement to version 1.49.12#30620
sha-ron wants to merge 1 commit into
lowRISC:masterfrom
sha-ron:python_req

Conversation

@sha-ron

@sha-ron sha-ron commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

This increases the dvsim dependency from 1.34.1 to 1.49.12.

@sha-ron sha-ron requested a review from rswarbrick July 2, 2026 14:36
Comment thread python-requirements.txt
dvsim==1.34.1 \
--hash=sha256:13cee7d7d05efb80f327c5c9db7a18bd7b16a7db7c2011dbf0ff72041bb53dda \
--hash=sha256:592ffafa4375d2ef3f67cfdd234f4b7ae185c560189f4202e07e616b93109282
dvsim==1.49.12 \

@AlexJones0 AlexJones0 Jul 2, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you want to update the dependency in pyproject.toml, since this file is generated.

Otherwise, the next time someone changes a Python dependency the version will be downgraded again.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for pointing that out. I hope now it is ok.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry - to be clear, I think after changing it in pyproject.toml (as you have), you need to run ./util/sh/scripts/gen-python-requirements.sh to regenerate the python-requirements.txt file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for all the mess. I ran the script and pushed again but CI is still failing. Not sure if it related to this change.

@AlexJones0 AlexJones0 Jul 3, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries. The CI failure is still related to this change - I had forgotten about this additional step.

You have now updated the Python dependencies, but Bazel has a lockfile and we haven't told Bazel itself that we want to add/update these Python dependencies. To regenerate the lockfile, you need to run one more command:

./bazelisk.sh mod deps

Hopefully that's the last change needed to make CI happy 😅

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, so far looks a little happier:)

@AlexJones0 AlexJones0 Jul 3, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rswarbrick I know you refactored & improved some of the testplan code in DVSim. With this version bump, we pull in your improvements and now Private CI is failing on the Darjeeling configuration because of duplicate items in the testplan:
https://github.com/lowRISC/opentitan-private-ci/actions/runs/28666658279/job/85019992031#step:5:296

Indeed, if I look through hw/top_darjeeling/data/chip_conn_testplan.hjson I can see at least the clkmgr_clk_io_infra item being duplicated. This is probably a good error to catch, but also means we can't bump the version 😅

Do you think this is the kind of thing you could quickly look into & resolve? I suspect things might just need to be renamed or jigged around a bit.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully fixing the issues with this PR: #30669

When that is merged you should be able to rebase and resolve the CI problems.

@AlexJones0 AlexJones0 Jul 7, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sha-ron The above PR is merged now, can you try rebasing on the latest master? I'm hoping that should fix the remaining issues. It looks like another dependency was changed in the meantime so you'll need to regenerate the Bazel lockfile with ./bazelisk.sh mod deps again - it might even be easier to just reconstruct the changes on the latest master, given they're quite small.

@sha-ron sha-ron force-pushed the python_req branch 2 times, most recently from df4b6d8 to 7f82aae Compare July 3, 2026 06:10
Signed-off-by: Sharon Topaz <sharon.topaz@nuvoton.com>

[dvsim] updating the correct file

Signed-off-by: Sharon Topaz <sharon.topaz@nuvoton.com>

[dvsim] auto generate python-requirements.txt file

Signed-off-by: Sharon Topaz <sharon.topaz@nuvoton.com>

[dvsim] Generate lock file

Signed-off-by: Sharon Topaz <sharon.topaz@nuvoton.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants