Skip to content

Commit f22f473

Browse files
author
Sergey Bondarenko
committed
Dropped support of old SQLAlchemy and Django versions
1 parent f168599 commit f22f473

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/testing.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
python-version: [3.11, 3.12, 3.13]
11-
sqlalchemy-version: [1.3, 1.4]
12-
django-version: [2.2, 4.2]
13-
name: Test Py ${{ matrix.python-version }}, SQLA ${{ matrix.sqlalchemy-version }}, Django ${{ matrix.django-version }}
11+
name: Test Py ${{ matrix.python-version }}
1412
steps:
1513
- uses: actions/checkout@v3
1614
- name: Set up Python ${{ matrix.python-version }}
@@ -23,19 +21,17 @@ jobs:
2321
version: 1.3.2
2422
- name: Install dependencies
2523
run: |
26-
sed -i.bak 's/^SQLAlchemy = .*/SQLAlchemy = "^${{ matrix.sqlalchemy-version }}"/' pyproject.toml
27-
sed -i.bak 's/^Django = .*/Django = "^${{ matrix.django-version }}"/' pyproject.toml
2824
poetry install
2925
- name: Test with pytest
3026
run: |
3127
poetry run pytest -rfs --cov --cov-config=.coveragerc --cov-report="" --disable-warnings
32-
cp .coverage ".coverage.${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.django-version }}"
28+
cp .coverage ".coverage.${{ matrix.python-version }}"
3329
- name: Upload coverage report
3430
uses: actions/upload-artifact@v4
3531
with:
36-
name: coverage-reports-${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.django-version }}
32+
name: coverage-reports-${{ matrix.python-version }}
3733
include-hidden-files: true
38-
path: ".coverage.${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.django-version }}"
34+
path: ".coverage.${{ matrix.python-version }}"
3935

4036
coverage-check:
4137
name: Coverage check

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ packages = [
2929

3030
[tool.poetry.dependencies]
3131
python = "^3.11"
32-
Django = ">=2"
32+
Django = ">=4.2"
3333
docstring-parser = ">=0.1"
3434
furl = ">=2.0.0, <3"
3535
python-dateutil = "^2.8.2"
3636
injector = ">=0.15.0, <1"
37-
SQLAlchemy = ">=1.3, <2"
37+
SQLAlchemy = ">=1.4, <2"
3838
typing-extensions = "^4.8"
3939
StrEnum = "^0.4.8"
4040
openapi-pydantic = ">=0.5.0, <0.6"

0 commit comments

Comments
 (0)