Skip to content

Commit 4cbdb03

Browse files
authored
Bump version and update change log for 1.4.8 (#642)
* Add the `Python Requires` badge. * Add a version info to `README.md`. * Remove an excessive space. * update `docs\source\conf.py` * update `comtypes\__init__.py` * update change log for 1.4.8
1 parent 5153b3a commit 4cbdb03

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

CHANGES.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
Comtypes CHANGELOG
22
==================
33

4+
Release 1.4.8
5+
--------------
6+
* Remove Python 3.7 and add Python 3.13 to the CI pipelines. By @junkmd.
7+
* Add constant definitions to ``shelllink``. By @junkmd.
8+
* Add more tests to ``test_stream``. By @junkmd.
9+
* Add the ``void_type`` definition to ``tlbparser``. By @junkmd.
10+
* Modernize ``tools.tlbparser.get_tlib_filename``. By @junkmd.
11+
* Extract the methods for parsing externals and dual interfaces from ``Parser.parse_typeinfo``. By @junkmd.
12+
* Fix type annotations referenced by ``tlbparser``. By @junkmd.
13+
* Modernize ``codegenerator.namespaces``. By @junkmd.
14+
* Improve static typing for ``CoGetClassObject`` and ``GetClassObject``. By @junkmd.
15+
* Refactor the ``__new__`` methods of ``_cominterface_meta`` and ``_coclass_meta``. By @junkmd.
16+
* Prevent errors caused by defining members with the same name within an enum type. By @junkmd.
17+
* Remove remaining ``__cmp__`` methods. By @newwingbird.
18+
* Remove remaining ``from __future__ import print_function`` lines. By @newwingbird.
19+
* Prevent ``itf`` to be an unbound variable in ``_cominterface_meta.__get_baseinterface_methodcount``. By @newwingbird.
20+
* Modify the metaclasses to ensure compatibility with Python 3.13 and earlier versions. By @junkmd.
21+
422
Release 1.4.7
523
--------------
624
* Improve ``_CArrayType`` alias import. By @junkmd.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# comtypes
22

33
![Works on Windows only](https://img.shields.io/badge/-Windows-0078D6.svg?logo=windows&style=flat)
4-
[![PyPI version](https://badge.fury.io/py/comtypes.svg)](https://pypi.org/project/comtypes/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/comtypes)](https://pypi.org/project/comtypes/) [![PyPI - License](https://img.shields.io/pypi/l/comtypes)](https://pypi.org/project/comtypes/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/comtypes)](https://pypi.org/project/comtypes/)
4+
[![PyPI version](https://badge.fury.io/py/comtypes.svg)](https://pypi.org/project/comtypes/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/comtypes)](https://pypi.org/project/comtypes/) [![PyPI - Python Requires](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fpypi.org%2Fpypi%2Fcomtypes%2Fjson&query=info.requires_python&label=Python Requires)](https://pypi.org/project/comtypes/)
5+
[![PyPI - License](https://img.shields.io/pypi/l/comtypes)](https://pypi.org/project/comtypes/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/comtypes)](https://pypi.org/project/comtypes/)
56
[![GitHub Repo stars](https://img.shields.io/github/stars/enthought/comtypes?style=social)](https://github.com/enthought/comtypes/stargazers) [![GitHub forks](https://img.shields.io/github/forks/enthought/comtypes?style=social)](https://github.com/enthought/comtypes/network/members) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
67
[![Tidelift Subscription](https://tidelift.com/badges/package/pypi/comtypes)](https://tidelift.com/subscription/pkg/pypi-comtypes?utm_source=pypi-comtypes&utm_medium=readme)
78

@@ -11,6 +12,7 @@
1112
`comtypes` allows you to define, call, and implement custom and dispatch-based COM interfaces in pure Python.
1213

1314
`comtypes` requires Windows and Python 3.8 or later.
15+
- 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.
1416
- Version [1.4.6](https://pypi.org/project/comtypes/1.4.6/) is the last version to support Python 3.7.
1517
- 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.
1618
- `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.

comtypes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# comtypes version numbers follow semver (http://semver.org/) and PEP 440
2-
__version__ = "1.4.7"
2+
__version__ = "1.4.8"
33

44
try:
55
from _ctypes import COMError # noqa

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# The short X.Y version.
5151
version = '1.4'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '1.4.7'
53+
release = '1.4.8'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

0 commit comments

Comments
 (0)