From c99864659083e8b77e848d1c7deb2ef32e61730b Mon Sep 17 00:00:00 2001 From: "Paul J. Dorn" Date: Sat, 30 Nov 2024 18:00:16 +0100 Subject: [PATCH] CI: praise the ominous solar OS on gevent 24.10.1 to 24.11.1 gevent worker on OmniOS py3.12/gcc14 fails with: AttributeError: module 'threading' has no attribute 'get_native_id' see https://github.com/gevent/gevent/issues/2053 --- .github/workflows/illumos.yml | 4 ++-- pyproject.toml | 1 + requirements_test.txt | 3 ++- tox.ini | 5 +---- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/illumos.yml b/.github/workflows/illumos.yml index 75f870785..994990ec1 100644 --- a/.github/workflows/illumos.yml +++ b/.github/workflows/illumos.yml @@ -38,7 +38,7 @@ jobs: # TODO: replace python-MN with version-agnostic alias # release: "r151048" prepare: | - pkg install pip-312 python-312 sqlite-3 nginx gcc14 git + pkg install pip-312 python-312 sqlite-3 nginx gcc14 usesh: true copyback: false run: | @@ -49,7 +49,7 @@ jobs: && openssl version \ && pkg info nginx \ && gcc -dM -E - =0.2"] gthread = [] setproctitle = ["setproctitle"] testing = [ + "gevent!=24.10.1,!=24.10.2,!=24.10.3,!=24.11.1;sys_platform=='sunos5'", "gevent", "eventlet", "coverage", diff --git a/requirements_test.txt b/requirements_test.txt index de9f36801..dc4f3d1b8 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,4 +1,5 @@ -git+https://github.com/gevent/gevent.git@676d86a3ae799118d79ddc225e9286c6a75755a4 +gevent!=24.10.1,!=24.10.2,!=24.10.3,!=24.11.1;sys_platform=='sunos5' +gevent eventlet coverage pytest>=7.2.0 diff --git a/tox.ini b/tox.ini index 7b1e0b0fc..9bf99e1be 100644 --- a/tox.ini +++ b/tox.ini @@ -10,11 +10,8 @@ envlist = [testenv] package = editable commands = pytest --cov=gunicorn {posargs} -setenv = - ac_cv_header_sys_inotify_h=no - ac_cv_func_inotify_init=no deps = - --pre -rrequirements_test.txt + -rrequirements_test.txt [testenv:run-entrypoint] package = wheel