Uh oh!
There was an error while loading. Please reload this page.
Add poetry caching support - #281
Conversation
7dc18af to
63a127cCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
f1b64ab to
63a127cComparepatrick91
commented
Nov 27, 2021
I've tested this here: https://github.com/patrick91/test-action-poetry-cache/runs/4341929604?check_suite_focus=true |
da28c46 to
99a5f2bComparefloatingpurr
commented
Dec 22, 2021
Great improvement! |
dimaqq
commented
Jan 20, 2022
Keep going! :) |
Zxilly
commented
Jan 30, 2022
Any update on this? |
99a5f2b to
0f8afe0Comparepatrick91
commented
Jan 31, 2022
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 😊 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dmitry-shibanov
commented
Feb 18, 2022
Could you please sync with the main branch ? |
0f8afe0 to
7f80679Comparepatrick91
commented
Feb 18, 2022
I closed this by mistake :) @dmitry-shibanov the PR should be up to date now! |
dmitry-shibanov
commented
Feb 21, 2022
Hello @patrick91. Could you please run these commands:
|
patrick91
commented
Feb 21, 2022
@dmitry-shibanov done! |
92cd993 to
a1cc6a7Comparepatrick91
commented
Feb 25, 2022
Not 100% sure why the CI failied, I'll try to take a look soon, maybe a rebase helps 😊 |
57c8ee5 to
a580a2dComparepatrick91
commented
Mar 7, 2022
Rebased this again :) |
a580a2d to
86304bcComparem0ar
commented
Mar 9, 2022
Super stoked for this! Keep the good work up @patrick91 💘 |
rc-mattschwager
commented
Mar 25, 2022
Friendly bump here, can a maintainer at least approve the CI workflows so the submitter can see if everything's still passing?
|
86304bc to
aac0ef9Comparepatrick91
commented
Mar 29, 2022
@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 |
brcrista
commented
Mar 30, 2022
@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 |
patrick91
commented
Mar 30, 2022
@brcrista done 😊 |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
Zxilly
commented
Mar 31, 2022
nice work |
m0ar
commented
Apr 1, 2022
@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.0https://github.com/actions/setup-python/tree/v3.1.0actions/setup-python#281
Add poetry caching support

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: