Karolina Surma
3b9aa7cf9f
Fix tests with Python 3.13
...
The textual representation of addresses has changed, adapt the code to
expect different values on Python 3.13+.
See: https://github.com/python/cpython/commit/f22bf8e3cf899896cf587099d292
2024-04-24 10:15:54 +02:00
Karolina Surma
829a7a2be9
_PyInterpreterState_Get() has become public in Python 3.13
...
Since 3.13.0a1 it has been renamed to PyInterpreterStateGet()
Source: https://github.com/python/cpython/pull/106321
2024-04-24 10:15:50 +02:00
Nick Zandbergen
a971c11d50
Update lobject_type.c
...
Add bytes as accepted input for documentation
2024-02-15 22:26:05 +00:00
dependabot[bot]
00870545b7
build(deps): bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 03:27:05 +00:00
dependabot[bot]
bf45060074
build(deps): bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 03:26:43 +00:00
Daniele Varrazzo
5fb59cd6ee
Merge branch 'macos-arm64-py312'
2023-11-01 11:45:52 +01:00
Daniele Varrazzo
e0d1daf290
Merge branch 'wheel-312-win'
2023-11-01 11:45:35 +01:00
Rene Leonhardt
941ac9a724
chore: add support for Python 3.12 macOS arm64 wheels
2023-11-01 11:33:30 +01:00
Rene Leonhardt
4e473010a3
chore: let dependabot update GitHub actions
2023-10-30 09:19:50 +00:00
Rene Leonhardt
8947b00142
chore: update GitHub actions and Postgres image tags
2023-10-29 18:05:30 +00:00
Daniele Varrazzo
46191f1fde
ci(windows): add Python 3.12 to the testing grid
2023-10-28 11:41:40 +02:00
Daniele Varrazzo
e73d2fa9f0
ci(win32): install the setuptools package to build in appveyor
...
Present so far, it wasn't installed in the first image containing Python 3.12.
2023-10-28 01:57:56 +02:00
Daniele Varrazzo
89005ac5b8
docs: add README blurb pointing to psycopg 3 on PyPI
...
See #1632 .
2023-10-10 23:35:40 +02:00
Panagiotis H.M. Issaris
bfdffc2c57
chore: show a Changelog link on PyPI
2023-10-06 15:05:42 +01:00
Daniele Varrazzo
ad5bee7054
chore: bump version number to 2.9.9
2023-10-03 11:39:35 +02:00
Daniele Varrazzo
37d1de1c8f
chore: add support for Python 3.12
2023-10-03 11:39:35 +02:00
Daniele Varrazzo
abf2723c0a
chore: drop support for Python 3.6
2023-10-03 11:39:35 +02:00
Daniele Varrazzo
2da65a715c
chore: drop leftover Python 2.7 import aliases from setup.py
2023-10-03 11:39:35 +02:00
Daniele Varrazzo
3fa60fd268
chore: bump doc requirement complained by dependabot
2023-10-03 11:39:32 +02:00
Daniele Varrazzo
1c1484e43b
ci: better interaction with scaleway build server
2023-10-03 11:39:32 +02:00
Daniele Varrazzo
c81cec604f
chore: bump to next dev release
2023-10-03 11:20:17 +02:00
Daniele Varrazzo
7fe8cb77ca
chore: bump docs requirements dependabot complains about
2023-09-28 09:29:21 +02:00
Daniele Varrazzo
b39d5d6492
chore: bundle libpq 16
...
- https://github.com/psycopg/psycopg/issues/650
- https://github.com/psycopg/psycopg/discussions/528
2023-09-28 09:26:33 +02:00
Daniele Varrazzo
921510d5be
docs: replace "compiled against" with "bundled with" in news file
...
Less confrontational...
2023-09-28 09:22:08 +02: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