Closed HenriqueAJNB closed 1 year ago
Hello @HenriqueAJNB, I had a similar issue, I solved using Poetry version 1.1.10. Give it a try!
Hello @HenriqueAJNB, I had a similar issue, I solved using Poetry version 1.1.10. Give it a try!
@fabiogallotti you installed in your local computer and then pushed to run the CI/CD? I ran the setup poetry using Gr1N/setup-poetry@v7
. Is there a way to specify the poetry version?
Maybe using the following code in .yml
file?
- name: Poetry
uses: Gr1N/setup-poetry@v7
with:
poetry: 1.1.10
Yes @HenriqueAJNB, you can specify the poetry version like this:
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.1.10
Tried to run with poetry 1.1.10, same error. It seems to be some cache saved at GitHub Actions server that is blocking my CI/CD to run...
Hi there,
maybe it is not directly related, but nevertheless I wanted to report it here. At [1], we have been tripped by the error outlined at https://github.com/python-poetry/poetry/issues/4056.
After upgrading to Gr1N/setup-poetry@v7
and poetry-version: 1.1.11
(https://github.com/daq-tools/wireviz-web/commit/88db933), everything went back to normal.
Thanks, Nikita!
With kind regards, Andreas.
[1] https://github.com/daq-tools/wireviz-web/runs/3977875929
I'm facing a problem with Poetry and GitHub actions in the last days. Maybe because Poetry has an updated version.
Information
I'm using the following
.yml
file for the CI/CDWhenever it runs, during the
Dependencies
job, it fails and I've got the following errorAttempts
At first I was using the
Gr1N/setup-poetry@v4
and I notice that it was outdated. I've tried to update it toGr1N/setup-poetry@v7
, but didn't work.I also received this
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
. I've tried to deletepoetry.lock
and runpoetry update
to generate a new one, no success at all.