Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 104
Support Python 3.14 and drop Python 3.8.#839
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
junkmd commented May 14, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
codecovbot commented Jun 4, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #839 +/- ## ========================================== - Coverage 84.72% 84.69% -0.03% ========================================== Files 125 125 Lines 11566 11532 -34 ========================================== - Hits 9799 9767 -32 + Misses 1767 1765 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f7a127c to 0dd80a7Compare878c331 to cfbfdf9Compare8ffec8f to 0d7925aCompare8950024 to 9256fa0Comparectypes.POINTER() caching mechanism updated in Python 3.14.d444361 to f3b304eComparejunkmd commented Jul 21, 2025
I added version bridges to the See also python/cpython@8d0e07e, python/cpython#133237, python/cpython#61103, and python/cpython#136847. |
to accommodate the changes in `ctypes` in Python 3.14, including the deprecation of `_pointer_type_cache` and the introduction of the `__pointer_type__` attribute protocol.
to accommodate the changes in `ctypes` in Python 3.14, including the deprecation of `_pointer_type_cache` and the introduction of the `__pointer_type__` attribute protocol.
In Python 3.14, changes to the underlying C structures in `ctypes` require more explicit control over memory layout. This change enforces 8-byte alignment, which correctly pads the structure and ensures that the `value` field is accessed at the correct offset. This is critical for preventing memory corruption and maintaining compatibility on both 32-bit and 64-bit systems.
.github/workflows/autotest.yml Outdated
| with: | ||
| python-version: ${{matrix.python-version }} | ||
| architecture: ${{matrix.architecture }} | ||
| allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python 3.14 have been released. You can remove this line.
.github/workflows/autotest.yml Outdated
| with: | ||
| python-version: ${{matrix.python-version }} | ||
| architecture: ${{matrix.architecture }} | ||
| allow-prereleases: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python 3.14 have been released. You can remove this line.
junkmd commented Oct 11, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Due to frequent test failures, comtypes/comtypes/test/test_comserver.py Lines 144 to 149 in 1e2577a
|
2429d34 into enthought:mainUh oh!
There was an error while loading. Please reload this page.
See #837 and #848 (comment).