Skip to content

Commit

Permalink
Bump version and update change log for 1.4.8 (#642)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
junkmd authored Oct 20, 2024
1 parent 5153b3a commit 4cbdb03
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
18 changes: 18 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion comtypes/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4cbdb03

Please sign in to comment.