Commit Graph

2358 Commits

Author SHA1 Message Date
Jon Dufresne
42efb739d8 Fix use of "async" in test_cursor.py
"async" will be a keyword starting with Python 3.7. On Python 3.6, use
of "async" causes a deprecation warning. Use the alias "async_" instead.
2018-05-18 11:18:24 +01:00
Daniele Varrazzo
dcadc4c15a Merge remote-tracking branch 'nested-array-nulls' into maint_2_7 2018-05-18 11:18:07 +01:00
Daniele Varrazzo
11122159c6 Merge remote-tracking branch 'fix-211' into maint_2_7 2018-05-18 11:16:36 +01:00
Daniele Varrazzo
72e695ba1f Skipped test on db version not supporting unicode identifiers 2018-05-14 03:11:11 +01:00
Daniele Varrazzo
799f8bded4 Hstore test fixed after adapting arrays dropped space after commas 2018-05-14 03:04:57 +01:00
Daniele Varrazzo
2bc1a81dba Test databases from newest to oldest
This way we can spot when a feature was not supported yet by the first
test failing.
2018-05-14 02:41:32 +01:00
Daniele Varrazzo
451dc8c5bf Fixed adaptation of arrays of arrays of nulls
Close #325, close #706.
2018-05-14 02:38:44 +01:00
Daniele Varrazzo
8ad39c2712 Allow non-ascii chars in namedtuple fields
They can be valid chars in Python 3. Or maybe not? In which case Python
will throw an exception, but that's fine.

