Comments (7)
I think if you specify your python version explicitly rather than 3.x, and set a new restore key for the cache your problem will go away. When you have one version of python installed and create an environment with that, and then a new python is added to GitHub actions your env breaks. Set 3.9.12 for example in your inputs.
from install-poetry.
Yeah that makes sense. Thanks @miigotu, I'll update my workflows too 😄
from install-poetry.
Thanks @miigotu and @sondrelg for the tips, I'll do as you suggest!
from install-poetry.
Awesome, thanks @miigotu 😊
from install-poetry.
Think this is a Github actions cache issue. It happens to me every few weeks 👍
from install-poetry.
Huh! Strange. Do you have any recommendations for preventing this failing in future, other than incrementing the cache?
from install-poetry.
Was on my way out and answered a little more briefly than I should have; what I should have said was:
I'm not exactly sure what happens, but it seems like the cache expires or something alone those lines. I don't think it has anything to do with Poetry, as Poetry in this equation is only the tool we use to generate and configure our virtual environment. The storing of the venv is wholly the responsibility of the cache action. At least that's how I see it 👍
I'm sure there are ways to auto-increment the counter if the cache actions fails, but I don't have a ready solution to suggest 🙂
from install-poetry.
Related Issues (20)
- poetry: command not found HOT 2
- Skip poetry install step with cache hit HOT 10
- Poetry fails on matrix strategies combinations HOT 4
- Add env: section to parse envs that are used in each poetry call HOT 1
- .venv caching is not working using composable actions? HOT 3
- urllib.error.URLError: <urlopen error unknown url type: https> HOT 4
- Error: `GLIBC_2.34' not found HOT 2
- poetry: command not found - When running multiple self-hosted runners on the same machine. HOT 4
- The `with` `virtualenvs-in-project` setting does not seem to work for me HOT 5
- Cache not found HOT 3
- Does not respect POETRY_HOME HOT 2
- Actions started failing recently. HOT 15
- Shared Library Error (libpython3.8.so.1.0) on builds using runner with python 3.9 or above HOT 1
- Poetry Requires Python 3.8+ HOT 3
- $VENV not set on Poetry installation cache restore HOT 3
- How to change working-directory ? HOT 5
- Install poetry in self-hosted github runner to allow different python versions HOT 9
- Virtual environment created in wrong location
- Calling poetry via CMake script on Windows HOT 4
- Update docs for Windows Server 2019 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from install-poetry.