Brénainn Woodsend
d0bc154f31
build(macos): Enable cross compiling libpq across macOS architectures
...
The GitHub Actions runners look like they're only 1 year away from the
last macOS x86_64 platform being removed. Get ahead of the game and
build x86_64 on arm64.
2025-01-05 20:44:25 +01:00
Daniele Varrazzo
1eac4fd4da
test(macos): soften tests to account for macOS polling differences
2025-01-05 04:00:47 +01:00
Daniele Varrazzo
c8abc5ce61
ci(macos): no fast tests on macOS package building
...
We don't run complete tests in CI, so let's not waste this chance. The
overhead for complete tests is minimal compared to all the pipeline
boilerplate.
2025-01-05 04:00:00 +01:00
Daniele Varrazzo
65626ec565
ci(macos): add libpq build caching
2025-01-05 04:00:00 +01:00
Daniele Varrazzo
310bc75532
ci(macos): move libpq build script to BEFORE_ALL build step
...
This is is how it is organised in Linux.
2025-01-05 04:00:00 +01:00
Brénainn Woodsend
d43e5fe092
ci(macos): Avoid linking against homebrew
...
Homebrew binaries are always compiled for exactly the version they're
installed on making them very un-portable. When a wheel is "repaired" by
cibuildwheel, delocate-wheel pulls in _psycopg's dependencies
(libpq.dylib, libssl.dylib and libcrypto.dylib) which, on a GitHub
Actions macOS 14 runner, are provided by Homebrew and are therefore only
macOS >= 14 compatible. The resultant wheel is therefore incompatible
with all but the latest macOS versions.
Build all dependencies from source so that we can set the deployment
target to something sensible. Fixes #1753 .
2025-01-04 21:23:15 +01:00
Daniele Varrazzo
3b684f91ca
ci: rename merged artifact package
...
It doesn't contain binary packages only
2025-01-04 21:06:33 +01:00
dependabot[bot]
bf7fc6cfa4
build(deps): bump peter-evans/repository-dispatch from 2 to 3
...
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch ) from 2 to 3.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases )
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-04 21:05:08 +01:00
Daniele Varrazzo
979d56a797
chore: update cibuildwheel to 2.22.0
2025-01-04 21:04:14 +01:00
dependabot[bot]
4903f1c5d6
build(deps): bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-04 21:02:30 +01:00
Daniele Varrazzo
1dc7b5b70b
ci: add merge step to download all packages at once
2025-01-04 21:01:09 +01:00
Daniele Varrazzo
ed4ba11d17
Merge pull request #1772 from psycopg/ci-vcpkg
...
Package psycopg2-binary for windows using vcpkg libpq
2025-01-04 21:00:44 +01:00
Daniele Varrazzo
947f731400
ci: test against final Python 3.13
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
b8d49e6280
test: skip module test on Windows
...
Life is too short to figure out why it fails.
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
4dfa680a71
ci(macos): use the macos-13 runners
...
macos-12 is not supported anymore.
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
f4282c6d87
chore: drop Postgres version parsing in setup.py
...
The macro is in the include files, no idea why parsing it from pg_config
was needed.
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
a8765121d9
fix(ci): handle other pg_config options required by setup.py
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
bb52bcf769
ci(windows): create the psycopg2-binary package in Github
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
fa24c922e7
ci(windows): build binary packages using the vcpkg package
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
3c7889b0e7
chore: drop appveyor CI integration
2025-01-04 19:06:56 +01:00
Daniele Varrazzo
e83754a414
ci: work around the envionment breaking guard
2024-10-15 13:49:08 +02:00
Daniele Varrazzo
a805acf59f
chore: bump to version 2.9.10
2024-10-15 10:40:56 +02:00
Daniele Varrazzo
78561ac99d
Merge pull request #1728 from romank0/fetch-notifications-on-commit
...
Adds notifies processing during commit
2024-10-11 03:13:56 +02:00
Daniele Varrazzo
5283a835dc
chore: add TransactionTimeout error, added in PostgreSQL 17
...
Url to fetch source changed from the official Postgres one to the Github
mirror because the former throttled us.
2024-10-11 02:41:31 +02:00
Daniele Varrazzo
f64dd397fd
docs: add news entry about notifications on commit
2024-10-11 00:29:28 +02:00
Roman Konoval
cba6d39be0
removes duplication in tests
2024-10-11 00:26:05 +02:00
Roman Konoval
282360dd04
adds notifications processing after every PQexec
2024-10-11 00:26:05 +02:00
Roman Konoval
362cb00978
Adds notifies processing in pq_commit
2024-10-11 00:24:37 +02:00
Daniele Varrazzo
eaeeb76944
Merge pull request #1729 from edgarrmondragon/1692-py313-wheels
...
Build Python 3.13 wheels, drop support for Python 3.7
2024-10-11 00:17:47 +02:00
Daniele Varrazzo
4987362fb4
ci(windows): drop Python 3.8 packages
...
The runner image to build 3.8 package doesn't seem to have a currently
supported database, and the previously used 9.6 is no more supported on
current runners.
2024-10-10 15:48:48 +02:00
Daniele Varrazzo
8c9a35de38
ci: test with PostgreSQL 17
2024-10-09 19:46:48 +02:00
Daniele Varrazzo
563b55a725
docs: bump supported versions to Python 3.13 and Postgres 17
2024-10-08 17:08:02 +02:00
Daniele Varrazzo
dac8fa5632
ci(win): use PostgreSQL 13 for tests
...
By latest errors, it seems that Postgres 9.6 is no more supported on
VS2019 image. By documentation, it also seem that Postgres 13 is the
most recent supported database and not available in VS2015 image.
Therefore, drop Python 3.8 test (and likely build).
See https://www.appveyor.com/docs/services-databases/#postgresql
2024-10-08 17:04:40 +02:00
Edgar Ramírez-Mondragón
e1cf23d9c7
Drop Python 3.7 in other places
2024-10-05 01:41:20 -06:00
Edgar Ramírez-Mondragón
0eccfbec47
Ensure pg data dir exists
2024-10-05 01:35:47 -06:00
Edgar Ramírez-Mondragón
26f0f13b39
Use py
executable in appveyor
2024-10-05 01:29:06 -06:00
Edgar Ramírez-Mondragón
a59079a4f2
Build Python 3.13 wheels
2024-10-04 22:40:03 -06:00
Anoosh Dsouza
f9780aa054
fixed a typo in doc/src/usage.rst file
2024-09-19 20:56:05 +02:00
0xTiger
658afe4cd9
docs: tiny grammar fix "a" -> "one"
2024-07-17 18:44:43 +02:00
Daniele Varrazzo
f79867c9f2
chore: bump to next dev version
2024-07-14 22:01:17 +02:00
Daniele Varrazzo
dc5249ba01
Merge pull request #1695 from befeleme/py3.13
...
Add support for Python 3.13
2024-07-14 21:58:10 +02:00
Daniele Varrazzo
7c2706a8b4
docs: note Python 3.13 support in news file
2024-07-14 21:57:27 +02:00
Karolina Surma
4a4b5acdc2
Declare the support for Python 3.13 in classifiers
2024-04-26 09:21:05 +02:00
Karolina Surma
efc5ad01e0
Add Python 3.13.0a6 to tox matrix
2024-04-26 09:21:05 +02:00
Karolina Surma
866bcef589
Add Python 3.13.0a6 to CI
2024-04-26 09:21:05 +02:00
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