goblet / goblet/goblet-github-actions

Usage of Poetry 1.8.2 fails

Open
#44 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
5
Forks
7
PR merge metrics
No merged PRs in 30d

Description

When trying to use Poetry version 1.8.2 it fails because --no-dev option is deprecated (should be checked since what versions it fails, 1.5.2 works anyway).

`Traceback (most recent call last):
File "/entrypoint.py", line 47, in
raise Exception(
Notice: RNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\n\n[notice] A new release of pip is available: 23.1.2 -> 24.0\n[notice] To update, run: pip install --upgrade pip\n", b'', b'Skipping virtualenv creation, as specified in config file.\nThe `--no-dev` option is deprecated, use the `--only main` notation instead.\n\npyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock [--no-update]` to fix the lock file.\n']`

I guess the fix is not straightforward because the Poetry version is a parameter in the action so we would need to check versions and stuffs. Suggestions welcomed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.