Skip to content

Add support for Python 3.14 to the project CI - #98

Closed
lormafe34 wants to merge 24 commits into
intra2net:masterfrom
lormafe34:py314-updated-pr
Closed

Add support for Python 3.14 to the project CI #98
lormafe34 wants to merge 24 commits into
intra2net:masterfrom
lormafe34:py314-updated-pr

Conversation

@lormafe34

@lormafe34 lormafe34 commented Sep 1, 2026

Copy link
Copy Markdown

Summary by CodeRabbit

  • New Features

    • Added support for running with Python 3.14.
    • Improved compatibility across supported platforms and Python versions.
  • Bug Fixes

    • Added a clear error message when the AutoPy backend is unavailable, making setup issues easier to identify.
    • Improved keyboard handling when certain modifier keys are not available.

lormafe34 added 24 commits July 6, 2026 19:17
Removed caching configuration for pip in CI workflow.
Remove conditional check for pip installation variant.
Refactor version handling in CI workflow for better clarity.
Removed redundant env declaration from the CI workflow.
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: d07b7a71-b933-41ee-9834-6d11bb3608cb

📥 Commits

Reviewing files that changed from the base of the PR and between 596b89b and dd6c4b1.

📒 Files selected for processing (6)
  • .github/workflows/ci.yml
  • .github/workflows/lint.yml
  • guibot/controller.py
  • packaging/pip_requirements.txt
  • some_text_file4b45mcgu.txt
  • tests/test_controller.py

📝 Walkthrough

Walkthrough

The project adds Python 3.14 dependency markers and CI coverage. AutoPy is excluded on Python 3.14, unavailable backend imports raise a project-specific error, and controller tests handle missing ALT mappings.

Changes

Python 3.14 support

Layer / File(s) Summary
Python 3.14 dependency compatibility
packaging/pip_requirements.txt
Dependency markers select compatible numpy, opencv-contrib-python, torch, and torchvision versions. autopy is limited to Python versions below 3.14.
Unavailable AutoPy handling
guibot/controller.py, tests/test_controller.py
Missing AutoPy raises UninitializedBackendError. The controller test handles environments without an ALT key mapping.
CI matrix and artifact flow
.github/workflows/ci.yml
Linux CI tests Python 3.14 with AutoPy disabled. Pip caching is removed, platform test steps are reordered, and the pip wheel uploads for all variants.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant LinuxMatrix
  participant SetupPython
  participant TestStep
  participant UploadArtifacts
  LinuxMatrix->>SetupPython: select Python 3.14
  SetupPython->>TestStep: provide DISABLE_AUTOPY=1
  TestStep->>UploadArtifacts: complete test variant
  UploadArtifacts->>LinuxMatrix: upload pip wheel artifact
Loading
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lormafe34 lormafe34 closed this Sep 1, 2026
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.

1 participant