-
Notifications
You must be signed in to change notification settings - Fork 7
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 <module> 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-devoption is deprecated, use the--only mainnotation instead.\n\npyproject.toml changed significantly since poetry.lock was last generated. Runpoetry 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.