Conversation
….13) - Remove EOL Python 3.6-3.9 from classifiers and cibuildwheel - Add Python 3.12, 3.13 to classifiers - Add python_requires='>=3.10' to setup.py - Update Cython requirement to >=3.0 for Python 3.12+ support - Add test matrix for Python 3.10, 3.11, 3.12, 3.13 - Update cibuildwheel to v2.22, upload-artifact to v4, codecov to v4 - Update CI OS runners to latest versions - Add workflow permissions for security Co-authored-by: whtsky <876694+whtsky@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update pyproject.toml and GitHub Actions for Python versions
Drop EOL Python versions, test all alive versions (3.10–3.13)
Feb 28, 2026
Copilot stopped work on behalf of
whtsky due to an error
February 28, 2026 12:43
…ilds Replace macos-latest with explicit macos-13 (Intel x86_64) and macos-14 (Apple Silicon arm64) runners to ensure native architecture wheel builds. Change CIBW_ARCHS to CIBW_ARCHS_LINUX since multi-arch builds via QEMU are only needed on Linux. Co-authored-by: whtsky <876694+whtsky@users.noreply.github.com>
Copilot
AI
changed the title
Drop EOL Python versions, test all alive versions (3.10–3.13)
Pin macOS CI runners for native architecture wheel builds
Feb 28, 2026
In Python 3, `long` doesn't exist (unified with `int`). Cython 3 rejects `long` as a Python type identifier. Remove the `long: encode_long` entry and route `int` to the untyped `encode_long` handler so arbitrary-size Python integers are supported. Co-authored-by: whtsky <876694+whtsky@users.noreply.github.com>
Copilot
AI
changed the title
Pin macOS CI runners for native architecture wheel builds
Fix Cython 3 build and pin macOS CI runners
Feb 28, 2026
- Switch from pypa/cibuildwheel@v2 GitHub Action to CLI-based setup (pip install cibuildwheel==3.3.1) following the official README - Update OS matrix to use native ARM runners instead of QEMU: ubuntu-24.04-arm, windows-11-arm, macos-15-intel, macos-latest - Add persist-credentials: false to all actions/checkout steps (fixes 3 SonarCloud security hotspots) - Update actions to v6: checkout, setup-python, upload-artifact Co-authored-by: whtsky <876694+whtsky@users.noreply.github.com>
|
Copilot
AI
changed the title
Fix Cython 3 build and pin macOS CI runners
Fix Cython 3 build, upgrade cibuildwheel to v3, resolve SonarCloud security hotspots
Feb 28, 2026
This was referenced Feb 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Build was broken: Cython 3 rejects Python 2's
longtype, cibuildwheel was pinned to v2, and SonarCloud flagged 3 security hotspots failing the quality gate.Cython 3 fix (
bencoder.pyx)long: encode_longfromencode_func—longdoesn't exist in Python 3int→encode_long(untyped handler) instead ofencode_int(Clongparam) to support arbitrary-size intscibuildwheel v2 → v3 (
build.yml)Follows the official v3 README setup:
pip install cibuildwheel==3.3.1+python -m cibuildwheelinstead ofpypa/cibuildwheel@v2.22actionubuntu-24.04-arm,windows-11-arm) replace QEMU cross-compilationmacos-15-intel+macos-latestreplace deprecatedmacos-13/macos-14checkout,setup-python,upload-artifactSonarCloud quality gate fix
persist-credentials: falseto all 3actions/checkoutsteps (build.yml ×2, test.yml ×1) — resolves the security hotspots that caused C rating / gate failureModernize Python support
Cython>=3.0Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
sonarcloud.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.