Matthew Painter
d3c60813ae
AbstractConnectionPool does not pool more than "minconn" connections.
...
The pool should add the connection back into the pool as long as the pool
is not larger than the maximum pool size.
2023-09-19 15:03:59 +01:00
Daniele Varrazzo
999d7a6d01
test: skip ssl test if libpq runtime > 16
...
Close #1619
2023-09-11 16:11:07 +01:00
Daniele Varrazzo
3eee3e336d
ci: fix passing env vars to build scripts
2023-08-04 17:28:24 +01:00
Daniele Varrazzo
1e0086b1fe
chore: bump version to 2.9.7
2023-08-04 17:22:46 +01:00
Daniele Varrazzo
4fe28d661a
Merge branch 'dev/init-failure'
2023-08-04 17:20:50 +01:00
Daniele Varrazzo
14e06d8185
docs: mention module init errors fix in news file
2023-08-04 17:20:02 +01:00
Jacob Champion
959339cefb
Return NULL on failed module initialization
...
Previously, any exceptions raised during initialization were swallowed
with a message like
SystemError: initialization of _psycopg raised unreported exception
Fixes #1598 .
2023-08-04 17:19:58 +01:00
Daniele Varrazzo
fb77bdca0b
Merge branch 'dev/fix-meson-build'
2023-08-04 17:19:41 +01:00
Daniele Varrazzo
ef7053c070
docs: add pg_config improvement to news file
2023-08-04 17:18:59 +01:00
Jacob Champion
ea71fbcd46
setup.py: handle more corner cases for pg_config
...
- Differentiate between unexpected empty values and execution failure.
- Accept empty --cppflags and --ldflags output. Fixes #1599 .
- Accept UTF-8 output from pg_config, for alternative client locales.
2023-08-04 17:18:56 +01:00
Daniele Varrazzo
0c5b5f4ec3
chore: bump cibuildwheel version to 2.14.1
2023-08-04 17:18:17 +01:00
Daniele Varrazzo
20fcfd6786
chore: upgrade libpq and openssl versions used in packaging
2023-08-04 17:18:17 +01:00
Xing Guo
329f43c762
Use except psycopg2.Error as e
in example.
2023-07-27 10:09:03 +01:00
Daniele Varrazzo
9f020124f8
docs: don't show objects in side bar
...
Too wide, too ugly, useless to navigate.
Close #1587
2023-06-07 12:09:12 +02:00
Christoph Berg
8b17e218be
Disable test_ssl_attribute on PG16+
...
PG15 changed the semantics of some ssl attributes (#1506 ), and a very
similar regression test failure has now been observed again with PG16.
Disable the test for now.
2023-05-29 17:42:42 +02:00
Brent Wilkins
c96f991a8d
Updated from deprecated license_file parameter
2023-05-25 19:01:27 +02:00
Amirsoroush
3450d159b5
fix typo in Usage.html page in documentation
2023-04-23 22:47:26 +02:00
Daniele Varrazzo
5108191aa5
chore: upgrade docs build dependencies
2023-04-17 20:11:47 +02:00
Daniele Varrazzo
638be85eb6
docs: drop use of print statement, use the print() function instead
...
Close #1556
2023-04-17 20:07:17 +02:00
Daniele Varrazzo
0b01ded426
ci: drop github download script
...
Easier to do interactively, now that all the artifacts are packaged in
the same archive.
2023-04-03 05:10:36 +02:00
Daniele Varrazzo
46238ba351
ci: fix cache key by setting lib versions in job env
2023-04-03 05:07:01 +02:00
Daniele Varrazzo
51dd59ef9d
chore: drop Python 3.6 from Windows packages
2023-04-03 05:06:13 +02:00
Daniele Varrazzo
333b3b7ac4
ci: use cibuildwheel to build linux wheel packages
2023-04-02 17:56:29 +02:00
Daniele Varrazzo
7a8f4d6222
chore: bump version to 2.9.6
2023-04-02 13:00:38 +02:00
Daniele Varrazzo
b747b5b0fd
ci: bundle all build artifacts in a single directory
2023-04-02 12:59:29 +02:00
Daniele Varrazzo
1781e8b2c9
build: package openssl 1.1.1t with binary packages
2023-04-02 12:47:29 +02:00
Daniele Varrazzo
fdb204b4e3
docs: mention manylinux2014 packages in news file
2023-04-02 12:47:25 +02:00
Daniele Varrazzo
09b82e4094
ci: bump qemu action version to drop node deprecation warning
2023-03-30 17:09:23 +02:00
Daniele Varrazzo
97df29a312
ci: build macOS packages using cibuildwheel
...
Close #1558 .
2023-03-30 13:31:30 +02:00
Daniele Varrazzo
daeec37fab
Merge pull request #1545 from AmirBitaraf/aarch64_manylinux2014_libpq
...
Move to manylinux2014 for aarch64, ppc64le builds.
2023-03-27 17:11:28 +02:00
Amir Bitaraf
c0666b0935
Modify LD_LIBRARY_PATH to support all architectures
2023-03-26 18:35:00 +01:00
Amir Bitaraf
cc21faa4f4
Move to manylinux2014 for aarch64, ppc64le builds.
2023-03-26 18:35:00 +01:00
Daniele Varrazzo
63947e2552
ci: drop test on Python 3.6
...
The image is not available anymore
2023-02-25 16:07:21 +01:00
Daniele Varrazzo
52df8371f3
ci: pin tox to v3
...
Not interested in fixing incompatibility changes.
2023-02-25 16:05:14 +01:00
Daniele Varrazzo
feeb989323
docs: use https url in license file
...
Close #1549 .
2023-02-25 15:36:35 +01:00
Daniele Varrazzo
e8d92b74fd
Merge branch 'py311-win32'
2022-11-07 23:42:28 +01:00
Daniele Varrazzo
026b5bf3ab
ci: re-enable builds suspended for build win32 packages for Python 3.11
2022-11-07 23:41:50 +01:00
Daniele Varrazzo
02b5e226f4
ci: build packages for Python 3.11 for Workgroup... for Windows!
2022-11-07 22:38:07 +01:00
Daniele Varrazzo
57009707b1
ci: Test Python 3.11 on Appveyor
2022-11-07 22:32:56 +01:00
Daniele Varrazzo
3182ea2303
ci: adapt macOS arm64 build script to changes in Python 3.11 and PostgreSQL 15
2022-10-27 00:41:09 +02:00
Daniele Varrazzo
ea32730a39
Merge branch 'build-macos-py311'
2022-10-27 00:40:23 +02:00
Daniele Varrazzo
deb00e5454
ci: re-enable builds suspended to build macOS packages for Python 3.11
2022-10-27 00:39:11 +02:00
Daniele Varrazzo
8c824d0e47
Build packages for macOS x86_64 Python 3.11
...
The required images weren't available at the time of building the other
packages. See #1514 .
The changeset includes temporary changes to skip other builds. They will
be reverted before merging.
2022-10-27 00:28:04 +02:00
Daniele Varrazzo
1bf8e77ea2
chore: remove macOS 3.11 build from build grid
...
Not available yet on Github: see build failure at
https://github.com/psycopg/psycopg2/actions/runs/3320363567/jobs/5486654852
2022-10-25 13:34:29 +02:00
Daniele Varrazzo
af3ee06ec0
chore: upgrade Github action versions
2022-10-25 13:04:28 +02:00
Daniele Varrazzo
963fb1190b
chore: fix yaml syntax in Github Action workflow
2022-10-25 12:59:23 +02:00
Daniele Varrazzo
27a99dac72
chore: bump version number to release 2.9.5
2022-10-25 12:55:57 +02:00
Daniele Varrazzo
78690cfaf8
lint: reformat appveyor yaml
2022-10-25 12:54:34 +02:00
Daniele Varrazzo
259d15ae3e
chore: build binary packages with OpenSSL 1.1.1q
2022-10-25 12:47:46 +02:00
Daniele Varrazzo
77039cad63
chore: fix directory where to find binary package after build
2022-10-25 12:47:02 +02:00