-
Notifications
You must be signed in to change notification settings - Fork 539
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
Remove version upper bound on pyyaml
#2514
Remove version upper bound on pyyaml
#2514
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting the PR @steve-marmalade! Just tested with aws in a new docker container and it seems working now as awscli
has updated their dependency for pyyaml
(aws/aws-cli@1b85174):
docker run -it --rm --name skypilot-debug berkeleyskypilot/skypilot-debug /bin/bash
conda install gh --channel conda-forge
gh pr checkout 2514
pip install -e .
sky launch --cloud aws --cpus 2 --down echo hi
sky status -r
As this is an update in our dependency, I will also request one more approval from our teammates @concretevitamin @romilbhardwaj @infwinston : )
Thanks! I'll run some quick tests on this. |
@romilbhardwaj , my only concern about requiring pyyaml >= 6 is whether this would introduce pyyaml version conflicts between other third-party packages that are pinned to lower version of pyyaml. That said, since pyyaml 6 came out in 2021, I'd hope there are relatively few such issues at this point! Let me know if you'd like me to push that change, and of course feel free to add additional commits yourself 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @steve-marmalade! Left a comment on disallowing pyyaml versions that break with cython3.
Co-authored-by: Romil Bhardwaj <[email protected]>
@romilbhardwaj thanks for the review, should be ready for another look |
Great, thanks for the quick turnaround @steve-marmalade. I'm running some smoke tests, should be good to go if they pass. |
Smoke tests pass, this should be good to go. Thanks for taking the initiative on this @steve-marmalade! Tested:
|
@romilbhardwaj , how would you feel about releasing a |
@steve-marmalade we're planning to cut a new release ~2 weeks from now. Would that work? Thanks for your patience with this :) |
* cleaup some dependencies * Remove upper bound for click * upgrade actions * upgrade requirements docs * Add test for poetry --lock * fix poetry test * rename poetry test * fix * fix path * fix github env var * fix * fix poetry * Adopt changes from #2514 * increase poetry build time
This PR removes the upper bound on
pyyaml
, thus allowing installation of PyYAML 6 and resolving the issues outlined in #2285. This is a blocking issue in order to use the GCP DeepLearning VM images (e.g.projects/deeplearning-platform-release/global/images/pytorch-1-13-cpu-v20230807-debian-11-py310
), which come with PyYAML 6 already installed.I manually patched my environment and was able to spin up a GCP VM and successfully run functions using runhouse.
I apologize but I don't have the required cloud accounts need to run the smoke-tests described below.
Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
bash tests/backward_comaptibility_tests.sh