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

current constellation of dependencies inconsistently breaking installation process #373

Closed
2 tasks done
grzegorz-roboflow opened this issue May 3, 2024 · 2 comments · Fixed by #374
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@grzegorz-roboflow
Copy link
Contributor

grzegorz-roboflow commented May 3, 2024

Search before asking

  • I have searched the Inference issues and found no similar bug report.

Bug

This is probably just coincidence but recent update of fastapi results in broken installation process (although pip resolves versions inconsistently and sometimes it pulls lower version of fastapi, if fastapi==0.110.3 is pulled then build process runs smoothly, if fastapi==0.111.0 is pulled then installation process results in error)

Environment

No response

Minimal Reproducible Example

python3.8 -m venv venv
source venv/bin/activate
pip install -e .
# Fails with errors similar to [PyYAML](https://github.com/yaml/pyyaml/issues/601)

Additional

N/A

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@grzegorz-roboflow
Copy link
Contributor Author

grzegorz-roboflow commented May 3, 2024

if fastapi 0.111.0 is installed then installation fails with errors similar to these tracked here

@grzegorz-roboflow grzegorz-roboflow changed the title fastapi>0.111.0 breaks installation process fastapi>=0.111.0 breaks installation process May 3, 2024
@grzegorz-roboflow grzegorz-roboflow changed the title fastapi>=0.111.0 breaks installation process fastapi==0.111.0 breaks installation process May 3, 2024
@grzegorz-roboflow
Copy link
Contributor Author

grzegorz-roboflow commented May 3, 2024

I can't reproduce this consistently when running in the container because sometimes pip is picking fastapi==0.110.3 and sometimes 0.111.0

docker run \
    -v $(pwd):/inf \
    -it --rm \
    --entrypoint /bin/bash \
    python:3.8 \
        -c "python -m venv /tmp/venv \
            && source /tmp/venv/bin/activate \
            && cd /inf \
            && pip install -e . \
            && pip freeze | grep fastapi"

@grzegorz-roboflow grzegorz-roboflow changed the title fastapi==0.111.0 breaks installation process current constellation of dependencies inconsistently break installation process May 3, 2024
@grzegorz-roboflow grzegorz-roboflow changed the title current constellation of dependencies inconsistently break installation process current constellation of dependencies inconsistently breaking installation process May 3, 2024
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.

1 participant