dbarzin / pandora-box

USB Scanning device
GNU General Public License v3.0
20 stars 2 forks source link

Poetry install command has changed #6

Closed Foxi352 closed 1 year ago

Foxi352 commented 1 year ago

Ubuntu 22.04 fully updated, latest version of main branch:

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy

sudo ./install.sh

+ su - swagener -c 'curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -'
Retrieving Poetry metadata

This installer is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023.
See https://github.com/python-poetry/poetry/issues/6377 for details.

You should migrate to https://install.python-poetry.org instead, which supports all versions of Poetry, and allows for `self update` of versions 1.1.7 or newer.
Instructions are available at https://python-poetry.org/docs/#installation.

Without an explicit version, this installer will attempt to install the latest version of Poetry.
This installer cannot install Poetry 1.2.0a1 or newer (and installs will be unable to `self update` to 1.2.0a1 or newer).

To continue to use this deprecated installer, you must specify an explicit version with --version <version> or POETRY_VERSION=<version>.
Alternatively, if you wish to force this deprecated installer to use the latest installable release, set GET_POETRY_IGNORE_DEPRECATION=1.

Version 1.2.1 is not supported by this installer! Please specify a version prior to 1.2.0a1 to continue!

Replacing the poetry install line with su - $SUDO_USER -c "curl -sSL https://install.python-poetry.org | python3 -" did the trick.

dbarzin commented 1 year ago

Thanks for the hint !

dbarzin commented 1 year ago

Fixed !