prefect icon indicating copy to clipboard operation
prefect copied to clipboard

anyway to install prefect client side only?

Open trim21 opened this issue 9 months ago • 0 comments

First check

  • [X] I added a descriptive title to this issue.
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I searched the Prefect documentation for this issue.
  • [X] I checked that this issue is related to Prefect and not one of its dependencies.

Bug summary

I have a project using uvicorn 0.29.0, but both perfect and perfect-client require uvicorn (>=0.14.0,<0.29.0).

Is there a client side only library I can install so I don't need to downgrade uvicorn?

I plan to run use a seprated venv and install perfect server there, so it doesn't need to change my uvicorn version.

Reproduction

no need

Error

$ poetry add prefect-client
Using version ^2.18.3 for prefect-client

Updating dependencies
Resolving dependencies... (0.2s)

Because no versions of prefect-client match >2.18.3,<3.0.0
 and prefect-client (2.18.3) depends on uvicorn (>=0.14.0,<0.29.0), prefect-client (>=2.18.3,<3.0.0) requires uvicorn (>=0.14.0,<0.29.0).
So, because test depends on both uvicorn (^0.29.0) and prefect-client (^2.18.3), version solving failed.

Versions

2.18.3 I guess

Additional context

No response

trim21 avatar May 03 '24 15:05 trim21