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

3.4.2+ Circular dependency. Package 'prefect[client]' is listed as a dependency of itself. #17197

Closed
rustyguts opened this issue Feb 19, 2025 · 2 comments · Fixed by #17202
Closed
Labels
bug Something isn't working

Comments

@rustyguts
Copy link

rustyguts commented Feb 19, 2025

Bug summary

There is an issue installing any version of prefect greater than 3.2.1 using Poetry. I have not tested other package managers. This feels related to the recent uv changes.

docker run --rm python:3.12-slim pip install poetry && poetry init -n --name test || true && poetry add [email protected]

docker run --rm python:3.12-slim pip install poetry && poetry init -n --name test || true && poetry add [email protected]

`Package 'prefect[client]' is listed as a dependency of itself.`

There is a circular dependency here

Version info

Works: 3.2.1
Broken 3.2.2-3.2.5

Additional context

No response

@rustyguts rustyguts added the bug Something isn't working label Feb 19, 2025
@mrefish
Copy link

mrefish commented Feb 19, 2025

I have been experiencing similar behavior. Using Poetry version 1.8.5, [email protected] is the last version I can install, but I agree 3.2.3, 3.2.4, and 3.2.5 are not currently installable.

poetry add [email protected]

Updating dependencies
Resolving dependencies... (0.1s)

Package 'prefect[client]' is listed as a dependency of itself.

To expand, this will also impact users who do not specify a version of Prefect due to Poetry's default behavior:

poetry add prefect      
Using version ^3.2.5 for prefect

Updating dependencies
Resolving dependencies... (0.5s)

Package 'prefect[client]' is listed as a dependency of itself.

@desertaxle
Copy link
Member

Thanks for the report @rustyguts! This is fixed in 3.2.6 which was just released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants