Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/unittests (Python 3.12) are failing #46352

Open
OrKoN opened this issue May 17, 2024 · 0 comments
Open

tools/unittests (Python 3.12) are failing #46352

OrKoN opened this issue May 17, 2024 · 0 comments

Comments

@OrKoN
Copy link
Contributor

OrKoN commented May 17, 2024

py312-sauce: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/wptrunner/../requirements_pytest.txt -r /home/test/web-platform-tests/tools/wptrunner/requirements.txt -r /home/test/web-platform-tests/tools/wptrunner/requirements_sauce.txt
py312-sauce: install_package> python -I -m pip install --force-reinstall --no-deps /home/test/web-platform-tests/tools/wptrunner/.tox/.tmp/package/6/wptrunner-1.14.tar.gz
py312-sauce: commands[0]> pytest -c/home/test/web-platform-tests/tools/wptrunner/../pytest.ini --rootdir=/home/test/web-platform-tests/tools/wptrunner
/home/test/web-platform-tests/tools/wptrunner/.tox/py312-sauce/lib/python3.12/site-packages/_pytest/config/__init__.py:331: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.

Plugin: helpconfig, Hook: pytest_cmdline_parse

ConftestImportFailure: TypeError: field() got an unexpected keyword argument 'alias' (from /home/test/web-platform-tests/tools/conftest.py)

For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning

  config = pluginmanager.hook.pytest_cmdline_parse(

ImportError while loading conftest '/home/test/web-platform-tests/tools/conftest.py'.

../conftest.py:6: in <module>

    from hypothesis import settings, HealthCheck

.tox/py312-sauce/lib/python3.12/site-packages/hypothesis/__init__.py:57: in <module>

    run()

.tox/py312-sauce/lib/python3.12/site-packages/hypothesis/entry_points.py:35: in run

    hook = entry.load()

.tox/py312-sauce/lib/python3.12/site-packages/trio/__init__.py:23: in <module>

    from ._core import TASK_STATUS_IGNORED as TASK_STATUS_IGNORED  # isort: split

.tox/py312-sauce/lib/python3.12/site-packages/trio/_core/__init__.py:21: in <module>

    from ._local import RunVar, RunVarToken

.tox/py312-sauce/lib/python3.12/site-packages/trio/_core/_local.py:9: in <module>

    from . import _run

.tox/py312-sauce/lib/python3.12/site-packages/trio/_core/_run.py:298: in <module>

    class CancelStatus:

.tox/py312-sauce/lib/python3.12/site-packages/trio/_core/_run.py:330: in CancelStatus

    _scope: CancelScope = attrs.field(alias="scope")

E   TypeError: field() got an unexpected keyword argument 'alias'

see #46348

@OrKoN OrKoN changed the title tools/ unittests (Python 3.12) are failing tools/unittests (Python 3.12) are failing May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant