Skip to content

Commit

Permalink
CI: praise the ominous solar OS
Browse files Browse the repository at this point in the history
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 gevent/gevent#2053
  • Loading branch information
pajod committed Nov 30, 2024
1 parent de679d8 commit c998646
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/illumos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -49,7 +49,7 @@ jobs:
&& openssl version \
&& pkg info nginx \
&& gcc -dM -E - </dev/null \
&& ac_cv_header_sys_inotify_h=no ac_cv_func_inotify_init=no python3 -m pip install git+https://github.com/gevent/gevent.git@676d86a3ae799118d79ddc225e9286c6a75755a4 \
&& ac_cv_header_sys_inotify_h=no ac_cv_func_inotify_init=no python3 -m pip install 'gevent!=24.10.1,!=24.10.2,!=24.10.3,!=24.11.1' \
&& mkdir -p /tmp/.nginx \
&& python3 -m pip install tox \
&& python3 -m tox --version \
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ tornado = ["tornado>=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",
Expand Down
3 changes: 2 additions & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c998646

Please sign in to comment.