From: Daniele Varrazzo Date: Mon, 22 Aug 2022 09:42:52 +0000 (+0200) Subject: ci: don't install modules in editable mode to run packages test X-Git-Tag: 3.1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d18c8a6ccbd37821af5a060d0a4086a8bf95d20;p=thirdparty%2Fpsycopg.git ci: don't install modules in editable mode to run packages test Something else that broke after setuptools 64 release. See tox-dev/tox#2479 for more details. Reported something at pypa/setuptools#3557 --- diff --git a/.github/workflows/packages-pool.yml b/.github/workflows/packages-pool.yml index 0c4306dde..3445e5c37 100644 --- a/.github/workflows/packages-pool.yml +++ b/.github/workflows/packages-pool.yml @@ -38,7 +38,7 @@ jobs: - name: Install the Python pool package and test requirements run: |- pip install dist/* - pip install -e ./psycopg[test] + pip install ./psycopg[test] - name: Test the sdist package run: pytest -m 'not slow and not flakey' --color yes diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 3601a205f..cb5f7398f 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -39,14 +39,14 @@ jobs: - name: Install the Python package and test requirements run: |- pip install `ls dist/*`[test] - pip install -e ./psycopg_pool + pip install ./psycopg_pool if: ${{ matrix.package == 'psycopg' }} - name: Install the C package and test requirements run: |- pip install dist/* - pip install -e ./psycopg[test] - pip install -e ./psycopg_pool + pip install ./psycopg[test] + pip install ./psycopg_pool if: ${{ matrix.package == 'psycopg_c' }} - name: Test the sdist package