summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Hstore test fixed after adapting arrays dropped space after commasnested-array-nullsDaniele Varrazzo2018-05-181-2/+2
|
* Fixed adaptation of arrays of arrays of nullsDaniele Varrazzo2018-05-183-39/+104
| | | | Close #325, close #706.
* Merge pull request #715 from hroncok/py37Daniele Varrazzo2018-05-181-1/+3
|\ | | | | Travis CI: Run tests on Python 3.7
| * Travis CI: Run tests on Python 3.7Miro HronĨok2018-05-181-1/+3
|/ | | | | | Also, switch to wheel, because eggs caused problems on 3.7: ValueError: bad marshal data (unknown type code)
* Merge branch 'fix-679'Daniele Varrazzo2018-02-213-2/+17
|\
| * Allow strings subclasses in ensure_bytesfix-679Daniele Varrazzo2018-02-213-2/+17
|/ | | | Fix #679
* Merge branch 'expand-version'Daniele Varrazzo2018-02-193-7/+9
|\
| * Report MSYS2 build probably fixedDaniele Varrazzo2018-02-191-1/+2
| |
| * Avoid quoting the string in the psycopg version macroDaniele Varrazzo2018-02-192-6/+7
|/ | | | | | | 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
* Merge branch 'fix-solaris-11'Daniele Varrazzo2018-02-193-1/+14
|\
| * Added Solaris 11 fix to news fileDaniele Varrazzo2018-02-191-0/+7
| |
| * Fixed building on SmartOSMike Gerdts2018-02-192-1/+7
|/ | | | | timeradd is missing on Solaris 10, but is present as a macro in <sys/time.h> on SmartOS, illumos, and likely Solaris 11.
* Fixed pip invocation example to skip binary packagesDaniele Varrazzo2018-02-091-2/+2
| | | | Close #673
* Autocommit shouldn't change deferrable on servers not supporting itDaniele Varrazzo2018-02-081-2/+2
| | | | Regression on unsupported Postgres versions after fixing bug #580
* Report Python 2.6 wheels no more availableDaniele Varrazzo2018-01-291-0/+2
| | | | [skip ci]
* Link psycopg2-binary package to PyPI in readmeDaniele Varrazzo2018-01-291-1/+2
| | | | Note: the package doesn't exist yet...
* Merge branch 'namedtuple-invalid-identifiers'Daniele Varrazzo2018-01-293-1/+21
|\
| * Convert fields names into valid Python identifiers in NamedTupleCursorDaniele Varrazzo2018-01-293-1/+21
|/ | | | Close #211.
* Merge branch 'openssl-1.0.2n'Daniele Varrazzo2018-01-293-50/+39
|\
| * Build using OpenSSL 1.0.2nDaniele Varrazzo2018-01-293-3/+3
| |
| * Define openssl and libpq versions in vars in appveyor buildDaniele Varrazzo2018-01-291-10/+13
| |
| * Build env vars on windows less verboseDaniele Varrazzo2018-01-291-38/+24
|/ | | | Copied from psycopg2-wheels
* Merge branch 'separate-binary'Daniele Varrazzo2018-01-295-116/+173
|\
| * Mention new wheel packages in news fileDaniele Varrazzo2018-01-291-2/+5
| | | | | | | | Close #543.
| * Silence warning on import failing a testDaniele Varrazzo2018-01-291-1/+5
| |
| * Document the psycopg2-binary packageDaniele Varrazzo2018-01-292-109/+121
| |
| * Print info about the binary package on build failedDaniele Varrazzo2018-01-291-4/+42
|/ | | | | | | | 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.
* Dropped warning about unsafe cursor namesDaniele Varrazzo2018-01-251-5/+0
| | | | It was long made secure
* Merge branch 'fix-idempotence-check'Daniele Varrazzo2018-01-114-22/+48
|\
| * Fixed idempotence check changing connection characteristicsDaniele Varrazzo2018-01-114-22/+48
|/
* Merge branch 'mogrify-on-closed-cursor'Daniele Varrazzo2018-01-113-2/+7
|\
| * 'cursor.mogrify()' can be called on closed cursorsmogrify-on-closed-cursorDaniele Varrazzo2018-01-113-2/+7
| | | | | | | | Fix #579.
* | 'key' docs in getconn() improvedDaniele Varrazzo2018-01-111-1/+6
| | | | | | | | Fix #569.
* | Fixed test in asian time zonesDaniele Varrazzo2018-01-101-1/+2
|/ | | | Fix #652
* Fixed stitch_text on Python 2Daniele Varrazzo2018-01-101-4/+6
|
* Merge branch 'macro-accessors'Daniele Varrazzo2018-01-103-2/+10
|\
| * pypi3 fix noted in the news fileDaniele Varrazzo2018-01-101-0/+1
| |
| * Moved datatime compatibility macros with othersDaniele Varrazzo2018-01-102-6/+5
| |
| * define a "polyfill" inline for python 2 compatibilityGlyph2017-12-121-0/+6
| |
| * use accessor macros for pypy3 compatibilityGlyph2017-12-121-2/+4
| |
* | Merge pull request #651 from ronnix/patch-1Daniele Varrazzo2017-12-141-1/+1
|\ \ | |/ |/| Fix typo in comment in utils.c
| * Fix typo in comment in utils.cRonan Amicel2017-12-141-1/+1
|/
* Gitignore env2/env3 envs tooDaniele Varrazzo2017-12-111-0/+1
|
* Dropped PYTHONPATH propagation in 'make check'Daniele Varrazzo2017-12-111-1/+1
| | | | | Psycopg doesn't have other dependencies outside the stdlib so what's there is probably just noise.
* Merge pull request #644 from jdufresne/noinstall-testsDaniele Varrazzo2017-12-1177-362/+389
|\ | | | | Avoid installing tests to site-packages
| * Avoid installing tests to site-packagesJon Dufresne2017-12-1019-38/+56
| | | | | | | | | | | | | | | | For library end users, there is no need to install tests alongside the package itself. This keeps the tests available for development without adding extra packages to user's site-packages directory. Reduces the size of the installed package. Avoids accidental execution of test code by an installed package.
| * Skip register_hstore(..., unicode=True) tests on Python 3Jon Dufresne2017-12-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | Per the functions documentation, this argument is not supported on Python 3. Skip it during tests. > :param unicode: if `!True`, keys and values returned from the database > will be `!unicode` instead of `!str`. The option is not available on > Python 3 Work towards moving tests outside of the installed package.
| * Use relative imports throughout testsJon Dufresne2017-12-1027-81/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests relied on Python2 relative import semantics. Python3 changed import semantics to always search sys.path by default. To import using a relative path it must have a leading dot. Forward compatible with newer Pythons. Works towards the goal of moving tests outside of the installed package. For more information, see PEP-328: https://www.python.org/dev/peps/pep-0328/
| * Use print() function instead of print statement throughout projectJon Dufresne2017-12-1044-245/+251
| | | | | | | | Forward compatible with newer Pythons.
| * Fix use of "async" in test_cursor.pyJon Dufresne2017-12-101-1/+1
|/ | | | | "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.