Skip to content

Commit 72cd025

Browse files
authored
Merge pull request #5769 from Kurt-von-Laven/upgrade-python
Add support for Python 3.10.7 and 3.[7-9].14
2 parents d352157 + 6c4702f commit 72cd025

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ ENV PYENV_ROOT=/usr/local/.pyenv \
102102
PATH="/usr/local/.pyenv/bin:$PATH"
103103
RUN mkdir -p "$PYENV_ROOT" && chown dependabot:dependabot "$PYENV_ROOT"
104104
USER dependabot
105-
RUN git -c advice.detachedHead=false clone https://github.com/pyenv/pyenv.git --branch v2.3.4 --single-branch --depth=1 /usr/local/.pyenv \
105+
RUN git -c advice.detachedHead=false clone https://github.com/pyenv/pyenv.git --branch v2.3.5 --single-branch --depth=1 /usr/local/.pyenv \
106106
# This is the version of CPython that gets installed
107-
&& pyenv install 3.10.6 \
108-
&& pyenv global 3.10.6 \
107+
&& pyenv install 3.10.7 \
108+
&& pyenv global 3.10.7 \
109109
&& rm -Rf /tmp/python-build*
110110
USER root
111111

python/helpers/build

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ cp -r \
1818
"$install_dir"
1919

2020
cd "$install_dir"
21-
PYENV_VERSION=3.10.6 pyenv exec pip --disable-pip-version-check install --use-pep517 -r "requirements.txt"
21+
PYENV_VERSION=3.10.7 pyenv exec pip --disable-pip-version-check install --use-pep517 -r "requirements.txt"

python/lib/dependabot/python/python_versions.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ module Dependabot
44
module Python
55
module PythonVersions
66
PRE_INSTALLED_PYTHON_VERSIONS = %w(
7-
3.10.6
7+
3.10.7
88
).freeze
99

1010
# Due to an OpenSSL issue we can only install the following versions in
1111
# the Dependabot container.
1212
SUPPORTED_VERSIONS = %w(
13-
3.10.6 3.10.5 3.10.4 3.10.3 3.10.2 3.10.1 3.10.0
14-
3.9.13 3.9.12 3.9.11 3.9.10 3.9.9 3.9.8 3.9.7 3.9.6 3.9.5 3.9.4 3.9.2 3.9.1 3.9.0
15-
3.8.13 3.8.12 3.8.11 3.8.10 3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 3.8.2 3.8.1 3.8.0
16-
3.7.13 3.7.12 3.7.11 3.7.10 3.7.9 3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3 3.7.2 3.7.1 3.7.0
13+
3.10.7 3.10.6 3.10.5 3.10.4 3.10.3 3.10.2 3.10.1 3.10.0
14+
3.9.14 3.9.13 3.9.12 3.9.11 3.9.10 3.9.9 3.9.8 3.9.7 3.9.6 3.9.5 3.9.4 3.9.2 3.9.1 3.9.0
15+
3.8.14 3.8.13 3.8.12 3.8.11 3.8.10 3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 3.8.2 3.8.1 3.8.0
16+
3.7.14 3.7.13 3.7.12 3.7.11 3.7.10 3.7.9 3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3 3.7.2 3.7.1 3.7.0
1717
3.6.15 3.6.14 3.6.13 3.6.12 3.6.11 3.6.10 3.6.9 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3
1818
3.6.2 3.6.1 3.6.0 3.5.10 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4 3.5.3
1919
).freeze

python/spec/dependabot/python/update_checker/pipenv_version_resolver_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
to start_with("Dependabot detected the following Python")
219219
expect(error.message).to include("3.4.*")
220220
expect(error.message).
221-
to include("supported in Dependabot: 3.10.6, 3.10.5, 3.10.4")
221+
to include("supported in Dependabot: 3.10.7, 3.10.6, 3.10.5")
222222
end
223223
end
224224
end

0 commit comments

Comments
 (0)