Skip to content

Commit 8781a9e

Browse files
authored
Merge pull request #311 from pre-commit-ci/asottile-patch-1
add python 3.14, remove python 3.9
2 parents f2f88c4 + f51d099 commit 8781a9e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@ RUN : \
4747
&& apt-get update \
4848
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
4949
pypy3-dev \
50-
python3.9-dev \
51-
python3.9-distutils \
5250
python3.10-dev \
5351
python3.10-distutils \
5452
python3.11-dev \
5553
python3.11-distutils \
5654
python3.13-dev \
55+
python3.14-dev \
5756
&& apt-get clean \
5857
&& rm -rf /var/lib/apt/lists/* \
5958
&& :
@@ -74,7 +73,7 @@ ENV \
7473
XDG_DATA_HOME=/tmp/data
7574
COPY requirements.txt /tmp/requirements.txt
7675
RUN : \
77-
&& curl --silent --location --output /tmp/virtualenv.pyz https://bootstrap.pypa.io/virtualenv/3.9/virtualenv.pyz \
76+
&& curl --silent --location --output /tmp/virtualenv.pyz https://bootstrap.pypa.io/virtualenv/3.10/virtualenv.pyz \
7877
&& python3.12 /tmp/virtualenv.pyz /venv \
7978
&& pip install --requirement /tmp/requirements.txt \
8079
&& rm -rf "$XDG_DATA_HOME" /tmp/virtualenv.pyz \

bin/_info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ def main() -> int:
4747
print('others')
4848
print()
4949
with _console():
50-
_call('python3.9', '--version', '--version')
51-
print()
5250
_call('python3.10', '--version', '--version')
5351
print()
5452
_call('python3.11', '--version', '--version')
5553
print()
5654
_call('python3.13', '--version', '--version')
5755
print()
56+
_call('python3.14', '--version', '--version')
57+
print()
5858
_call('pypy3', '--version', '--version')
5959
print()
6060

build/seed-virtualenv-cache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def main() -> int:
2727
subprocess.check_call(('virtualenv', '/tmp/v', '-p', python))
2828
shutil.rmtree('/tmp/v')
2929
# additionally seed the `python3 -m` executable
30-
subprocess.check_call(('python3', '-mvirtualenv', '/tmp/v', '-ppython3.9'))
30+
cmd = ('python3', '-mvirtualenv', '/tmp/v', '-ppython3.10')
31+
subprocess.check_call(cmd)
3132
shutil.rmtree('/tmp/v')
3233
return 0
3334

0 commit comments

Comments
 (0)