diff --git a/.github/workflows/autotest.yml b/.github/workflows/autotest.yml index c9378963..5c743759 100644 --- a/.github/workflows/autotest.yml +++ b/.github/workflows/autotest.yml @@ -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 diff --git a/CHANGES.txt b/CHANGES.txt index 4c6739ff..5ba9571b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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. diff --git a/README.md b/README.md index 8a64816c..cf5568fa 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/comtypes/__init__.py b/comtypes/__init__.py index c53f7e8e..86e54b30 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.6" +__version__ = "1.4.7" try: from _ctypes import COMError # noqa diff --git a/docs/source/conf.py b/docs/source/conf.py index dc4d17a1..df44e851 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.6' +release = '1.4.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 29e49318..7008bacb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,7 +18,7 @@ classifiers = Topic :: Software Development :: Libraries :: Python Modules [options] -python_requires = >=3.7 +python_requires = >=3.8 packages = comtypes