From bd5b1462db97f4f6350193759aee9c2038b1ef14 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:32:19 +0100 Subject: [PATCH] Update setuptools to 67.6.1 and wheel to 0.40.0 - Updated setuptools from 67.5.0 to 67.6.1. - Updated wheel from 0.38.4 to 0.40.0. Of note, the setuptools introduces more strict parsing of version specifiers (some invalid but previously accepted package version strings will now be rejected by setuptools, if they don't conform to PEP 440). If errors are encountered installing packages due to invalid package version strings, then users will need to update to fixed versions of those packages, or else pin to a previous buildpack release until the affected package is fixed. For more information, see: - https://setuptools.pypa.io/en/stable/history.html#v66-0-0 - https://peps.python.org/pep-0440/ In addition, changes have been made to the way setuptools handles editable installs, that may affect some projects using editable mode (`-e`) depending on the project layout. See: - https://setuptools.pypa.io/en/stable/history.html#v64-0-0 - https://setuptools.pypa.io/en/stable/userguide/development_mode.html Full changelogs: https://setuptools.pypa.io/en/stable/history.html#v67-6-1 https://wheel.readthedocs.io/en/stable/news.html GUS-W-12346556. GUS-W-13011106. --- CHANGELOG.md | 2 ++ bin/steps/python | 4 ++-- spec/spec_helper.rb | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37c62c401..978a87390 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Updated setuptools from 63.4.3 to 67.6.1. ([#1437](https://github.com/heroku/heroku-buildpack-python/pull/1437)) +- Updated wheel from 0.38.4 to 0.40.0. ([#1437](https://github.com/heroku/heroku-buildpack-python/pull/1437)) ## v230 (2023-04-06) diff --git a/bin/steps/python b/bin/steps/python index 9fce011c0..5d83de3f7 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -174,8 +174,8 @@ else fi PIP_VERSION='23.0.1' -SETUPTOOLS_VERSION='63.4.3' -WHEEL_VERSION='0.38.4' +SETUPTOOLS_VERSION='67.6.1' +WHEEL_VERSION='0.40.0' puts-step "Installing pip ${PIP_VERSION}, setuptools ${SETUPTOOLS_VERSION} and wheel ${WHEEL_VERSION}" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index f7425afda..4df1d47af 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -14,8 +14,8 @@ DEFAULT_PYTHON_VERSION = LATEST_PYTHON_3_11 PIP_VERSION = '23.0.1' -SETUPTOOLS_VERSION = '63.4.3' -WHEEL_VERSION = '0.38.4' +SETUPTOOLS_VERSION = '67.6.1' +WHEEL_VERSION = '0.40.0' # Work around the return value for `default_buildpack` changing after deploy: # https://github.com/heroku/hatchet/issues/180