Skip to content

Commit d64ecc9

Browse files
committed
SA14/CI: Add SQLAlchemy 1.4 to the test matrix
1 parent 67ec8e3 commit d64ecc9

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os: [ubuntu-latest, macos-latest]
2020
python-version: ['3.7', '3.8', '3.9', '3.10']
2121
cratedb-version: ['4.8.0']
22-
sqla-version: ['1.3.24']
22+
sqla-version: ['1.3.24', '1.4.36']
2323
fail-fast: true
2424

2525
steps:

DEVELOP.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ Run all tests::
3333

3434
Run specific tests::
3535

36-
# Ignore all tests below src/crate/testing
36+
./bin/test -vvvv -t SqlAlchemyCompilerTest
37+
./bin/test -vvvv -t test_score
38+
./bin/test -vvvv -t sqlalchemy
39+
40+
Ignore specific test directories::
41+
3742
./bin/test -vvvv --ignore_dir=testing
3843

3944
You can run the tests against multiple Python interpreters with tox_::

docs/sqlalchemy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The CrateDB Python client library provides support for SQLAlchemy. A CrateDB
1111
configuration.
1212

1313
The CrateDB Python client library is validated to work with SQLAlchemy versions
14-
``1.3``.
14+
``1.3`` and ``1.4``.
1515

1616
.. NOTE::
1717

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def read(path):
6767
test=['zope.testing>=4,<5',
6868
'zc.customdoctests>=1.0.1,<2',
6969
'stopit>=1.1.2,<2'],
70-
sqlalchemy=['sqlalchemy>=1.0,<1.4', 'geojson>=2.5.0']
70+
sqlalchemy=['sqlalchemy>=1.0,<1.5', 'geojson>=2.5.0']
7171
),
7272
python_requires='>=3.4',
7373
install_requires=requirements,

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{py3,35,36,37,38,39}-sa_{1_0,1_1,1_2,1_3}
2+
envlist = py{py3,35,36,37,38,39}-sa_{1_0,1_1,1_2,1_3,1_4}
33

44
[testenv]
55
usedevelop = True
@@ -12,6 +12,7 @@ deps =
1212
sa_1_1: sqlalchemy>=1.1,<1.2
1313
sa_1_2: sqlalchemy>=1.2,<1.3
1414
sa_1_3: sqlalchemy>=1.3,<1.4
15+
sa_1_4: sqlalchemy>=1.4,<1.5
1516
mock
1617
urllib3
1718
commands =

0 commit comments

Comments
 (0)