]> git.phdru.name Git - sqlconvert.git/commitdiff
Python 3.7
authorOleg Broytman <phd@phdru.name>
Thu, 31 Jan 2019 17:36:17 +0000 (20:36 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 31 Jan 2019 17:55:49 +0000 (20:55 +0300)
.travis.yml
appveyor.yml
setup.py
tox.ini

index e598ae2c50e8b2cf323347c1b5c64828770ed7f1..b240f97bab00f3881c3c73e850509aab7ea16c4b 100644 (file)
@@ -33,6 +33,9 @@ matrix:
     env: TOXENV=py35
   - python: "3.6"
     env: TOXENV=py36
+  - python: "3.7"
+    dist: xenial
+    env: TOXENV=py37
   - python: "2.7"
     env: TOXENV=py27-postgres
   - python: "3.4"
@@ -41,6 +44,9 @@ matrix:
     env: TOXENV=py35-postgres
   - python: "3.6"
     env: TOXENV=py36-postgres
+  - python: "3.7"
+    dist: xenial
+    env: TOXENV=py37-postgres
   - python: "2.7"
     env: TOXENV=py27-sqlite
   - python: "3.4"
@@ -49,10 +55,14 @@ matrix:
     env: TOXENV=py35-sqlite
   - python: "3.6"
     env: TOXENV=py36-sqlite
+  - python: "3.7"
+    dist: xenial
+    env: TOXENV=py37-sqlite
   - python: "2.7"
     env: TOXENV=py27-flake8
-  - python: "3.4"
-    env: TOXENV=py34-flake8
+  - python: "3.7"
+    dist: xenial
+    env: TOXENV=py37-flake8
 
 install:
   - travis_retry pip install --upgrade pip setuptools tox ppu
index 1a2ca615581677cc2df4f28483df4255733857cf..71ba97d0ef83b2fbde2ec240f0615719450671ce 100644 (file)
@@ -28,36 +28,36 @@ environment:
       PYTHON_VERSION: "2.7"
       PYTHON_ARCH: "32"
       PYTHON_HOME: "C:\\Python27"
-    - TOXENV: "py36"
-      PYTHON_VERSION: "3.6"
+    - TOXENV: "py37"
+      PYTHON_VERSION: "3.7"
       PYTHON_ARCH: "64"
-      PYTHON_HOME: "C:\\Python36-x64"
+      PYTHON_HOME: "C:\\Python37-x64"
     - TOXENV: "py27-postgres-w32"
       PYTHON_VERSION: "2.7"
       PYTHON_ARCH: "32"
       PYTHON_HOME: "C:\\Python27"
       db: postgresql
-    - TOXENV: "py36-postgres-w32"
-      PYTHON_VERSION: "3.6"
+    - TOXENV: "py37-postgres-w32"
+      PYTHON_VERSION: "3.7"
       PYTHON_ARCH: "64"
-      PYTHON_HOME: "C:\\Python36-x64"
+      PYTHON_HOME: "C:\\Python37-x64"
       db: postgresql
     - TOXENV: "py27-sqlite-w32"
       PYTHON_VERSION: "2.7"
       PYTHON_ARCH: "32"
       PYTHON_HOME: "C:\\Python27"
-    - TOXENV: "py36-sqlite-w32"
-      PYTHON_VERSION: "3.6"
+    - TOXENV: "py37-sqlite-w32"
+      PYTHON_VERSION: "3.7"
       PYTHON_ARCH: "64"
-      PYTHON_HOME: "C:\\Python36-x64"
+      PYTHON_HOME: "C:\\Python37-x64"
     - TOXENV: "py27-flake8"
       PYTHON_VERSION: "2.7"
       PYTHON_ARCH: "32"
       PYTHON_HOME: "C:\\Python27"
-    - TOXENV: "py34-flake8"
-      PYTHON_VERSION: "3.4"
+    - TOXENV: "py37-flake8"
+      PYTHON_VERSION: "3.7"
       PYTHON_ARCH: "64"
-      PYTHON_HOME: "C:\\Python34-x64"
+      PYTHON_HOME: "C:\\Python37-x64"
 
 install:
   # Ensure we use the right python version
@@ -66,7 +66,7 @@ install:
   - "python --version"
   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
   - "python -m pip install --upgrade pip setuptools"
-  - "pip install --upgrade tox ppu"
+  - "pip install --upgrade \"tox < 3.1\" ppu"
   - "pip --version"
 
 # No build step - we don't have C extensions
index b94b18a98cd6345364d092e37abace26e82eb05b..8d8fec776b2cef3d51fb2664ca00499572866b0a 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -41,6 +41,7 @@ setup(
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
     ],
     packages=['sqlconvert'],
     scripts=['scripts/mysql2sql'],
diff --git a/tox.ini b/tox.ini
index 0481b43b931be51a4b417cd90353aee29260d8b8..030496a40255c33fdf75cf4a9828f24721e798ec 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 2.0
-envlist = py{27,34,35,36,37}{,-sqlite},py{27,34}-flake8
+envlist = py{27,34,35,36,37}{,-sqlite},py{27,37}-flake8
 
 # Base test environment settings
 [testenv]
@@ -158,7 +158,7 @@ commands =
     {[testenv]commands}
     flake8
 
-[testenv:py34-flake8]
+[testenv:py37-flake8]
 deps =
     flake8
 commands =