]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: don't install modules in editable mode to run packages test
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 22 Aug 2022 09:42:52 +0000 (11:42 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 22 Aug 2022 10:15:27 +0000 (12:15 +0200)
Something else that broke after setuptools 64 release. See tox-dev/tox#2479
for more details.

Reported something at pypa/setuptools#3557

.github/workflows/packages-pool.yml
.github/workflows/packages.yml

index 0c4306dde692f1ffd45af09963130221f2119c4a..3445e5c3729252ee62c857f22cb57960069b22f4 100644 (file)
@@ -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
index 3601a205fb95d989a8793647f7a8302a72a23d38..cb5f7398f05beda13f48bd31e9c4fdeeaed2a9b3 100644 (file)
@@ -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