Skip to content

Bump idna from 3.4 to 3.7 #1575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions tools/poetry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@
# • The default full path to the Poetry that will be installed and run by
# this script (not present until after ensure-poetry or run-poetry is
# executed).
# * WANT_POETRY_VERSION (overridable) (default 1.5.1)
# * WANT_POETRY_VERSION (overridable) (default 1.8.2)
# • The version of Poetry that will be installed by run-poetry when executed.
# * POETRY_PYTHON_VERSION (overridable) (default to result of find-python)
# • The Python binary to use by the Poetry installer and virtual environment(s).

# Load vars and utils:
. "$(dirname "${BASH_SOURCE[0]}")/use.sh" python paths base with_lock download

: "${WANT_POETRY_VERSION:=1.5.1}"
: "${POETRY_PYTHON_BINARY:="$(find-python)"}"
: "${WANT_POETRY_VERSION:=1.8.2}"
declare -r -x POETRY_HOME=${FORCE_POETRY_HOME:-"$BUILD_CACHE_DIR/poetry-$WANT_POETRY_VERSION"}
declare -r POETRY_EXE=$POETRY_HOME/bin/poetry$EXE_SUFFIX

Expand All @@ -49,6 +48,7 @@ install-poetry() {
installer=$poetry_home/install-poetry.py
download-file --uri=https://install.python-poetry.org --out="$installer"
# Run the install:
: "${POETRY_PYTHON_BINARY:="$(find-python)"}"
with-lock "$POETRY_HOME/.install.lock" \
env POETRY_HOME="$poetry_home" \
"$POETRY_PYTHON_BINARY" -u "$installer" --yes --version "$poetry_version" \
Expand All @@ -66,6 +66,7 @@ ensure-poetry() {
if ! is-file "$home/installed.txt" || [[ "$(cat "$home/installed.txt")" != "$version" ]]; then
install-poetry "$version" "$home"
fi
: "${POETRY_PYTHON_BINARY:="$(find-python)"}"
# Extra step must be taken to ensure Poetry's virtual environment uses the correct Python binary.
# See: https://github.com/python-poetry/poetry/issues/522
with-lock "$POETRY_HOME/.install.lock" \
Expand Down