Skip to content

Conversation

@stridge-cruxml
Copy link
Contributor

Pull psutils from pip, instead of requiring a local installed version.

Copy link
Owner

@agoessling agoessling left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this! Highlights the need for a hermetic python toolchain. I have a couple of comments related to the dependencies in WORKSPACE.


rules_vivado_indirect_deps()

http_archive(
Copy link
Owner

Choose a reason for hiding this comment

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

Could this go in rules_vivado_direct_deps()?

],
)

load("@rules_python//python:pip.bzl", "pip_parse")
Copy link
Owner

Choose a reason for hiding this comment

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

This could go in rules_vivado_indirect_deps()?

requirements_lock = "//:requirements.txt",
)

load("@pip//:requirements.bzl", "install_deps")
Copy link
Owner

Choose a reason for hiding this comment

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

And this would have to go in rules_vivado_deps_level_3()... Maybe it's time to look into bzlmod. In the past I've named these with numbers to avoid this problem. Or we could pull them all out of the macros and into here. Thoughts? At minimum we need to update the README to show what to do for dependent projects.

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