diff --git a/CHANGES.txt b/CHANGES.txt index 5ba9571b5..44195840d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,24 @@ Comtypes CHANGELOG ================== +Release 1.4.8 +-------------- +* Remove Python 3.7 and add Python 3.13 to the CI pipelines. By @junkmd. +* Add constant definitions to ``shelllink``. By @junkmd. +* Add more tests to ``test_stream``. By @junkmd. +* Add the ``void_type`` definition to ``tlbparser``. By @junkmd. +* Modernize ``tools.tlbparser.get_tlib_filename``. By @junkmd. +* Extract the methods for parsing externals and dual interfaces from ``Parser.parse_typeinfo``. By @junkmd. +* Fix type annotations referenced by ``tlbparser``. By @junkmd. +* Modernize ``codegenerator.namespaces``. By @junkmd. +* Improve static typing for ``CoGetClassObject`` and ``GetClassObject``. By @junkmd. +* Refactor the ``__new__`` methods of ``_cominterface_meta`` and ``_coclass_meta``. By @junkmd. +* Prevent errors caused by defining members with the same name within an enum type. By @junkmd. +* Remove remaining ``__cmp__`` methods. By @newwingbird. +* Remove remaining ``from __future__ import print_function`` lines. By @newwingbird. +* Prevent ``itf`` to be an unbound variable in ``_cominterface_meta.__get_baseinterface_methodcount``. By @newwingbird. +* Modify the metaclasses to ensure compatibility with Python 3.13 and earlier versions. By @junkmd. + Release 1.4.7 -------------- * Improve ``_CArrayType`` alias import. By @junkmd. diff --git a/README.md b/README.md index 42056fbe1..76808d94b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # comtypes ![Works on Windows only](https://img.shields.io/badge/-Windows-0078D6.svg?logo=windows&style=flat) -[![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/) +[![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/) +[![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/) [![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) [![Tidelift Subscription](https://tidelift.com/badges/package/pypi/comtypes)](https://tidelift.com/subscription/pkg/pypi-comtypes?utm_source=pypi-comtypes&utm_medium=readme) @@ -11,6 +12,7 @@ `comtypes` allows you to define, call, and implement custom and dispatch-based COM interfaces in pure Python. `comtypes` requires Windows and Python 3.8 or later. +- 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. - Version [1.4.6](https://pypi.org/project/comtypes/1.4.6/) is the last version to support Python 3.7. - 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. - `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. diff --git a/comtypes/__init__.py b/comtypes/__init__.py index 86e54b303..7ed3337b6 100644 --- a/comtypes/__init__.py +++ b/comtypes/__init__.py @@ -1,5 +1,5 @@ # comtypes version numbers follow semver (http://semver.org/) and PEP 440 -__version__ = "1.4.7" +__version__ = "1.4.8" try: from _ctypes import COMError # noqa diff --git a/docs/source/conf.py b/docs/source/conf.py index df44e8519..857f0e3fa 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -50,7 +50,7 @@ # The short X.Y version. version = '1.4' # The full version, including alpha/beta/rc tags. -release = '1.4.7' +release = '1.4.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.