Skip to content

⬆️ Update pywin32 requirement from >=311 to >=312#1013

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pywin32-gte-312
Open

⬆️ Update pywin32 requirement from >=311 to >=312#1013
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pywin32-gte-312

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Updates the requirements on pywin32 to permit the latest version.

Release notes

Sourced from pywin32's releases.

Build 312

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 312, released 2026/06/04

  • Deprecate pythoncom.frozen and resolve build deprecation warnings (mhammond#2593, [@​Avasam][Avasam]) pythoncom.frozen used to expose Py_FrozenFlag from the C API. Py_FrozenFlag is deprecated since Python 3.12.
  • Added Python 3.15 support (mhammond#2729, mhammond#2732, [@​Avasam][Avasam])
  • Removed special-casing for .pyo files which haven't been a thing since Python 3.5 (mhammond#2754, [@​Avasam][Avasam])
  • Fixed axdebug build on Python 3.11+ using CPython's new opaque frame APIs, fixed 64-bit overflow in sourceContext and stack addresses, fixed incorrect step-over and step-out behavior, and fixed ListEnumeratorGateway.Next() returning lazy map iterator incompatible with C++ COM gateways that require a sequence (mhammond#2723, mhammond#2724, mhammond#2725, [@​wxinix-2022][wxinix-2022])
  • Removed more leftover obsolete UNICODE constants since dropping Python 2 support in win32ui, win32gui and win32clipboard (mhammond#2717, [@​Avasam][Avasam])
  • Implement COM Records as [out] method parameters (mhammond#2708, [@​geppi][geppi], [@​the-snork][the-snork])
  • Implement multidimensional SAFEARRAY(COM Record) and SAFEARRAY(double) (mhammond#2655, [@​geppi][geppi])
  • Added many missing license and copyright notice files (mhammond#2590, [@​Avasam][Avasam])
  • Fixed missing version stamp on built .dll and .exe files (mhammond#2647, [@​Avasam][Avasam])
  • Bugfix for COM Record instance creation (mhammond#2641, [@​geppi][geppi])
  • Fix regression introduced by mhammond#2506 (mhammond#2640, [@​geppi][geppi])
  • Fixed LoadPerfCounterTextStrings and UnloadPerfCounterTextStrings's bQuiet param being unused and hardcoded to True (mhammond#2711, [@​Avasam][Avasam])
  • Removed considerations for unsupported Windows Versions (95/98/ME/2000/2k/Vista, most of XP) (mhammond#2711, mhammond#2667, mhammond#2400, mhammond#2747, mhammond#2752 [@​Avasam][Avasam])
    • Updated a lot of dynamic function loading at runtime to instead use static build linking
    • Updated a lot of documentation
    • This removes the following constants:
      • win32con.FILE_ATTRIBUTE_ATOMIC_WRITE
      • win32con.FILE_ATTRIBUTE_XACTION_WRITE
  • Removed considerations for MFC < 9 (VS 2008) (mhammond#2669, mhammond#2716, [@​Avasam][Avasam])
    • This removes the unusable PyCSliderCtrl.VerifyPos method
  • win32cred.{CredWrite, CredUIPromptForCredentials}, win32net.NetUserEnum, win32profile.{LoadUserProfile,UnloadUserProfile,CreateEnvironmentBlock}, win32security.{LogonUser, LookupAccountName, SetNamedSecurityInfo, GetNamedSecurityInfo, LsaAddAccountRights, ConvertSidToStringSid} all now release the GIL before making the call (#2732)
  • Fix memory leak in PyCom_VariantFromPyObject (#2688)
  • Dropped support for Python 3.8 (mhammond#2413, [@​Avasam][Avasam])
    • Note that whilst pywin32 hasn't explicitly dropped support for Windows 7 / 8 / Server 2008, Python 3.8 was the last official CPython version to support those versions (Python 3.9 installer requires at least Windows 8.1 / Server 2012).

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

... (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: '312'
  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 Jun 4, 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