Skip to content

Commit 048f76b

Browse files
author
Denis Navarro
committed
chore(*): Remove Python 3.7 support and add Python 3.11 and Python 3.12 support
1 parent 42dc93e commit 048f76b

File tree

13 files changed

+65
-16
lines changed

13 files changed

+65
-16
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-python@v4
2020
with:
21-
python-version: '3.10'
21+
python-version: '3.12'
2222
- name: version
2323
run: sed -i "s/__version__ = '.*'/__version__ = '$VERSION'/g" aiodi/__init__.py
2424
- name: deps

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ ubuntu-latest ]
17-
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
17+
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- uses: actions/setup-python@v4

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/python:3.7-slim AS production
1+
FROM docker.io/library/python:3.8-slim AS production
22

33
WORKDIR /app
44

LICENSE

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

3-
Copyright (c) 2022 aiopy
3+
Copyright (c) 2022 - 2023 aiopy
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ if __name__ == '__main__':
167167

168168
## Requirements
169169

170-
- Python >= 3.7
170+
- Python >= 3.8
171171

172172
## Contributing
173173

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ services:
88
volumes:
99
- .:/app
1010

11-
version: "3.7"
11+
version: "3.8"

docs_src/docs/en/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Key Features:
1010

1111
## Requirements
1212

13-
- Python 3.7+
13+
- Python 3.8+
1414

1515
## Installation
1616

docs_src/docs/es/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Funcionalidades clave:
1010

1111
## Requisitos
1212

13-
- Python 3.7+
13+
- Python 3.8+
1414

1515
## Instalación
1616

docs_src/generated/en/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ <h1 id="aiodi">AIODI</h1>
418418
</ul>
419419
<h2 id="requirements">Requirements</h2>
420420
<ul>
421-
<li>Python 3.7+</li>
421+
<li>Python 3.8+</li>
422422
</ul>
423423
<h2 id="installation">Installation</h2>
424424
<div class="highlight"><pre><span></span><code>python3 -m pip install aiodi

docs_src/generated/en/search/search_index.json

Lines changed: 48 additions & 1 deletion
Large diffs are not rendered by default.

docs_src/generated/es/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ <h1 id="aiodi">AIODI</h1>
418418
</ul>
419419
<h2 id="requisitos">Requisitos</h2>
420420
<ul>
421-
<li>Python 3.7+</li>
421+
<li>Python 3.8+</li>
422422
</ul>
423423
<h2 id="instalacion">Instalación</h2>
424424
<div class="highlight"><pre><span></span><code>python3 -m pip install aiodi

docs_src/generated/es/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ classifiers = [
2424
"Intended Audience :: Developers",
2525
"License :: OSI Approved :: MIT License",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.7",
2827
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12",
3132
]
3233
dependencies = [
3334
'tomli==2.0.1; python_version<"3.11"',
@@ -38,7 +39,7 @@ keywords = ["di", "dependency", "container", "aio", "async"]
3839
license = { text = "MIT" }
3940
name = "aiodi"
4041
readme = "README.md"
41-
requires-python = ">=3.7"
42+
requires-python = ">=3.8"
4243

4344
[project.optional-dependencies]
4445
dev = [
@@ -157,18 +158,19 @@ for pathname in ['./build', './*.egg-info', './dist', './var', '**/__pycache__']
157158
[tool.tox]
158159
legacy_tox_ini = """
159160
[tox]
160-
envlist = py37, py38, py39, py310
161+
envlist = py38, py39, py310, py311, py312
161162
isolated_build = True
162163
skipsdist = True
163164
skip_missing_interpreters = True
164165
toxworkdir = var/tox
165166
166167
[gh-actions]
167168
python =
168-
3.7: py37
169169
3.8: py38
170170
3.9: py39
171171
3.10: py310
172+
3.11: py311
173+
3.12: py312
172174
173175
[testenv]
174176
deps = .[dev,deploy,docs,fmt,security-analysis,static-analysis,test]

0 commit comments

Comments
 (0)