Skip to content

Commit 8a52d08

Browse files
authored
Drop python3.8 support (#4)
* Drop py37 support * feat: drop support for py38 * chore: update ci action versions
1 parent 76cf986 commit 8a52d08

File tree

9 files changed

+481
-582
lines changed

9 files changed

+481
-582
lines changed

.github/workflows/pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
publish:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-python@v4
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-python@v5
1212
with:
1313
python-version: '3.x'
1414
- name: Install and configure Poetry

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# ChangeLog
22

3+
## 0.2
4+
5+
### 0.2.0
6+
7+
- Drop support for Python3.8
8+
39
## 0.1
410

511
### 0.1.2

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
checkfiles = tortoise_cli/ tests/ examples/ conftest.py
2-
black_opts = -l 100 -t py38
2+
black_opts = -l 100 -t py39
33
py_warn = PYTHONDEVMODE=1
44

55
up:
66
@poetry update
77

88
deps:
9-
@poetry install
9+
@poetry install --all-groups
1010

1111
style: deps
1212
isort -src $(checkfiles)
@@ -19,7 +19,7 @@ check: deps
1919

2020

2121
test: deps
22-
$(py_warn) py.test
22+
$(py_warn) pytest
2323

2424
build: deps
2525
@poetry build

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ Or you can set config by set environment variable.
6060
```shell
6161
export TORTOISE_ORM=settings.TORTOISE_ORM
6262
```
63+
Or you can set it in `pyproject.toml`.
64+
65+
```toml
66+
[tool.aerich]
67+
tortoise_orm = "my_module.TORTOISE_ORM"
68+
```
6369

6470
Then just run:
6571

0 commit comments

Comments
 (0)