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
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
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
4dfa680a71
ci(macos): use the macos-13 runners
...
macos-12 is not supported anymore.
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
Edgar Ramírez-Mondragón
a59079a4f2
Build Python 3.13 wheels
2024-10-04 22:40:03 -06: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
Rene Leonhardt
8947b00142
chore: update GitHub actions and Postgres image tags
2023-10-29 18:05:30 +00:00
Daniele Varrazzo
37d1de1c8f
chore: add support for Python 3.12
2023-10-03 11:39:35 +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
3eee3e336d
ci: fix passing env vars to build scripts
2023-08-04 17:28:24 +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
Daniele Varrazzo
46238ba351
ci: fix cache key by setting lib versions in job env
2023-04-03 05:07:01 +02:00
Daniele Varrazzo
333b3b7ac4
ci: use cibuildwheel to build linux wheel packages
2023-04-02 17:56:29 +02:00
Daniele Varrazzo
b747b5b0fd
ci: bundle all build artifacts in a single directory
2023-04-02 12:59:29 +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
Amir Bitaraf
cc21faa4f4
Move to manylinux2014 for aarch64, ppc64le builds.
2023-03-26 18:35:00 +01: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
12700a5f02
Build packages for Python 3.11
2022-10-25 12:37:23 +02:00
Daniele Varrazzo
fdf957dcbd
build: use "latest" version of github builders
2022-09-25 02:46:21 +01:00
Peter Lithammer
2dc137975a
Build musllinux
wheels
2021-12-10 17:21:34 +01:00
Daniele Varrazzo
4a46aa39a5
Build Python 3.10 packages of relase 2.9.1
2021-10-11 23:32:30 +02:00
Daniele Varrazzo
cefb818105
Build manylinux2014 packages for i686/x86_64 platforms
...
The manylinux_2_24 tag leaves too many users without usable packages.
Using this tag requires to build libraries too or a libssh too old will
be used, with the segfault risks seen in the past.
OTOH building all the libraries on arm/ppc platforms proves very time
consuming and requires further tooling than what available in the image.
Because these packages are new it seems ok to use the manylinux_2_24
tag and use the package versions of libpq/libssl.
2021-06-15 18:42:25 +01:00
Daniele Varrazzo
efae570a07
Build MacOS packages on GitHub Actions
2021-05-26 17:23:40 +01:00
Daniele Varrazzo
9b91b09f9c
Enable qemu to build arm/ppc packages on github
2021-05-26 17:23:40 +01:00
Daniele Varrazzo
b5dd3aae86
Build packages for Python >= 3.6
2021-05-26 17:23:40 +01:00
Daniele Varrazzo
ec531bee31
Create sdist packages
...
Adapted from the psycopg2-wheels project
2021-05-25 23:23:27 +01:00