Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Dec 23, 2025

The 3.14 tests show:

❯ tox -e py314
py314: venv> /Library/Frameworks/Python.framework/Versions/3.14/bin/uv venv -p /Library/Frameworks/Python.framework/Versions/3.14/bin/python3 --allow-existing --python-preference system /Users/hugo/github/release-tools/.tox/py314
py314: install_deps> /Library/Frameworks/Python.framework/Versions/3.14/bin/uv pip install -r dev-requirements.txt -r requirements.txt
py314: commands[0]> .tox/py314/bin/python -m pytest -vv tests/ --cov . --cov tests --cov-report html --cov-report term --cov-report xml
/Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pluggy/_callers.py:141: SyntaxWarning: 'return' in a 'finally' block
  return result
/Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pluggy/_callers.py:182: SyntaxWarning: 'return' in a 'finally' block
  return outcome.get_result()
========================================================= test session starts ==========================================================
platform darwin -- Python 3.14.2, pytest-8.4.2, pluggy-1.5.0 -- /Users/hugo/github/release-tools/.tox/py314/bin/python

And:

=========================================================== warnings summary ===========================================================
tests/test_add_to_pydotorg.py::test_slug_for[3.9.0a0-390-a0]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:1153: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
    return asyncio.get_event_loop_policy()

tests/test_buildbotapi.py::test_buildbotapi_authenticate
tests/test_buildbotapi.py::test_buildbotapi_all_builders
tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch
tests/test_buildbotapi.py::test_buildbotapi_stable_builders
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:844: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
    _restore_event_loop_policy(asyncio.get_event_loop_policy()),

tests/test_buildbotapi.py::test_buildbotapi_authenticate
tests/test_buildbotapi.py::test_buildbotapi_all_builders
tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch
tests/test_buildbotapi.py::test_buildbotapi_stable_builders
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:1125: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16
    asyncio.set_event_loop_policy(new_loop_policy)

tests/test_buildbotapi.py::test_buildbotapi_authenticate
tests/test_buildbotapi.py::test_buildbotapi_all_builders
tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch
tests/test_buildbotapi.py::test_buildbotapi_stable_builders
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:1126: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
    loop = asyncio.get_event_loop_policy().new_event_loop()

tests/test_buildbotapi.py::test_buildbotapi_authenticate
tests/test_buildbotapi.py::test_buildbotapi_all_builders
tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch
tests/test_buildbotapi.py::test_buildbotapi_stable_builders
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:859: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
    policy = asyncio.get_event_loop_policy()

tests/test_buildbotapi.py::test_buildbotapi_authenticate
tests/test_buildbotapi.py::test_buildbotapi_all_builders
tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch
tests/test_buildbotapi.py::test_buildbotapi_stable_builders
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:904: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
    policy = asyncio.get_event_loop_policy()

tests/test_buildbotapi.py::test_buildbotapi_authenticate
tests/test_buildbotapi.py::test_buildbotapi_all_builders
tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch
tests/test_buildbotapi.py::test_buildbotapi_stable_builders
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:928: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16
    asyncio.set_event_loop_policy(previous_policy)

tests/test_buildbotapi.py::test_buildbotapi_authenticate
tests/test_buildbotapi.py::test_buildbotapi_all_builders
tests/test_buildbotapi.py::test_buildbotapi_all_builders_with_branch
tests/test_buildbotapi.py::test_buildbotapi_stable_builders
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/success.json-False]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/failure.json-True]
tests/test_buildbotapi.py::test_buildbotapi_is_builder_failing_currently_yes[tests/buildbotapi/no-builds.json-False]
  /Users/hugo/github/release-tools/.tox/py314/lib/python3.14/site-packages/pytest_asyncio/plugin.py:940: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
    policy = asyncio.get_event_loop_policy()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
...

Bump with these commands to fix:

pip-compile --generate-hashes --output-file=dev-requirements.txt dev-requirements.in --upgrade-package "pytest-asyncio"
pip-compile --generate-hashes --output-file=dev-requirements.txt dev-requirements.in --upgrade-package "pluggy"

…requirements.in --upgrade-package "pytest-asyncio"
@AA-Turner AA-Turner merged commit e3fc8a4 into python:main Dec 23, 2025
16 checks passed
@hugovk hugovk deleted the bump-pytest-asyncio branch December 23, 2025 19:57
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

Successfully merging this pull request may close these issues.

2 participants