mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Merge branch 'py38'
This commit is contained in:
commit
b029bd80d4
|
@ -22,6 +22,11 @@ environment:
|
||||||
- {PY_VER: "34", PY_ARCH: "32"}
|
- {PY_VER: "34", PY_ARCH: "32"}
|
||||||
- {PY_VER: "34", PY_ARCH: "64"}
|
- {PY_VER: "34", PY_ARCH: "64"}
|
||||||
|
|
||||||
|
# not supported by appveyor as of 2019-10-19
|
||||||
|
# https://www.appveyor.com/docs/windows-images-software/#python
|
||||||
|
# - {PY_VER: "38", PY_ARCH: "32"}
|
||||||
|
# - {PY_VER: "38", PY_ARCH: "64"}
|
||||||
|
|
||||||
OPENSSL_VERSION: "1_1_1b"
|
OPENSSL_VERSION: "1_1_1b"
|
||||||
POSTGRES_VERSION: "11_2"
|
POSTGRES_VERSION: "11_2"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
3
NEWS
3
NEWS
|
@ -7,7 +7,8 @@ What's new in psycopg 2.8.4
|
||||||
- Don't swallow keyboard interrupts on connect when a password is specified
|
- Don't swallow keyboard interrupts on connect when a password is specified
|
||||||
in the connection string (:ticket:`#898`).
|
in the connection string (:ticket:`#898`).
|
||||||
- Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid`
|
- Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid`
|
||||||
and `~psycopg2.extensions.Column.type_code` (:ticket:`961).
|
and `~psycopg2.extensions.Column.type_code` (:ticket:`961`).
|
||||||
|
- Fixed building with Python 3.8 (:ticket:`854`).
|
||||||
|
|
||||||
|
|
||||||
What's new in psycopg 2.8.3
|
What's new in psycopg 2.8.3
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -698,7 +698,7 @@ class Options:
|
||||||
def py_ver(self):
|
def py_ver(self):
|
||||||
"""The Python version to build as 2 digits string."""
|
"""The Python version to build as 2 digits string."""
|
||||||
rv = os.environ['PY_VER']
|
rv = os.environ['PY_VER']
|
||||||
assert rv in ('27', '34', '35', '36', '37'), rv
|
assert rv in ('27', '34', '35', '36', '37', '38'), rv
|
||||||
return rv
|
return rv
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -773,9 +773,10 @@ class Options:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def vs_ver(self):
|
def vs_ver(self):
|
||||||
|
# https://wiki.python.org/moin/WindowsCompilers
|
||||||
# Py 2.7 = VS Ver. 9.0 (VS 2008)
|
# Py 2.7 = VS Ver. 9.0 (VS 2008)
|
||||||
# Py 3.3, 3.4 = VS Ver. 10.0 (VS 2010)
|
# Py 3.3, 3.4 = VS Ver. 10.0 (VS 2010)
|
||||||
# Py 3.5, 3.6, 3.7 = VS Ver. 14.0 (VS 2015)
|
# Py 3.5--3.8 = VS Ver. 14.0 (VS 2015)
|
||||||
vsvers = {
|
vsvers = {
|
||||||
'27': '9.0',
|
'27': '9.0',
|
||||||
'33': '10.0',
|
'33': '10.0',
|
||||||
|
@ -783,6 +784,7 @@ class Options:
|
||||||
'35': '14.0',
|
'35': '14.0',
|
||||||
'36': '14.0',
|
'36': '14.0',
|
||||||
'37': '14.0',
|
'37': '14.0',
|
||||||
|
'38': '14.0',
|
||||||
}
|
}
|
||||||
return vsvers[self.py_ver]
|
return vsvers[self.py_ver]
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user