Update dependency pywin32 to v308 #1401
Open
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==306
->==308
Release Notes
mhammond/pywin32 (pywin32)
v308
win32comext.axscript.client.framework
andwin32comext.axscript.client.error
(#2381, @Avasam)win32com.server.dispatcher.DispatcherWin32dbg
(#2382, @Avasam)v307
Release process changes
pywin32 is now released from artifacts created by Github actions, whereas previously they were
created from an environment where certain tools and libraries were located and installed
by hand.
This means some capabilities are no longer provided - this includes some documentation artifacts, such
as the .chm file, certain MAPI libraries etc, and .exe installers.
pywin32
pywin.is_platform_unicode
(#2343, @Avasam)isapi.ThreadPoolExtension
's printing of exception traceback broken on Python 3.8+ (#2312, @Avasam)str
instead of anException
in (#2270, @Avasam)Pythonwin/pywin/debugger/debugger.py
Pythonwin/pywin/framework/dlgappcore.py
com/win32com/server/policy.py
win32/Lib/regutil.py
win32/scripts/VersionStamp/vssutil.py
pywin.debugger.debugger.error
pywin.framework.dlgappcore.error
win32com.server.policy.error
regutil.error
win32.scripts.VersionStamp.vssutil.error
win32com.universal.com_error
win32com.client.build.error
win32com.client.genpy.error
exc_type
andexc_traceback
inwin32comext.axscript.client.error.AXScriptException.__init__
as deprecated. (#2236, @Avasam)They are now unused and all information is taken from the
exc_value
parameter.pywin.scintilla.formatter.Formatter.ColorizeString
raisingTypeError
instead ofRuntimeError
due to too many parameters (#2216, @Avasam)win32comext.axdebug.codecontainer.pySourceCodeContainer.GetSyntaxColorAttributes
(#2216, @Avasam)TypeError
due to incorrect kwargs inwin32comext.axscript.client.pydumper.Register
(#2216, @Avasam)py.exe -m win32verstamp
command and other quote typos caused by Implied String Concatenation (#2225, @Avasam)MFC redist DLLs not found
by preferring corresponding version but accepting different version (#2248, @andreabravetti)pywintypes.error: (5, 'RegOpenKeyEx', 'Access is denied.')
when running service with debug parameter and no elevation (#2238, @jmartens)SyntaxError
exception from a Windows Scripting Host Python Script on Python 3.10+ (#2235, @nbbeatty)CredGetSessionTypes
support (#2232, @CristiFati)win32clipboard
increasing size of data whenSetClipboardData
used withCF_DIB
(#2184, @CristiFati)StoreLogoff
toPyIMsgStore
to prevent possible hang when MAPI uninitializes or during session logoff (#2196, @avivbrg)winxpgui
(#2217, @Avasam)DeprecationWarning
when importingwinxpgui
GetWindowRgnBox
towin32gui
winxpgui.GetConsoleWindow
now aliaseswin32console.GetConsoleWindow
win32gui
win32com.demos.ietoolbar
demo (#2217, @Avasam)Fixed the following public API:
NameError
inpywin.Demos
'sfontdemo.FontView.SetFont
Pythonwin/pywin/Demos/ocx/msoffice
demo now uses the docName argumentNameError
inWordFrame.Create
, even though it wasn't usedNameError
inpywin.dialogs.ideoptions.OptionsPropPage
with formatAttributeError
inpywin.framework.dlgappcore.AppDialog.OnPaint
sdterr
inpywin.framework.interact.InteractiveCore.Init
NameError
inpywin.framework.mdi_pychecker.TheDocument.doSearch
HandleToUlong
,UlongToHandle
,UlongToPtr
andUintToPtr
frompywin.scintilla.scintillacon
NameError
inwin32comext.axscript.client.pydumper.Register
NameError
inwin32comext.shell.demos.servers.context_menu.ShellExtension.QueryContextMenu
NameError
inwin32comext.shell.demos.servers.shell_view.ScintillaShellView.CreateViewWindow
The following methods no longer throw errors (although their implementation is still unvalidated):
mmsystem.MEVT_EVENTTYPE
mmsystem.MEVT_EVENTPARM
mmsystem.MCI_MSF_MINUTE
mmsystem.MCI_MSF_SECOND
mmsystem.MCI_TMSF_TRACK
mmsystem.MCI_TMSF_MINUTE
mmsystem.MCI_TMSF_SECOND
mmsystem.MCI_TMSF_FRAME
mmsystem.MCI_HMS_HOUR
mmsystem.MCI_HMS_MINUTE
mmsystem.MCI_HMS_SECOND
mmsystem.DIBINDEX
winnt.IMAGE_SNAP_BY_ORDINAL
winnt.IMAGE_ORDINAL
Unicode
andUnicodeType
frompywintypes
andwin32api
(#2200, @Avasam)afxres
in favor ofpywin.mfc.afxres
. The modules were identical (#2177, @Avasam)DispatcherWin32dbg
's deprecation warning and raise an error when used (#2145, @Avasam)pywin.framework.app
(#2144, @Avasam)win32comext.axscript.server.error
(#2202, @Avasam)win32com.server.exception.Exception
(#2142, @Avasam)UnicodeToString
param from multiple methods (#2143, @Avasam)win32api.SetClassWord
being overwritten bywin32api.SetWindowWord
(#2199, @Avasam)win32api.SetClassWord
for its current behaviour, usewin32api.SetWindowWord
instead.win32api.SetWindowWord
win32com.client.build.NoTranslateMap
is now aset
(#2176, @Avasam)ModuleNotFoundError: No module named 'dialog'
inpywin.tools.regpy
(#2187, @Avasam)float
torange
inwin32pdhquery.Query.collectdatafor
(#2170, @Avasam)_d
rather than checking for_d
anywhere in the file path (#2169, @Avasam)win32comext.axdebug.codecontainer.SourceCodeContainer
now uses thedebugDocument
parameterwin32comext.axdebug.codecontainer
script can now be run independent of locationwin32comext.axdebug.documents
(also #2071, @wxinix-2022)NameError
) inwin32comext.axdebug.expressions.DebugProperty.GetPropertyInfo
win32comext.axdebug.util.all_wrapped
ModuleNotFoundError
inwin32comext.axdebug
(#1983, @Avasam)mbcs
encoding toutf-8
incom.win32com.client
(#2097, @Avasam)importlib
directly (#2123, @Avasam)distutils
:distutils.FileList
usage withpathlib
(#2138, @Avasam)distutils.log
withlogging
(#2134, @Avasam)distutils
with directsetuptools
equivalents where possible (#2134, @Avasam)imp
module (#2113, @Avasam)axscript
isapi
installThe following public names have been removed:
pywin.framework.app.Win32RawInput
win32com.client.makepy.error
dbi
module, use theodbc
module insteadwin32com.client.dynamic.MakeMethod
Added support for the following Python 3 methods:
pywin.mfc.dialog.Dialog.__contains__
win32com.client.CoClassBaseClass.__bool__
win32com.client.combrowse.HLIRoot.__lt__
win32com.client.genpy.WritableItem.__lt__
__bool__
in classes generated bywin32com.client.genpy.WritableItem.WriteClassBody
win32/Demos
'swin32clipboardDemo.Foo.__lt__
win32timezone._SimpleStruct.__le__
(subclassed bySYSTEMTIME
,TIME_ZONE_INFORMATION
,DYNAMIC_TIME_ZONE_INFORMATION
,TimeZoneDefinition
)The following methods no longer throw errors (although their implementation is still unvalidated):
winnt.PRIMARYLANGID
winnt.SUBLANGID
winnt.LANGIDFROMLCID
winnt.SORTIDFROMLCID
The following public names have been removed:
win32comext.mapi.mapiutil.TupleType
win32comext.mapi.mapiutil.ListType
win32comext.mapi.mapiutil.IntType
netbios.byte_to_int
OSError
aliases (#2107, @Avasam)b""
) for constant bytes values instead of superfluous.encode
calls (#2046, @Avasam)adodbapi
This removes the following public names:
adodbapi.adodbapi.onWin32
adodbapi.apibase.onIronPython
adodbapi.apibase.NullTypes
adodbapi.apibase.DateTime
mxDateTime
(#2048, @Avasam)This removes the following public names:
adodbapi.apibase.mxDateTime
adodbapi.apibase.mxDateTimeConverter
This removes the following public names:
adodbapi.adodbapi.unicodeType
adodbapi.adodbapi.longType
adodbapi.adodbapi.StringTypes
adodbapi.adodbapi.maxint
adodbapi.apibase.unicodeType
adodbapi.apibase.longType
adodbapi.apibase.StringTypes
adodbapi.apibase.makeByteBuffer
adodbapi.apibase.memoryViewType
distutils
tosetuptools
(#2133, @Avasam)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.