mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
chore: replace deprecated '--no-dev' flag of poetry
This commit is contained in:
@@ -60,7 +60,7 @@ then
|
||||
|
||||
python -m pip install -U pip wheel
|
||||
python -m pip install -U --force-reinstall setuptools
|
||||
poetry install --no-dev
|
||||
poetry install --only main
|
||||
python -m pip install pip-licenses
|
||||
pip-licenses | grep -v "pkg\-resources\|concrete-numpy" | tee "${NEW_LICENSES_FILENAME}"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ no_dev_file=$(mktemp --suffix=.txt)
|
||||
all_file=$(mktemp --suffix=.txt)
|
||||
dev_file=$(mktemp --suffix=.txt)
|
||||
|
||||
poetry show -o -t --no-dev | grep -v -e "--" | cut -d " " -f 1 | sed 's/$/\@latest/g' > "${no_dev_file}"
|
||||
poetry show -o -t --only main | grep -v -e "--" | cut -d " " -f 1 | sed 's/$/\@latest/g' > "${no_dev_file}"
|
||||
poetry show -o -t | grep -v -e "--" | cut -d " " -f 1 | sed 's/$/\@latest/g' > "${all_file}"
|
||||
join -v1 -v2 "${all_file}" "${no_dev_file}" > "${dev_file}"
|
||||
# shellcheck disable=SC2002
|
||||
|
||||
Reference in New Issue
Block a user