Add Python 3.8 to the test matrix

Python 3.8 was released on October 14th, 2019.

- Added 'Programming Language :: Python :: 3.8' trove classifier.
- Added 'py38' to the tox test matrix.
- Added 'python: 3.8' to the Travis test matrix.
- Removed 'dist: xenial' from Travis configuration; it is now the
  default.
- Removed 'dist: trusty' from Travis configuration; it is not longer
  necessary.
- Removed 'sudo' from Travis configuration; it is deprecated.

https://docs.python.org/3.8/whatsnew/3.8.html
This commit is contained in:
Jon Dufresne 2019-10-18 18:05:14 -07:00
parent f08019e356
commit 4e13acdc88
4 changed files with 4 additions and 5 deletions

View File

@ -1,17 +1,15 @@
# Travis CI configuration file for psycopg2 # Travis CI configuration file for psycopg2
dist: xenial
sudo: required
language: python language: python
matrix: matrix:
include: include:
- python: 2.7 - python: 2.7
- python: 3.8
- python: 3.7 - python: 3.7
- python: 3.6 - python: 3.6
- python: 3.5 - python: 3.5
- python: 3.4 - python: 3.4
dist: trusty
install: install:
- pip install -U pip setuptools wheel - pip install -U pip setuptools wheel

View File

@ -35,7 +35,7 @@ The current `!psycopg2` implementation supports:
NOTE: keep consistent with setup.py and the /features/ page. NOTE: keep consistent with setup.py and the /features/ page.
- Python version 2.7 - Python version 2.7
- Python 3 versions from 3.4 to 3.7 - Python 3 versions from 3.4 to 3.8
- PostgreSQL server versions from 7.4 to 11 - PostgreSQL server versions from 7.4 to 11
- PostgreSQL client library version from 9.1 - PostgreSQL client library version from 9.1

View File

@ -65,6 +65,7 @@ Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Programming Language :: C Programming Language :: C
Programming Language :: SQL Programming Language :: SQL

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py{27,34,35,36,37} envlist = py{27,34,35,36,37,38}
[testenv] [testenv]
commands = make check commands = make check