Skip to content

⬆️ Update pywin32 requirement from >=306 to >=311#5

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pywin32-gte-311
Open

⬆️ Update pywin32 requirement from >=306 to >=311#5
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pywin32-gte-311

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

Updates the requirements on pywin32 to permit the latest version.

Release notes

Sourced from pywin32's releases.

Build 311

A release with a number of incremental improvements

Install via pip:

pip install pywin32 --upgrade

More details in the README

Changelog

Sourced from pywin32's changelog.

Build 311, released 2025/07/14

  • Fix use-after-free in CertDeleteCertificateFromStore (mhammond#2637)
  • Better support for COM identifiers with non-ascii characters (mhammond#2632)
  • pywin32's own warnings will now refer to the caller, rather than to the internal source of warning itself (mhammond#2594, [@​Avasam][Avasam])
  • Fixed a regression that broke special __dunder__ methods with CoClass. (mhammond#1870, mhammond#2493, [@​Avasam][Avasam], [@​geppi][geppi])
  • Fixed TypeError: cannot unpack non-iterable NoneType object when registering an axscript client ScriptItem (mhammond#2513, [@​Avasam][Avasam])
  • Fixed a memory leak when SafeArrays are used as out parameters ([@​the-snork][the-snork])
  • Fixed dispatch handling for properties ([@​the-snork][the-snork])
  • Resolved a handful of deprecation warnings (mhammond#2567, mhammond#2576, [@​Avasam][Avasam])
  • The following classes now produce a valid eval string representation when calling repr: (mhammond#2573, [@​Avasam][Avasam])
    • pywin.tools.browser.HLIPythonObject
    • win32com.server.exception.COMException
    • win32comext.axscript.client.error.AXScriptException
    • win32comext.axscript.client.pyscript.NamedScriptAttribute
  • Added initial DECIMAL/VT_DECIMAL support (mhammond#1501, [@​gesslerpd][gesslerpd])

Build 310, released 2025/03/16

  • Fixed a regression where win32com.client.DispatchWithEvents and win32com.client.WithEvents would throw a TypeError on the second call (mhammond#2491, [@​Avasam][Avasam])
  • Fixed regression causing win32com.shell.shell to be missing a number of IIDs. (mhammond#2487, [@​Avasam][Avasam])
  • As part of the above, Windows 7 is now minimum supported.

Build 309, released 2025/03/09

pywin32

  • Fixed Access Violation crashes in 3.12 by moving PyWInObject_Free* methods so GIL is acquired (mhammond#2467, [@​Mscht][Mscht])
  • Added support for relative path for pywin32_postinstall's -destination argument (mhammond#2454, [@​Avasam][Avasam])
  • The postinstall script is now available as a console script. You can invoke it in one of two new methods: (mhammond#2408, [@​Avasam][Avasam])
    1. python -m pywin32_postinstall -install (recommended)
    2. pywin32_postinstall -install (shorter but you don't have control over which python environment is used)
  • Changed the implementation of 'com_record' to a subclassable Python type (mhammond#2437, mhammond#2361, [@​geppi][geppi])
  • Removed param hIcon from win32comext.shell.ShellExecuteEx. It was unusable since Windows Vista (mhammond#2423, [@​Avasam][Avasam])
  • Fixed nbios.NCBStruct packing (mhammond#2406, [@​Avasam][Avasam])
  • Restored axdebug builds on Python 3.10 (mhammond#2416, [@​Avasam][Avasam])
  • Fix for Python 3.12 interpreter crashes when accessing a COM Record field (mhammond#2415, [@​geppi][geppi])
  • Pythonwin: Bumped Scintilla from 1.77 to 4.4.6. The full changelog can be found here: https://www.scintilla.org/ScintillaHistory.html
  • Fixed Pythonwin's editor failing due to invalid regex import (mhammond#2419, [@​Avasam][Avasam])
  • Last error wrongly set by some modules (mhammond#2302, [@​CristiFati][CristiFati])
  • Dropped support for Python 3.7 (mhammond#2207, [@​Avasam][Avasam])
  • Implement the creation of SAFEARRAY(VT_RECORD) from a sequence of COM Records (mhammond#2317, [@​geppi][geppi])
  • Implement record pointers as [in, out] method parameters of a Dispatch Interface (mhammond#2304, mhammond#2310, [@​geppi][geppi])
  • Fix memory leak converting to PyObject from some SAFEARRAY elements (mhammond#2316)
  • Fix bug where makepy support was unnecessarily generated (mhammond#2354, mhammond#2353, [@​geppi][geppi])
  • Fail sooner on invalid win32timezone.TimeZoneInfo creation (mhammond#2338, [@​Avasam][Avasam])
  • Removed temporary win32com.server.policy reexports hack (mhammond#2344, [@​Avasam][Avasam])

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pywin32](https://github.com/mhammond/pywin32) to permit the latest version.
- [Release notes](https://github.com/mhammond/pywin32/releases)
- [Changelog](https://github.com/mhammond/pywin32/blob/main/CHANGES.md)
- [Commits](https://github.com/mhammond/pywin32/commits)

---
updated-dependencies:
- dependency-name: pywin32
  dependency-version: '311'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants