Commit Graph

2992 Commits

Author SHA1 Message Date
Daniele Varrazzo
7054e1aadf test: add test to verify register_range() with names requiring escape
Unlike for register_composite(), this works already.
2022-10-06 02:05:49 +01:00
Daniele Varrazzo
ac25d3bdc0 fix: look up for range types defined in schemas in the search path 2022-10-06 02:05:39 +01:00
Daniele Varrazzo
9535462ce9 fix: correctly handle composites with names or schema requiring escape 2022-10-06 01:56:28 +01:00
Daniele Varrazzo
d88e4c2a3c fix: handle types in the search path in register_composite()
Fix #1487.
2022-10-06 01:10:07 +01:00
Daniele Varrazzo
31a80410db chore: bump to next dev release 2022-10-06 00:21:27 +01:00
Daniele Varrazzo
d6c81b4ff0 docs: mention MacOS ARM wheel support 2022-10-05 19:48:04 +01:00
Magnus Watn
c6f30880a2 Remove Apple M1 bullet point from issue template
https://github.com/psycopg/psycopg2/issues/1286 is now closed.
2022-10-03 10:09:46 +01:00
Daniele Varrazzo
e3664380c4 build: fix starting Postgres in macOS build script
The brew command fails with:

    Could not enable service: 125: Domain does not support specified action
    Error: Failure while executing; `/bin/launchctl enable gui/501/homebrew.mxcl.postgresql@14` exited with 125.
2022-09-25 02:49:16 +01:00
Daniele Varrazzo
fdf957dcbd build: use "latest" version of github builders 2022-09-25 02:46:21 +01:00
Nikita Sobolev
3e7bb8d1aa Remove __nonzero__ method 2022-07-30 14:03:10 +02:00
Tim Tisdall
07c83ef8bb Link to the right PR for adding alpine wheels 2022-07-28 14:39:33 +02:00
Daniele Varrazzo
f07b3ad0a6 Merge branch 'build-macos-arm64' 2022-07-28 13:30:32 +02:00
Daniele Varrazzo
611c610041 docs: fixed quote_ident() example
Close #1481
2022-07-27 02:54:17 +02:00
Daniele Varrazzo
25c40f8ac3 build: add scripts to build macOS arm64 packages 2022-07-17 00:20:08 +01:00
Daniele Varrazzo
ba92a22bc9 test: drop test table if exist
It might be a residue of a psycopg 3 test run in the same db.
2022-07-16 23:58:43 +01:00
Rafi Shamim
3c58e96e10 Unskip tests that work on CockroachDB v22.1
CockroachDB supports named cursors in v22.1, so more tests pass.
2022-03-28 20:26:23 +02:00
Daniele Varrazzo
626078388a Use pip-tools to create the requirement file to build the docs
Docs building just broke. The requirement file had some version upper
boundary that caused problems between Sphinx and jinja2.
2022-03-26 02:45:40 +01:00
Daniele Varrazzo
c34bf2f2f9 Bump to release 2.9.3 2021-12-29 13:48:23 +01:00
Daniele Varrazzo
94ba06748f Merge branch 'musllinux' 2021-12-29 13:36:25 +01:00
Peter Lithammer
c5528da2dc
Mention Alpine/musl wheels in news file 2021-12-10 17:21:34 +01:00
Peter Lithammer
2dc137975a
Build musllinux wheels 2021-12-10 17:21:34 +01:00
Daniele Varrazzo
bc79abace1 Bump to next dev release 2021-12-10 14:28:04 +01:00
Daniele Varrazzo
846ae52ab2 Create parent directories too in artifacts download 2021-12-10 14:26:06 +01:00
Daniele Varrazzo
217f4120ca Strip debug symbols from binary packages
The _psycopg.so library goes down from 1.6mb to 300k in Linux packages.
2021-12-10 14:26:06 +01:00
John Vandenberg
4d4d2bc444 Include sys/time.h for gettimeofday
Fixes https://github.com/psycopg/psycopg2/issues/1397
2021-12-03 11:29:39 +01:00
John Vandenberg
4b637ec34a PyPy does not have PyDateTime_TimeZone_UTC
Fixes https://github.com/psycopg/psycopg2/issues/1398
2021-12-03 11:29:21 +01:00
Will Thompson
53bda13afa Fix typo in large object usage documentation 2021-11-21 16:10:42 +01:00
Daniele Varrazzo
8ef195f2ff Bump version number to release 2.9.2 2021-11-11 21:16:12 +01:00
Daniele Varrazzo
1b013b529b Merge branch 'py311' 2021-11-11 21:14:28 +01:00
Daniele Varrazzo
0a4a469669 Mention Python 3.11 preliminary support in the newsfile. 2021-11-11 21:13:38 +01:00
Cyril Jouve
5fb1305a14 support for python 3.11 2021-11-11 21:13:38 +01:00
Daniele Varrazzo
898cbff5a6 Build binary packages against PosgtgreSQL 14.1 lipq
Close #1388.
2021-11-11 21:11:59 +01:00
Daniele Varrazzo
7dd193a7f7 errorcodes map and errors classes updated to PostgreSQL 14. 2021-11-11 20:08:39 +01:00
Daniele Varrazzo
1a0c02a6f4 Raise an error for dates > 10K instead of returning Y9999
Close #1307.
2021-11-11 20:01:14 +01:00
Daniele Varrazzo
1454b14ae0 Fix Python 3.10 and PostgreSQL 14 compatibility notes 2021-11-05 18:37:58 +01:00
Daniele Varrazzo
8e186dd7e9 Merge branch 'py310' 2021-11-03 14:18:09 +01:00
Daniele Varrazzo
7236a1f851 Fix f-string in Appveyor package download script 2021-11-03 14:16:38 +01:00
Daniele Varrazzo
63d30aa397 Add Python 3.10 to Appveyor test grid 2021-11-03 14:16:38 +01:00
Daniele Varrazzo
6b80bd0648 Drop Windows exe package build 2021-11-03 14:16:38 +01:00
Daniele Varrazzo
5a96021612 Fix issue template markup 2021-10-30 22:57:12 +02:00
Daniele Varrazzo
4a46aa39a5 Build Python 3.10 packages of relase 2.9.1 2021-10-11 23:32:30 +02:00
Daniel Saxton
3430dcdee6 Fix doc typo 2021-09-22 12:56:08 +01:00
Daniele Varrazzo
1b255b7dc3 Fix up-date-date typo
Close #1336
2021-08-07 20:53:54 +01:00
Daniele Varrazzo
52c4d6fad4 Add psycopg version to issue templates 2021-07-17 14:26:54 +02:00
Daniele Varrazzo
ee3a069f1d Maintainer email fixed
gmail.org!
2021-07-16 14:50:08 +02:00
Daniele Varrazzo
9cfe80ea55 Drop unwanted issue template 2021-07-14 12:22:58 +02:00
Daniele Varrazzo
64b159676f Add issue templates 2021-07-14 12:22:00 +02:00
Daniele Varrazzo
8fe9861df5 Add docs anchor to reach the 'with' statement from psycopg3 docs 2021-07-14 02:32:22 +02:00
Daniele Varrazzo
39f12bbfc5 Don't build .exe packages anymore 2021-06-30 14:52:27 +01:00
Daniele Varrazzo
47b93efcf8 Note in the docs that now the table and fields names are escaped. 2021-06-17 16:52:44 +01:00