Skip to content

Commit 67e3965

Browse files
authored
Support newer Python versions / Unsupport older Python versions (#89)
* Fix tox run * Add settings to gitignore * Add testing for multiple SQLA versions. Drop py36 testing * Drop py36 tests. Add 3.8, 3.9 and pypy-3.8 * Update supported languages * Update changelog
1 parent a8c5295 commit 67e3965

File tree

5 files changed

+22
-13
lines changed

5 files changed

+22
-13
lines changed

.github/workflows/run-tests.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,24 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17-
- "3.6"
1817
- "3.7"
18+
- "3.8"
19+
- "3.9"
20+
- "pypy-3.8"
1921
sqlalchemy-version:
2022
- "1.0.0"
2123
- "1.1.0"
2224
- "1.2.0"
2325
- "1.3.0"
2426
include:
25-
- os: ubuntu-20.04
26-
python-version: "3.6"
2727
- os: ubuntu-22.04
2828
python-version: "3.7"
29+
- os: ubuntu-latest
30+
python-version: "3.8"
31+
- os: ubuntu-latest
32+
python-version: "3.9"
33+
- os: ubuntu-latest
34+
python-version: "pypy-3.8"
2935

3036
runs-on: ${{ matrix.os }}
3137
steps:

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ __pycache__
2626
_build
2727
.ropeproject
2828
_themes
29-
.aider.*
29+
.aider.*
30+
.vscode/

CHANGES.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
0.2.6 (2020-XX-XX)
22
==================
33

4-
see issue #63 & #87
4+
see issues #63, #87 & #89
55

66
- Support for joined-table inheritance
7+
- Restrict to Python 3.7 - 3.9
78
- Restrict to SQLA 1.0 - 1.3
89

910
0.2.5 (2019-07-23)

setup.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,10 @@ def read(name):
3232
"Natural Language :: English",
3333
"Operating System :: OS Independent",
3434
"Programming Language :: Python",
35-
"Programming Language :: Python :: 2.6",
36-
"Programming Language :: Python :: 2.7",
3735
"Programming Language :: Python :: 3",
38-
"Programming Language :: Python :: 3.4",
39-
"Programming Language :: Python :: 3.5",
40-
"Programming Language :: Python :: 3.6",
4136
"Programming Language :: Python :: 3.7",
37+
"Programming Language :: Python :: 3.8",
38+
"Programming Language :: Python :: 3.9",
4239
"Framework :: Pyramid",
4340
"Framework :: Flask",
4441
"Topic :: Internet",

tox.ini

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# content of: tox.ini , put in same dir as setup.py
22
[tox]
3-
envlist = py27,py36,py37,py38,pypy
3+
envlist = py3{7-9}-sqla1{0-3},pypy38-sqla1{0-3}
4+
requires = tox-uv
45
[testenv]
56
deps=
6-
-rrequirements.txt
7-
nose
7+
sqla10: SQLAlchemy~=1.0.0
8+
sqla11: SQLAlchemy~=1.1.0
9+
sqla12: SQLAlchemy~=1.2.0
10+
sqla13: SQLAlchemy~=1.3.0
11+
-rrequirements-test.txt
812
commands=nosetests

0 commit comments

Comments
 (0)