Open laclouis5 opened 1 month ago
What is the more specific harm here? It would make it easier to understand what to change if it was more specific about what's wrong. IMO it's only good that rye can interact to some extent with projects it doesn't manage - for example rye run
works on unmanaged projects today. And rye show
should not modify the project it is inspecting (that would be a bug).
Steps to Reproduce
Create an empty project with a
pyproject.toml
file:Then
rye show
outputs:This indicated that Rye thinks that the project is managed by Rye, but it is not the case (it could be manage by anything else such as Poetry).
Additionally, Rye does not seem to honor the
managed
flag in thepyproject.toml
configuration:Adding these lines results in the same output from
rye show
.Expected Result
Rye shouldn't assumes a project is managed by itself solely based on the presence of a
pyproject.toml
file since other Python project managing tools such a Poetry may use it for this same purpose.This results in the impossibility to manage a Python project with Poetry using a Rye "system" Python toolchain (
global-python = true
).Actual Result
Poetry fails to find Python toolchains fetched by Rye.
Version Info
rye 0.37.0
Stacktrace
No response