]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: set macOS deployment target env vars
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 23 Jun 2024 21:00:23 +0000 (23:00 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 23 Jun 2024 22:32:25 +0000 (00:32 +0200)
Seems required moving from cibuildwheel 2.16.5 to maybe 2.18.1.

.github/workflows/packages-bin.yml

index 486ba463698d465b76e70bec087b9c1ca48cea1c..ab70f1f14a797e88b8438da3364080b2a014bef8 100644 (file)
@@ -129,6 +129,7 @@ jobs:
           CIBW_TEST_COMMAND: >-
             pytest {project}/tests -m 'not slow and not flakey' --color yes
           CIBW_ENVIRONMENT: >-
+            MACOSX_DEPLOYMENT_TARGET=14.0
             PSYCOPG_IMPL=binary
             PSYCOPG_TEST_DSN='dbname=postgres'
             PATH="/opt/homebrew/opt/postgresql@${PG_VERSION}/bin:$PATH"
@@ -180,6 +181,7 @@ jobs:
           CIBW_TEST_COMMAND: >-
             pytest {project}/tests -m 'not slow and not flakey' --color yes
           CIBW_ENVIRONMENT: >-
+            MACOSX_DEPLOYMENT_TARGET=12.0
             PSYCOPG_IMPL=binary
             PSYCOPG_TEST_DSN='dbname=postgres'
             PATH="/usr/local/opt/postgresql@${PG_VERSION}/bin:$PATH"