- {impl: c, python: "3.11", postgres: "postgres:12", libpq: oldest}
- {impl: c, python: "3.12", postgres: "postgres:11", libpq: newest}
+ - {impl: python, python: "3.8", ext: gevent, postgres: "postgres:16"}
+ - {impl: c, python: "3.12", ext: gevent, postgres: "postgres:14"}
- {impl: python, python: "3.9", ext: dns, postgres: "postgres:14"}
- {impl: python, python: "3.9", ext: postgis, postgres: "postgis/postgis"}
- {impl: python, python: "3.10", ext: numpy, postgres: "postgres:14"}
run: |
echo "DEPS=$DEPS ./psycopg_c" >> $GITHUB_ENV
+ - name: Include gevent to the packages to install
+ if: ${{ matrix.ext == 'gevent' }}
+ run: |
+ echo "DEPS=$DEPS gevent" >> $GITHUB_ENV
+ echo "MARKERS=$MARKERS gevent" >> $GITHUB_ENV
+
- name: Include dnspython to the packages to install
if: ${{ matrix.ext == 'dns' }}
run: |
- name: Configure to use the oldest dependencies
if: ${{ matrix.ext == 'min' }}
run: |
- echo "DEPS=$DEPS dnspython shapely numpy" >> $GITHUB_ENV
+ echo "DEPS=$DEPS dnspython shapely numpy gevent" >> $GITHUB_ENV
echo "PIP_CONSTRAINT=${{ github.workspace }}/tests/constraints.txt" \
>> $GITHUB_ENV
# catch the exception for my life.
"subprocess: the test import psycopg after subprocess",
"timing: the test is timing based and can fail on cheese hardware",
+ "gevent: the test requires the gevent module to be installed",
"dns: the test requires dnspython to run",
"postgis: the test requires the PostGIS extension to run",
"numpy: the test requires numpy module to be installed",