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

prefect-client has unknown prefect.__version__ #15620

Closed
ikseek opened this issue Oct 9, 2024 · 1 comment · Fixed by #15624
Closed

prefect-client has unknown prefect.__version__ #15620

ikseek opened this issue Oct 9, 2024 · 1 comment · Fixed by #15624
Assignees
Labels
bug Something isn't working

Comments

@ikseek
Copy link

ikseek commented Oct 9, 2024

Bug summary

Attempt to run deployed flow via prefect-client==3.0.5 produces this error:
RuntimeError: Found incompatible versions: client: 0+unknown, server: 3.0.5. Major versions must match.

python -m pip install prefect-client==3.0.5
python -c 'import prefect; print(prefect.__version__)'

outputs 0+unknown which might be the problem.

Version info (prefect version output)

There is no `prefect` cli in `prefect-client`
3.0.5 / 0+unknown

Additional context

No response

@ikseek ikseek added the bug Something isn't working label Oct 9, 2024
@desertaxle desertaxle self-assigned this Oct 9, 2024
@desertaxle
Copy link
Member

Thanks for the bug report, @ikseek! It looks like a version check was introduced in 3.0.1 via #15252, which is where this error is coming from. The missing version on prefect-client looks like a long-standing issue that wasn't discovered until now. I will investigate and implement a fix!

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.

2 participants