-
Notifications
You must be signed in to change notification settings - Fork 552
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
Add poetry caching support #281
Conversation
7dc18af
to
63a127c
Compare
f1b64ab
to
63a127c
Compare
da28c46
to
99a5f2b
Compare
Great improvement! |
Keep going! :) |
Any update on this? |
99a5f2b
to
0f8afe0
Compare
I've rebased the PR, but we have to wait the mainteners to review the PR. They are probably busy with other priorities so we'll probably have to wait a bit 😊 |
Could you please sync with the main branch ? |
0f8afe0
to
7f80679
Compare
I closed this by mistake :) @dmitry-shibanov the PR should be up to date now! |
Hello @patrick91. Could you please run these commands:
|
@dmitry-shibanov done! |
92cd993
to
a1cc6a7
Compare
Not 100% sure why the CI failied, I'll try to take a look soon, maybe a rebase helps 😊 |
57c8ee5
to
a580a2d
Compare
Rebased this again :) |
a580a2d
to
86304bc
Compare
Super stoked for this! Keep the good work up @patrick91 💘 |
Friendly bump here, can a maintainer at least approve the CI workflows so the submitter can see if everything's still passing?
|
86304bc
to
aac0ef9
Compare
@dmitry-shibanov pipenv seems to fail on main too, shall I sent a PR to try and fix that? Also I did rebase and ran |
@patrick91 I looked at that failure briefly but couldn't figure it out. If you know what the issue is and want to submit a separate PR, that would be great. Otherwise, we don't need to block this on that. What you do need to fix is the |
@brcrista done 😊 |
Co-authored-by: Brian Cristante <[email protected]>
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.
Thank you @patrick91!
nice work |
@patrick91 Thank you! 🧁 💘 |
As of yesterday, `@actions/setup-python@v3` supports this via v3.1.0: [Release](https://github.com/actions/setup-python/releases/tag/v3.1.0), [Tag](https://github.com/actions/setup-python/tree/v3.1.0), actions/setup-python#281 ```yaml steps: - uses: actions/checkout@v3 - name: Install poetry run: pipx install poetry - uses: actions/setup-python@v3 with: python-version: '3.9' cache: 'poetry' - run: poetry install - run: poetry run pytest ``` See also: python-poetry/poetry#4205
…ython@v3 poetry install will pick up the python binary at the time it was installed (before actions/python ran) so it looks like poetry env needs to be set manually. https://github.com/actions/setup-python/releases/tag/v3.1.0 https://github.com/actions/setup-python/tree/v3.1.0 actions/setup-python#281
Description:
A continuation of #266 to add support for caching poetry's virtualenv
This is still draft, I need to implement the actual caching, but it is good to start running the tests early :)
Check list: