From: Daniele Varrazzo Date: Sat, 11 Nov 2023 15:32:07 +0000 (+0000) Subject: chore: refresh 3rd party tests X-Git-Tag: 3.1.13~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e3d50d21b748688e72d32580c61d863e8ae2f7e;p=thirdparty%2Fpsycopg.git chore: refresh 3rd party tests - upgrade Python to 3.12 - test stable version of SQLAlchemy 2 - add missing SQLAlchemy test dependency Testing Django with Python 3.12 not enabled yet as it requires pylibmc wheel packages for Python 3.12 (https://github.com/lericson/pylibmc/issues/288). --- diff --git a/.github/workflows/3rd-party-tests.yml b/.github/workflows/3rd-party-tests.yml index 22e3e06d4..f30b3fed3 100644 --- a/.github/workflows/3rd-party-tests.yml +++ b/.github/workflows/3rd-party-tests.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: python-version: - - "3.11" + - "3.12" - "3.7" sqlalchemy_label: # what version of sqlalchemy to download is defined in the "include" section below, @@ -39,12 +39,11 @@ jobs: - sqlalchemy_label: git_main pip_sqlalchemy: git+https://github.com/sqlalchemy/sqlalchemy.git#egg=SQLAlchemy - sqlalchemy_label: release - # TODO: remove pre once v2 is stable - pip_sqlalchemy: --pre sqlalchemy>=2a + pip_sqlalchemy: sqlalchemy>=2 env: PSYCOPG_IMPL: ${{ matrix.impl }} - DEPS: ./psycopg pytest pytest-xdist + DEPS: ./psycopg pytest pytest-xdist greenlet services: postgresql: @@ -130,6 +129,8 @@ jobs: include: - django_label: git_main pip_django: git+https://github.com/django/django.git#egg=Django + # Need pylibmc wheel package to test with Python 3.12. + # https://github.com/lericson/pylibmc/issues/288 python-version: "3.11" # TODO: Needs updating with new LTS releases, is this something we want? # Also needs consideration against which python we wanna test.