Fix regression introduced fixing #211
2018-05-13 23:51:21 +01:00
Daniele Varrazzo
667079b209 Command to upload docs on pythonhosted dropped altogether 2018-02-25 18:13:29 +00:00
Daniele Varrazzo
4e53cb4a02 Intersphinx urls to generate Python links updated
Previous urls warn about a redirect, so they are probably to go.
2018-02-25 18:11:17 +00:00
Daniele Varrazzo
806cc5e610 Merge branch 'fix-679' into maint_2_7 2018-02-21 10:26:51 +00:00
Daniele Varrazzo
214600fcc0 Allow strings subclasses in ensure_bytes
Fix #679
2018-02-20 17:33:12 +00:00
Daniele Varrazzo
19c74cc654 Merge branch 'expand-version' into maint_2_7 2018-02-19 13:52:36 +00:00
Daniele Varrazzo
3772f88680 Report MSYS2 build probably fixed 2018-02-19 13:51:45 +00:00
Daniele Varrazzo
9cae89c4e4 Avoid quoting the string in the psycopg version macro
Use a macro trick to add the quotes. This seems more portable than
passing the quotes to the command line (see #658).

https://gcc.gnu.org/onlinedocs/cpp/Stringizing.html
2018-02-19 13:49:14 +00:00
Daniele Varrazzo
5ffabd2886 Merge branch 'fix-solaris-11' into maint_2_7 2018-02-19 13:48:46 +00:00
Daniele Varrazzo
657c1ce6a9 Added Solaris 11 fix to news file 2018-02-19 11:47:12 +00:00
Mike Gerdts
317917866e Fixed building on SmartOS
timeradd is missing on Solaris 10, but is present as a macro in
<sys/time.h> on SmartOS, illumos, and likely Solaris 11.
2018-02-19 11:44:58 +00:00
Daniele Varrazzo
8f18681723 Fixed pip invocation example to skip binary packages
Close #673
2018-02-09 16:10:03 +00:00
Daniele Varrazzo
3be66e59b3 Bump to next dev version number 2018-02-09 16:09:33 +00:00
Daniele Varrazzo
5afb2ce803 Version number bumped to 2.7.4 2018-02-06 01:24:25 +00:00
Daniele Varrazzo
41137e4e11 Autocommit shouldn't change deferrable on servers not supporting it
Regression on unsupported Postgres versions after fixing bug #580
2018-02-06 01:24:25 +00:00
Daniele Varrazzo
8dc26b86fa Report Python 2.6 wheels no more available
[skip ci]
2018-01-29 12:56:50 +00:00
Daniele Varrazzo
a4fcbfed0f Dropped recipe to install namedtuple on Python < 2.6
We don't support such Python versions anymore.
2018-01-29 03:10:56 +00:00
Daniele Varrazzo
e42e07258c Link psycopg2-binary package to PyPI in readme
Note: the package doesn't exist yet...
2018-01-29 03:09:27 +00:00
Daniele Varrazzo
6ba6cf27ed Merge branch 'openssl-1.0.2n' into maint_2_7 2018-01-29 02:57:14 +00:00
Daniele Varrazzo
485649a3d1 Merge branch 'namedtuple-invalid-identifiers' into maint_2_7 2018-01-29 02:56:53 +00:00
Daniele Varrazzo
e5da79fcc8 Convert fields names into valid Python identifiers in NamedTupleCursor
Close #211.
2018-01-29 02:41:44 +00:00
Daniele Varrazzo
a5762a4e4b Build using OpenSSL 1.0.2n 2018-01-29 01:58:37 +00:00
Daniele Varrazzo
8f6a26b911 Define openssl and libpq versions in vars in appveyor build 2018-01-29 01:57:17 +00:00
Daniele Varrazzo
4460166961 Build env vars on windows less verbose
Copied from psycopg2-wheels
2018-01-29 01:56:10 +00:00
Daniele Varrazzo
a84c9723b4 Merge branch 'separate-binary' into maint_2_7 2018-01-29 01:38:17 +00:00
Daniele Varrazzo
06ea808599 Mention new wheel packages in news file
Close #543.
2018-01-29 01:38:03 +00:00
Daniele Varrazzo
0a148dbe01 Silence warning on import failing a test 2018-01-29 00:51:05 +00:00
Daniele Varrazzo
5eb4185afc Dropped warning about unsafe cursor names
It was long made secure
2018-01-25 21:58:05 +00:00
Daniele Varrazzo
7e16a37476 Document the psycopg2-binary package 2018-01-16 18:28:27 +00:00
Daniele Varrazzo
76765aeb39 Print info about the binary package on build failed
The idea is to release a package 'psycopg2-binary' to allow installing
binary, and leave the psycopg2 package to be source only, to avoid
pushing the unreliability of the wheel pacakge by default (see issue #543).

Version number bumped to test with new packages.
2018-01-13 20:11:18 +00:00
Daniele Varrazzo
ac114d2188 Merge branch 'fix-idempotence-check' into maint_2_7 2018-01-11 02:23:06 +00:00
Daniele Varrazzo
8aaf8f1902 Fixed idempotence check changing connection characteristics 2018-01-11 02:08:27 +00:00
Daniele Varrazzo
ba50548b30 'key' docs in getconn() improved
Fix #569.
2018-01-11 00:16:49 +00:00
Daniele Varrazzo
f3685fe5ac Fixed test in asian time zones
Fix #652
2018-01-11 08:53:57 +09:00
Daniele Varrazzo
7be099bd80 Merge branch 'mogrify-on-closed-cursor' into maint_2_7 2018-01-11 08:53:52 +09:00
Daniele Varrazzo
bf58f3b194 Merge branch 'datetime-macro-accessors' into maint_2_7 2018-01-10 23:26:48 +00:00
Daniele Varrazzo
9c5bf36791 'cursor.mogrify()' can be called on closed cursors
Fix #579.
2018-01-10 23:26:11 +00:00
Daniele Varrazzo
1477482e59 Fixed pydatetime macros for Python 3.2 2018-01-10 23:12:01 +00:00
Daniele Varrazzo
54cd0c66af pypi3 fix noted in the news file 2018-01-10 22:54:03 +00:00
Daniele Varrazzo
b99c8ab2de Moved datatime compatibility macros with others 2018-01-10 22:53:56 +00:00
Glyph
632cfe0617 define a "polyfill" inline for python 2 compatibility 2018-01-10 22:53:43 +00:00
Glyph
ae227effe2 use accessor macros for pypy3 compatibility 2018-01-10 22:53:37 +00:00
Daniele Varrazzo
72ed62dc8c Fixed NEWS file entries
- 2.6.3 has not been released (yet). Fixes for bug #420, bug #462 were
  relased in 2.7.
- Added missing report for bug #489 fixed in 2.7.
2017-12-01 16:24:59 +00:00