Commit Graph

2333 Commits

Author SHA1 Message Date
Daniele Varrazzo
74fd0ec063 Fixed farto in error checking assigning description values
Unnoticed since Feb 2011 \o/
2018-10-11 10:32:42 +01:00
Daniele Varrazzo
d251d51b34 Merge branch 'fix-copy-async-hangs' into maint_2_7 2018-10-10 23:56:05 +01:00
Daniele Varrazzo
5abbcb23ca Fixed infinite loop in pq_get_last_result after COPY
There will be an error downstream but we have to get out of this
function first.

Close #781
2018-10-10 23:23:56 +01:00
Daniele Varrazzo
c97266921c Merge branch 'fix-bsd' into maint_2_7 2018-09-07 23:57:03 +01:00
Daniele Varrazzo
5d52dae286 Mention FreeBSD build fixed in news file 2018-09-07 23:56:15 +01:00
Dmitry Marakasov
41deda1950 Remove obsolete and incorrect FreeBSD version condition
The FreeBSD-related condition which enables custom round() implementation is incorrect: one must include <sys/param.h> to get __FreeBSD_version value, and since it's not included here, the check succeeds while it shouldn't. Before it worked somehow, but since python 3.7 it results in conflicting declarations of round(). The condition is also no longer needed since FreeBSD 5.3 is unsupported for 12 years.
2018-09-07 23:55:08 +01:00
Daniel Hahler
fd6432977d Improve doc for extras.wait_select 2018-09-05 16:45:55 +01:00
Andrew King
48d292c14c Fix typo in install.rst 2018-09-05 16:43:55 +01:00
Jon Dufresne
85926bef5a Update intersphinx URLs to point to Python 3 docs
Python 3 docs are more up to date and reflect the future of Python.

Removed unused py3 marker.
2018-09-05 16:43:54 +01:00
Daniele Varrazzo
3cdc0bc6e5 Merge branch 'fix-746' into maint_2_7 2018-07-24 21:13:36 +01:00
Daniele Varrazzo
84fb389b3b Fixed compile error on windows
Because const int + 1 is not const, right???

Also fixed other occurrences of magic numbers and failed DRY around
PyOS_snprintf() calls.
2018-07-24 19:17:07 +01:00
Daniele Varrazzo
ba54f1194a Bump tests for selective closure of named cursor to pg 8.2
Previous versions don't support the features as they don't have the
pg_cursors view. But they are too old to care.
2018-07-24 19:02:13 +01:00
Daniele Varrazzo
43e35db988 Close named cursor if exist, even if we didn't run execute
Close #746
2018-07-21 18:32:02 +01:00
Daniele Varrazzo
a7f8c7fcde Bump to next dev version number 2018-07-21 12:15:47 +01:00
Daniele Varrazzo
1b07d2e34d Bump to version 2.7.5 2018-05-27 10:08:36 +01:00
Daniele Varrazzo
eafa0f9d55 Note the upgrade in wheel dependencies in NEWS file 2018-05-23 21:51:26 +01:00
Daniele Varrazzo
6bcea5da34 Added note adivising against depending on the -wheels package 2018-05-23 21:42:43 +01:00
Daniele Varrazzo
8195d83a8c Dropped license paragraph applying to removed files 2018-05-23 21:19:06 +01:00
Jon Dufresne
4292da9b31 Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post:

https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html

(with my addition after cherry-picking from master to maint_2_7)
2018-05-20 17:25:28 +01:00
Daniele Varrazzo
dbae84ee29 Added license to the docs
Includes other docs improvements, such as the ones proposed in #711.
2018-05-20 17:05:31 +01:00
Daniele Varrazzo
85ec17a313 Merge branch 'fix-716' into maint_2_7 2018-05-20 17:05:25 +01:00
Daniele Varrazzo
6a3521badb Merge branch 'fix-707' into maint_2_7 2018-05-20 17:05:14 +01:00
Daniele Varrazzo
7aea6b846e Don't raise an exception closing an unused named cursor
Close #716
2018-05-20 14:05:58 +01:00
Daniele Varrazzo
f2896fe512 Set minimal postgres version for intervalstyle test 2018-05-20 13:42:30 +01:00
Daniele Varrazzo
51027dbd5f Raise NotSupportedError fetching iso_8601 intervals
Previously it would have failed parsing and resulted in ValueError

Close #707
2018-05-20 13:24:40 +01:00
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