]> 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:28:15 +0000 (12:28 +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 121db89b542d3b196917337325ebc1451d1835f4..749d87c1e9ee807176bc09b2565907b6c3214441 100644 (file)
@@ -36,7 +36,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' --color yes
index c219435b1dd8ae67119dd848243912e4023790bd..12c0fa0e92dd09355299b10f0ad9716f0443f93b 100644 (file)
@@ -37,14 +37,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