Skip to content

Commit 3f8e49f

Browse files
committed
Add explicit Python 3.7 support
1 parent 4d14fbd commit 3f8e49f

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
lines changed

.travis.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: python
22
cache: pip
33
python:
4-
- 3.4
5-
- 3.5
6-
- 3.6
7-
- nightly
4+
- "3.4"
5+
- "3.5"
6+
- "3.6"
7+
- "pypy3"
88
sudo:
99
false
1010
jdk:
@@ -28,8 +28,17 @@ env:
2828
- SA_VERSION=1.1.15
2929
- SA_VERSION=1.2.18
3030
matrix:
31-
allow_failures:
32-
- python: nightly
31+
include:
32+
- os: linux
33+
dist: xenial
34+
sudo: true
35+
python: "3.7"
36+
env: SA_VERSION=1.1.15
37+
- os: linux
38+
dist: xenial
39+
sudo: true
40+
python: "3.7"
41+
env: SA_VERSION=1.2.18
3342
before_script:
3443
- bin/flake8
3544
script:

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Changes for crate
55
Unreleased
66
==========
77

8+
- Added support for Python 3.7 and made that version the recommended one.
9+
810
2019/03/05 0.23.0
911
=================
1012

docs/appendices/compatibility.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Version Notes
1919
Python
2020
------
2121

22-
Python 3.4 and the latest client library version is recommended.
22+
Python 3.7 and the latest client library version is recommended.
2323

2424
However, if you are running an older version of Python, older versions of the
2525
CrateDB Python client library can be used.

docs/getting-started.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Learn how to install and get started the :ref:`CrateDB Python client library
1515
Prerequisites
1616
=============
1717

18-
Python 3.4 is recommended.
18+
Python 3.7 is recommended.
1919

2020
However, :ref:`older versions of Python <python-versions>` can still be used.
2121

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def read(path):
8484
'Programming Language :: Python :: 3.4',
8585
'Programming Language :: Python :: 3.5',
8686
'Programming Language :: Python :: 3.6',
87+
'Programming Language :: Python :: 3.7',
8788
'Programming Language :: Python :: Implementation :: CPython',
8889
'Programming Language :: Python :: Implementation :: PyPy',
8990
'Topic :: Database'

tox.ini

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

44
[testenv]
55
usedevelop = True

0 commit comments

Comments
 (0)