Giter Site home page Giter Site logo

Comments (7)

miigotu avatar miigotu commented on June 11, 2024 4

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.

sondrelg avatar sondrelg commented on June 11, 2024 1

Yeah that makes sense. Thanks @miigotu, I'll update my workflows too 😄

from install-poetry.

connortann avatar connortann commented on June 11, 2024 1

Thanks @miigotu and @sondrelg for the tips, I'll do as you suggest!

from install-poetry.

JonasKs avatar JonasKs commented on June 11, 2024 1

Awesome, thanks @miigotu 😊

from install-poetry.

sondrelg avatar sondrelg commented on June 11, 2024

Think this is a Github actions cache issue. It happens to me every few weeks 👍

from install-poetry.

connortann avatar connortann commented on June 11, 2024

Huh! Strange. Do you have any recommendations for preventing this failing in future, other than incrementing the cache?

from install-poetry.

sondrelg avatar sondrelg commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.