Add Python 3.14 support on Windows#1033
Open
pranavji wants to merge 1 commit into
Open
Conversation
pythonnet 3.0.x does not support Python 3.14, which capped Windows at 3.13. Split the requirement with environment markers: pythonnet 3.0.5 for Python 3.9, pythonnet 3.1.0 (adds 3.14, drops 3.9) for 3.10+. Remove the Windows-specific cap in pythoncheck and extend CI to 3.14. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Windows was capped at Python 3.13 because pythonnet 3.0.x does not support Python 3.14 (
requires-python >=3.7,<3.14), which blocked the LibreHardwareMonitor integration. pythonnet 3.1.0 adds Python 3.14 support but drops Python 3.9 (requires-python >=3.10,<3.15), so a plain requirement bump (#1009) would break Python 3.9 users. This PR splits the requirement with environment markers instead — the same pattern already used in requirements.txt for requests, Pillow and numpy — so Python 3.9 through 3.14 all resolve to a compatible pythonnet.Changes:
~=3.0.5for Python 3.9,~=3.1.0for Python 3.10+ (supersedes ⬆️ Update pythonnet requirement from ~=3.0.5 to ~=3.1.0 #1009)Tested on Windows 11 with Python 3.14.6:
pip install -r requirements.txtresolves the full dependency set with no conflicts🤖 Generated with Claude Code