-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Bug]: aspect_rules_py is incompatible with rules_poetry #338
Comments
It seems that the issue is caused by #311. I have to downgrade |
Alternatively, open an issue with rules_poetry to use the provider loaded from rules_python, rather than native as it'll hit up against this issue with other uses of |
As a data point, rules_pycross did the same thing here, jvolkman/rules_pycross#90 |
I suggest to close it here as it relates to bazelbuild/rules_python#1069 (comment) Will fix in the rules repository |
What happened?
The
py_library
,py_binary
, andpy_test
rules don’t work withrules_poetry
. Packages installed bypoetry.parse()
can’t be included as dependencies of apy_library
,py_binary
, orpy_test
target.Version
bazel --version
: bazel 7.1.1WORKSPACE
orMODULE.bazel
file: aspect_rules_py 0.7.3How to reproduce
Given the following minimal example:
The build fails with the following error message:
However,
aspect_rules_py
works withpip.parse
, andrules_python
works with bothpip.parse
andpoetry.parse
. Here is the compatibility table:The text was updated successfully, but these errors were encountered: