Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 180 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,186 @@ jobs:
cibw_build: 'cp313t-*'
cibw_ft: 'true'
os: 'macos-latest'
- name: 'py314-cover (ubuntu/x86_64)'
artifact: 'py314-ubuntu-x86_64'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'x64'
tox_env: 'py314-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'py314-cover (windows/AMD64)'
artifact: 'py314-windows-AMD64'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'x64'
tox_env: 'py314-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'py314-cover (macos/arm64)'
artifact: 'py314-macos-arm64'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'arm64'
tox_env: 'py314-cover'
cover: true
cibw_arch: 'arm64'
cibw_build: false
os: 'macos-latest'
- name: 'py314-nocov (ubuntu/x86_64/manylinux)'
artifact: 'py314-ubuntu-x86_64-manylinux'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'x64'
tox_env: 'py314-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp314-*manylinux*'
cibw_ft: 'false'
os: 'ubuntu-latest'
- name: 'py314-nocov (ubuntu/x86_64/musllinux)'
artifact: 'py314-ubuntu-x86_64-musllinux'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'x64'
tox_env: 'py314-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp314-*musllinux*'
cibw_ft: 'false'
os: 'ubuntu-latest'
- name: 'py314-nocov (ubuntu/aarch64/manylinux)'
artifact: 'py314-ubuntu-aarch64-manylinux'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'x64'
tox_env: 'py314-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp314-*manylinux*'
cibw_ft: 'false'
os: 'ubuntu-latest'
- name: 'py314-nocov (ubuntu/aarch64/musllinux)'
artifact: 'py314-ubuntu-aarch64-musllinux'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'x64'
tox_env: 'py314-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp314-*musllinux*'
cibw_ft: 'false'
os: 'ubuntu-latest'
- name: 'py314-nocov (windows/AMD64)'
artifact: 'py314-windows-AMD64'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'x64'
tox_env: 'py314-nocov'
cibw_arch: 'AMD64'
cibw_build: 'cp314-*'
cibw_ft: 'false'
os: 'windows-latest'
- name: 'py314-nocov (macos/arm64)'
artifact: 'py314-macos-arm64'
python: '3.14-dev'
toxpython: 'python3.14'
python_arch: 'arm64'
tox_env: 'py314-nocov'
cibw_arch: 'arm64'
cibw_build: 'cp314-*'
cibw_ft: 'false'
os: 'macos-latest'
- name: 'py314-ft-cover (ubuntu/x86_64)'
artifact: 'py314-ft-ubuntu-x86_64'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'x64-freethreaded'
tox_env: 'py314-ft-cover'
cover: true
cibw_arch: 'x86_64'
cibw_build: false
os: 'ubuntu-latest'
- name: 'py314-ft-cover (windows/AMD64)'
artifact: 'py314-ft-windows-AMD64'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'x64-freethreaded'
tox_env: 'py314-ft-cover'
cover: true
cibw_arch: 'AMD64'
cibw_build: false
os: 'windows-latest'
- name: 'py314-ft-cover (macos/arm64)'
artifact: 'py314-ft-macos-arm64'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'arm64-freethreaded'
tox_env: 'py314-ft-cover'
cover: true
cibw_arch: 'arm64'
cibw_build: false
os: 'macos-latest'
- name: 'py314-ft-nocov (ubuntu/x86_64/manylinux)'
artifact: 'py314-ft-ubuntu-x86_64-manylinux'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'x64-freethreaded'
tox_env: 'py314-ft-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp314t-*manylinux*'
cibw_ft: 'true'
os: 'ubuntu-latest'
- name: 'py314-ft-nocov (ubuntu/x86_64/musllinux)'
artifact: 'py314-ft-ubuntu-x86_64-musllinux'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'x64-freethreaded'
tox_env: 'py314-ft-nocov'
cibw_arch: 'x86_64'
cibw_build: 'cp314t-*musllinux*'
cibw_ft: 'true'
os: 'ubuntu-latest'
- name: 'py314-ft-nocov (ubuntu/aarch64/manylinux)'
artifact: 'py314-ft-ubuntu-aarch64-manylinux'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'x64-freethreaded'
tox_env: 'py314-ft-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp314t-*manylinux*'
cibw_ft: 'true'
os: 'ubuntu-latest'
- name: 'py314-ft-nocov (ubuntu/aarch64/musllinux)'
artifact: 'py314-ft-ubuntu-aarch64-musllinux'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'x64-freethreaded'
tox_env: 'py314-ft-nocov'
cibw_arch: 'aarch64'
cibw_build: 'cp314t-*musllinux*'
cibw_ft: 'true'
os: 'ubuntu-latest'
- name: 'py314-ft-nocov (windows/AMD64)'
artifact: 'py314-ft-windows-AMD64'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'x64-freethreaded'
tox_env: 'py314-ft-nocov'
cibw_arch: 'AMD64'
cibw_build: 'cp314t-*'
cibw_ft: 'true'
os: 'windows-latest'
- name: 'py314-ft-nocov (macos/arm64)'
artifact: 'py314-ft-macos-arm64'
python: '3.14-dev'
toxpython: 'python3.14t'
python_arch: 'arm64-freethreaded'
tox_env: 'py314-ft-nocov'
cibw_arch: 'arm64'
cibw_build: 'cp314t-*'
cibw_ft: 'true'
os: 'macos-latest'
- name: 'pypy39-cover (ubuntu/x86_64)'
artifact: 'pypy39-ubuntu-x86_64'
python: 'pypy-3.9'
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def read(*names, **kwargs):
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
# uncomment if you test on these interpreters:
Expand Down
8 changes: 5 additions & 3 deletions tests/test_async_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,15 +498,15 @@ def test_await_1(lop):
async def foo():
await 1

with pytest.raises(TypeError, match='object int can.t.*await'):
with pytest.raises(TypeError, match='int.*can.t.*await'):
run_async(lop.Proxy(foo))


def test_await_2(lop):
async def foo():
await []

with pytest.raises(TypeError, match='object list can.t.*await'):
with pytest.raises(TypeError, match='list.*can.t.*await'):
run_async(lop.Proxy(foo))


Expand Down Expand Up @@ -1733,6 +1733,8 @@ async def f():
pass
finally:
loop.close()
asyncio.set_event_loop_policy(None)
with warnings.catch_warnings():
warnings.simplefilter('ignore', DeprecationWarning)
asyncio.set_event_loop_policy(None)

assert buffer == [1, 2, 'MyException']
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envlist =
clean,
check,
docs,
{py39,py310,py311,py312,py313,py313-ft,pypy39,pypy310}-{cover,nocov},
{py39,py310,py311,py312,py313,py313-ft,py314,py314-ft,pypy39,pypy310}-{cover,nocov},
report
ignore_basepython_conflict = true

Expand All @@ -28,6 +28,8 @@ basepython =
py312: {env:TOXPYTHON:python3.12}
py313: {env:TOXPYTHON:python3.13}
py313ft: {env:TOXPYTHON:python3.13t}
py314: {env:TOXPYTHON:python3.14}
py314ft: {env:TOXPYTHON:python3.14t}
{bootstrap,clean,check,report,docs,codecov,coveralls,extension-coveralls}: {env:TOXPYTHON:python3}
setenv =
PYTHONPATH={toxinidir}/tests
Expand Down
Loading