Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.9", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
Comment thread
agronholm marked this conversation as resolved.
Outdated
sqlalchemy-version: ["1.4", "2.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -20,8 +21,12 @@ jobs:
python-version: ${{ matrix.python-version }}
Comment thread
mhauru marked this conversation as resolved.
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: pip install -e .[test] coveralls
- name: Install dependencies SQLAlchemy 1.4
if: matrix.sqlalchemy-version == 1.4
run: pip install -e .[test,sqlmodel] coveralls SQLAlchemy==1.4.*
- name: Install dependencies SQLAlchemy 2.0
if: matrix.sqlalchemy-version == 2.0
run: pip install -e .[test] coveralls SQLAlchemy==2.0.*
- name: Test with pytest
run: coverage run -m pytest
- name: Upload Coverage
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ latest SQLAlchemy version).
Features
========

* Supports SQLAlchemy 1.4.x
* Supports SQLAlchemy 1.4.x and 2
* Produces declarative code that almost looks like it was hand written
* Produces `PEP 8`_ compliant code
* Accurately determines relationships, including many-to-many, one-to-one
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.7"
dependencies = [
"SQLAlchemy >= 1.4.36, < 2.0",
"SQLAlchemy >= 1.4.36",
"inflect >= 4.0.0",
"importlib_metadata; python_version < '3.10'",
]
Expand All @@ -44,6 +45,8 @@ test = [
"pytest-cov",
"psycopg2-binary",
"mysql-connector-python",
]
sqlmodel = [
"sqlmodel",
]
citext = ["sqlalchemy-citext >= 1.7.0"]
Expand Down Expand Up @@ -88,7 +91,7 @@ show_missing = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37, py38, py39, py310
envlist = py37, py38, py39, py310, py311
Comment thread
mhauru marked this conversation as resolved.
Outdated
skip_missing_interpreters = true
isolated_build = true

Expand Down
Loading