Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added psutils dependency. Previously this required a locally installed version. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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