ci: don't test gevent on pypy (#3830)

This commit is contained in:
David Hewitt 2024-02-13 00:14:55 +00:00 committed by GitHub
parent fbfeb2ff03
commit e308c8d3ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ classifiers = [
[project.optional-dependencies]
dev = [
"gevent>=22.10.2",
"gevent>=22.10.2; implementation_name == 'cpython'",
"hypothesis>=3.55",
"pytest-asyncio>=0.21",
"pytest-benchmark>=3.4",

View File

@ -2,7 +2,6 @@ import importlib
import platform
import sys
import gevent
import pyo3_pytests.misc
import pytest
@ -83,6 +82,8 @@ class ArbitraryClass:
def test_gevent():
gevent = pytest.importorskip("gevent")
def worker(worker_id: int) -> None:
for iteration in range(2):
d = {"key": ArbitraryClass(worker_id, iteration)}