Skip to content

Commit

Permalink
Bump version and update change log for 1.4.7 (and bump `python_requir…
Browse files Browse the repository at this point in the history
…es`) (#613)

* Bump `python_requires` in `setup.cfg`.

* remove `'3.7'` from the `python-version` in `install-tests` of the CI pipeline.

* update `docs\source\conf.py`

* update `comtypes\__init__.py`

* update `README.md`

* update change log for 1.4.7
  • Loading branch information
junkmd committed Sep 9, 2024
1 parent 3e3977d commit 960ec48
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, windows-2019]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
architecture: ['x86', 'x64']
steps:
- uses: actions/checkout@v4
Expand Down
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.7
--------------
* Improve ``_CArrayType`` alias import. By @junkmd.
* Rename ``_byref_type`` and ``_carg_obj`` to ``_CArgObject``. By @junkmd.
* Fix typos and make the wording more natural in ``README.md``. By @umarbutler.
* Modernize ``BSTR`` definition. By @junkmd.
* Modernize ``tagDEC`` definition. By @junkmd.
* Remove methods with mangling names in ``typeinfo``. By @junkmd.
* Rename ``test_istream`` to ``test_stream``. By @junkmd.
* Add ``test_msvidctl``. By @junkmd.
* Add ``test_storage``. By @junkmd.
* Add ``test_monikers``. By @junkmd.
* Add ``test_shelllink``. By @junkmd.
* Add ``test_persist``. By @junkmd.
* Modernize ``persist``. By @junkmd.
* Add type annotations to ``shelllink``. By @junkmd.
* Bump ``python_requires`` to ``>=3.8`` in ``setup.cfg``. By @junkmd.

Release 1.4.6
--------------
* Add tests and method annotations for ``IRecordInfo``. By @junkmd.
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@

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

`comtypes` requires Windows and Python 3.7 or later.
`comtypes` requires Windows and Python 3.8 or later.
- 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.7.6 and 3.8.1 as reported in [GH-202](https://github.com/enthought/comtypes/issues/202). This bug has been fixed in Python >= 3.7.7 and >= 3.8.2.
- `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.
- 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.

## Installation
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.6"
__version__ = "1.4.7"

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.6'
release = '1.4.7'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ classifiers =
Topic :: Software Development :: Libraries :: Python Modules

[options]
python_requires = >=3.7
python_requires = >=3.8

packages =
comtypes
Expand Down

0 comments on commit 960ec48

Please sign in to comment.