You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add a version bridge to `_post_coinit/unknwn.py`
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.
* Add a version bridge to `_meta.py`
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.
* Improve error message for `PyCArgObject` size check.
* Update PyCArgObject.value for Python 3.14 compatibility.
* Set packing for `PyCArgObject` on Python 3.14+.
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.
* Update the autotest GHA workflow.
* Remove `allow-prereleases: true` from `autotest.yml`.
* Drop Python 3.8 support.
* Add the version bridge for `test_comserver.TestInproc_win32com.test_eval`.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@
11
11
12
12
`comtypes` allows you to define, call, and implement custom and dispatch-based COM interfaces in pure Python.
13
13
14
-
`comtypes` requires Windows and Python 3.8 or later.
14
+
`comtypes` requires Windows and Python 3.9 or later.
15
+
- Version [1.4.12](https://pypi.org/project/comtypes/1.4.12/) is the last version to support Python 3.8.
15
16
- Version <= [1.4.7](https://pypi.org/project/comtypes/1.4.7/) does not work with Python 3.13 as reported in [GH-618](https://github.com/enthought/comtypes/issues/618). Version [1.4.8](https://pypi.org/project/comtypes/1.4.8/) can work with Python 3.13.
16
17
- Version [1.4.6](https://pypi.org/project/comtypes/1.4.6/) is the last version to support Python 3.7.
17
18
- Version [1.2.1](https://pypi.org/project/comtypes/1.2.1/) is the last version to support Python 2.7 and 3.3–3.6.
18
-
-`comtypes` does not work with Python 3.8.1 as reported in [GH-202](https://github.com/enthought/comtypes/issues/202). This bug has been fixed in Python >= 3.8.2.
19
19
- Certain `comtypes` functions may not work correctly in Python 3.8 and 3.9 as reported in [GH-212](https://github.com/enthought/comtypes/issues/212). This bug has been fixed in Python >= 3.10.10 and >= 3.11.2.
0 commit comments