Skip to content

Commit 29d163c

Browse files
committed
Drop Python 3.8 support.
1 parent 51b54dd commit 29d163c

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.github/workflows/autofmt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.8
15+
python-version: 3.9
1616
- name: Install ruff
1717
run: pip install ruff==0.6.9
1818
- name: Check format

.github/workflows/autotest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [windows-latest]
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
13+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1414
architecture: ['x86', 'x64']
1515
support: ['with 3rd parties', 'without 3rd parties']
1616
steps:
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
matrix:
5353
os: [windows-2025, windows-2022]
54-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
54+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
5555
architecture: ['x86', 'x64']
5656
steps:
5757
- uses: actions/checkout@v4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
`comtypes` allows you to define, call, and implement custom and dispatch-based COM interfaces in pure Python.
1313

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.
1516
- 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.
1617
- Version [1.4.6](https://pypi.org/project/comtypes/1.4.6/) is the last version to support Python 3.7.
1718
- 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.
1919
- 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.
2020

2121
## Installation

comtypes/test/test_excel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ def test(self):
125125

126126
@unittest.skipIf(IMPORT_FAILED, "This depends on Excel.")
127127
@unittest.skipIf(
128-
sys.version_info[:2] == (3, 8)
129-
or sys.version_info[:2] == (3, 9)
128+
sys.version_info[:2] == (3, 9)
130129
or (sys.version_info[:2] == (3, 10) and sys.version_info < (3, 10, 10))
131130
or (sys.version_info[:2] == (3, 11) and sys.version_info < (3, 11, 2)),
132131
f"This fails in {PY_VER}. See https://github.com/enthought/comtypes/issues/212",

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers =
1818
Topic :: Software Development :: Libraries :: Python Modules
1919

2020
[options]
21-
python_requires = >=3.8
21+
python_requires = >=3.9
2222

2323
packages =
2424
comtypes

0 commit comments

Comments
 (0)