From e8162ed406813b76deeb1b4ccba580e36d69d041 Mon Sep 17 00:00:00 2001 From: Joey den Broeder Date: Fri, 12 Jul 2024 21:54:45 +0100 Subject: [PATCH] Update to Python 3.10.14, update CDN location Also updates pip / pip-tools --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 2 +- Makefile | 4 ++-- bin/install-python | 2 +- dependencies-stage.yml | 9 +++++---- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ec772809..ff2771955 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.10.13 + python-version: 3.10.14 cache: pip - name: Install Python requirements run: make install_requirements diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d16e1f853..b8c5cbb9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.10.13 + python-version: 3.10.14 cache: pip - name: Install Python requirements run: make install_requirements diff --git a/Makefile b/Makefile index dfba7c789..93e4420e3 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ TEST_FILES ?= tests/integration/test_*.py VERSION ?= $(shell git tag --list --sort=-version:refname "v*" | head -n 1) COMMIT ?= $(shell git rev-parse --short HEAD) -PIP_TOOLS_VERSION ?= 7.4.0 -PIP_VERSION ?= 24.0 +PIP_TOOLS_VERSION ?= 7.4.1 +PIP_VERSION ?= 24.1.2 PYTHON_PLATFORM ?= manylinux2014_x86_64 PYTHON_VERSION ?= 310 diff --git a/bin/install-python b/bin/install-python index 97f4f9549..cf638cf9c 100755 --- a/bin/install-python +++ b/bin/install-python @@ -39,7 +39,7 @@ function setup_online(){ install_dir="$2" buildpack_dir="$3" - curl -Ls "https://cdn.mendix.com/tmp-buildpacks/python_3.10.13_linux_x64_cflinuxfs4_04ab8c1b.tgz" | tar -xzf - -C "$install_dir" + curl -Ls "https://cdn.mendix.com/mx-buildpack/python/python_3.10.14_linux_x64_cflinuxfs4_dda5228c.tgz" | tar -xzf - -C "$install_dir" } function get_python_from_manifest() { diff --git a/dependencies-stage.yml b/dependencies-stage.yml index da86a6c9b..d7994f9e4 100644 --- a/dependencies-stage.yml +++ b/dependencies-stage.yml @@ -1,8 +1,9 @@ --- +# https://github.com/cloudfoundry/python-buildpack/blob/master/manifest.yml - name: python - version: 3.10.13 - uri: https://cdn.mendix.com/tmp-buildpacks/python_3.10.13_linux_x64_cflinuxfs4_04ab8c1b.tgz - sha256: 04ab8c1b6b0d1f8fd8a03d932bf8cc6744843ad12bb5e801784b7ff470aa7401 + version: 3.10.14 + uri: https://cdn.mendix.com/mx-buildpack/python/python_3.10.14_linux_x64_cflinuxfs4_dda5228c.tgz + sha256: dda5228c36196f8a7346767ad9c9ac774ec270aa55065beb8d3d052d652b9120 cf_stacks: - cflinuxfs4 - source_sha256: 698ec55234c1363bd813b460ed53b0f108877c7a133d48bde9a50a1eb57b7e65 + source_sha256: cefea32d3be89c02436711c95a45c7f8e880105514b78680c14fe76f5709a0f6