Skip to content

Commit b815f6d

Browse files
authored
chore: drop support for python3.7, support python3.13 (#326)
1 parent 54f00b5 commit b815f6d

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3.9, 3.8, 3.7, 3.6, 3-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3.7-bullseye, 3.6-bullseye, 3-buster, 3.10-buster, 3.9-buster, 3.8-buster, 3.7-buster, 3.6-buster
2-
ARG VARIANT=3.7
1+
# [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3.9, 3.8, 3-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3-buster, 3.10-buster, 3.9-buster, 3.8-buster
2+
ARG VARIANT=3.8
33
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
44

55
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
@@ -21,8 +21,8 @@ RUN git clone --depth=1 https://github.com/pyenv/pyenv.git .pyenv
2121
ENV PYENV_ROOT="/home/vscode/.pyenv"
2222
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
2323

24-
RUN pyenv install 3.7 3.8 3.9 3.10 3.11 3.12
25-
RUN pyenv local 3.7 3.8 3.9 3.10 3.11 3.12
24+
RUN pyenv install 3.8 3.9 3.10 3.11 3.12 3.13
25+
RUN pyenv local 3.8 3.9 3.10 3.11 3.12 3.13
2626
RUN pyenv global ${VARIANT}
2727

2828
# Set up pyenv-virtualenv

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dockerfile": "Dockerfile",
55
"context": "..",
66
"args": {
7-
// Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6
7+
// Update 'VARIANT' to pick a Python version: 3, 3.13, 3.12, 3.11, 3.10, 3.9, 3.8
88
// Append -bullseye or -buster to pin to an OS version.
99
// Use -bullseye variants on local on arm64/Apple Silicon.
1010
"VARIANT": "3.10",

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
matrix:
3535
os: [ubuntu-latest, macos-latest, windows-latest]
36-
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
36+
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
3737
steps:
3838
- uses: actions/checkout@v4
3939
- name: Setup Python

docs/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Running Tox locally
2323
#######################################
2424
1. Install Python versions for each supported version.
2525
2. Deactivate your local virtualenv (if it's activated).
26-
3. Run ``pyenv local 3.10.X 3.9.Y 3.8.Z 3.7.12`` (inserting appropriate patch versions).
26+
3. Run ``pyenv local 3.13.X 3.12.X 3.11.X 3.10.X 3.9.Y 3.8.Z`` (inserting appropriate patch versions).
2727
4. Run ``make install`` to get latest local dependencies.
2828
5. Run ``make tox`` to run tox.
2929

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ authors = [
99
description = "Python client for the Unleash feature toggle system!"
1010
dynamic = ["version"]
1111
readme = "README.md"
12-
requires-python = ">=3.7"
12+
requires-python = ">=3.8"
1313
classifiers=[
1414
"Development Status :: 5 - Production/Stable",
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: MIT License",
1717
"Typing :: Typed",
18-
"Programming Language :: Python :: 3.7",
1918
"Programming Language :: Python :: 3.8",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2424
]
2525

2626
dependencies=[

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[tox]
3-
envlist = py37,py38,py39,py310,py311
3+
envlist = py38,py39,py310,py311,py312,py313
44

55
[testenv]
66
deps = -rrequirements.txt

0 commit comments

Comments
 (0)