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

feat: initial cpython 3.12 support #207

Merged
merged 4 commits into from
Jul 24, 2023
Merged
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
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/client/test_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion tests/client/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_big_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_glib_low_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -125,7 +125,7 @@ def message_handler_error(sent):

@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()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_request_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def get_name_owner(name):


@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():
Expand Down