Skip to content

Commit d1d12eb

Browse files
authored
Merge pull request #280 from pre-commit-ci/3-13
add python 3.13 and remove python 3.8
2 parents b365cc9 + 5f9fb19 commit d1d12eb

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

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.8-dev \
51-
python3.8-distutils \
5250
python3.9-dev \
5351
python3.9-distutils \
5452
python3.11-dev \
5553
python3.11-distutils \
5654
python3.12-dev \
55+
python3.13-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.8/virtualenv.pyz \
76+
&& curl --silent --location --output /tmp/virtualenv.pyz https://bootstrap.pypa.io/virtualenv/3.9/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.8', '--version', '--version')
51-
print()
5250
_call('python3.9', '--version', '--version')
5351
print()
5452
_call('python3.10', '--version', '--version')
5553
print()
5654
_call('python3.11', '--version', '--version')
5755
print()
56+
_call('python3.13', '--version', '--version')
57+
print()
5858
_call('pypy3', '--version', '--version')
5959
print()
6060

build/seed-virtualenv-cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ 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.8'))
30+
subprocess.check_call(('python3', '-mvirtualenv', '/tmp/v', '-ppython3.9'))
3131
shutil.rmtree('/tmp/v')
3232
return 0
3333

0 commit comments

Comments
 (0)