feat: initial cpython 3.12 support (#207)
This commit is contained in:
parent
a3e0a6250e
commit
c755193ee0
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -41,11 +41,15 @@ jobs:
|
||||
- "3.9"
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
- "3.12.0-beta.4"
|
||||
os:
|
||||
- ubuntu-latest
|
||||
extension:
|
||||
- "skip_cython"
|
||||
- "use_cython"
|
||||
exclude:
|
||||
- extension: use_cython
|
||||
python-version: "3.12.0-beta.4"
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -95,7 +99,7 @@ jobs:
|
||||
# - Create GitHub release
|
||||
# - Publish to PyPI
|
||||
- name: Python Semantic Release
|
||||
uses: relekang/python-semantic-release@v7.33.1
|
||||
uses: python-semantic-release/python-semantic-release@v7.34.6
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
pypi_token: ${{ secrets.PYPI_TOKEN }}
|
||||
@ -120,7 +124,7 @@ jobs:
|
||||
uses: actions/setup-python@v4
|
||||
|
||||
- name: Install python-semantic-release
|
||||
run: python -m pip install python-semantic-release
|
||||
run: python -m pip install python-semantic-release==7.34.6
|
||||
|
||||
- name: Get Release Tag
|
||||
id: release_tag
|
||||
@ -134,7 +138,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install cibuildwheel==2.10.2
|
||||
run: python -m pip install cibuildwheel==2.14.1
|
||||
|
||||
- name: Build wheels
|
||||
run: python -m cibuildwheel --output-dir wheelhouse
|
||||
|
||||
@ -124,7 +124,7 @@ async def test_aio_proxy_object():
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info[:3][1] in (10, 11), reason="segfaults on py3.10/py3.11"
|
||||
sys.version_info[:3][1] in (10, 11, 12), reason="segfaults on py3.10/py3.11"
|
||||
)
|
||||
@pytest.mark.skipif(not has_gi, reason=skip_reason_no_gi)
|
||||
def test_glib_proxy_object():
|
||||
|
||||
@ -97,7 +97,7 @@ async def test_aio_properties():
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info[:3][1] in (10, 11), reason="segfaults on py3.10,py3.11"
|
||||
sys.version_info[:3][1] in (10, 11, 12), reason="segfaults on py3.10,py3.11,py3.12"
|
||||
)
|
||||
@pytest.mark.skipif(not has_gi, reason=skip_reason_no_gi)
|
||||
def test_glib_properties():
|
||||
|
||||
@ -47,7 +47,7 @@ async def test_aio_big_message():
|
||||
|
||||
@pytest.mark.skipif(not has_gi, reason=skip_reason_no_gi)
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info[:3][1] in (10, 11), reason="segfaults on py3.10,py3.11"
|
||||
sys.version_info[:3][1] in (10, 11, 12), reason="segfaults on py3.10,py3.11,py3.12"
|
||||
)
|
||||
def test_glib_big_message():
|
||||
"this tests that nonblocking reads and writes actually work for glib"
|
||||
|
||||
@ -55,7 +55,7 @@ def test_standard_interfaces():
|
||||
|
||||
@pytest.mark.skipif(not has_gi, reason=skip_reason_no_gi)
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info[:3][1] in (10, 11), reason="segfaults on py3.10,py3.11"
|
||||
sys.version_info[:3][1] in (10, 11, 12), reason="segfaults on py3.10,py3.11,py3.12"
|
||||
)
|
||||
def test_sending_messages_between_buses():
|
||||
bus1 = MessageBus().connect_sync()
|
||||
@ -125,7 +125,7 @@ def test_sending_messages_between_buses():
|
||||
|
||||
@pytest.mark.skipif(not has_gi, reason=skip_reason_no_gi)
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info[:3][1] in (10, 11), reason="segfaults on py3.10,py3.11"
|
||||
sys.version_info[:3][1] in (10, 11, 12), reason="segfaults on py3.10,py3.11,py3.12"
|
||||
)
|
||||
def test_sending_signals_between_buses():
|
||||
bus1 = MessageBus().connect_sync()
|
||||
|
||||
@ -71,7 +71,7 @@ async def test_name_requests():
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info[:3][1] in (10, 11), reason="segfaults on py3.10,py3.11"
|
||||
sys.version_info[:3][1] in (10, 11, 12), reason="segfaults on py3.10,py3.11,py3.12"
|
||||
)
|
||||
@pytest.mark.skipif(not has_gi, reason=skip_reason_no_gi)
|
||||
def test_request_name_glib():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user