Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump pywin32 from 304 to 305 #57

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 8, 2022

Bumps pywin32 from 304 to 305.

Release notes

Sourced from pywin32's releases.

Release 305

The changes

You should use pip:

pip install pywin32 --upgrade

More details in the README

.exe installers are now deprecated, but while they still exist, you must choose both the correct Python version and "bittedness". Even if you have a 64bit computer, if you installed a 32bit version of Python you must install the 32bit version of pywin32.

There is one binary per-version, per-bittedness. To determine what version of Python you have, start Python and look at the first line of the banner. Compare these 2:

Python 2.7.2+ ... [MSC v.1500 32 bit (Intel)] on win32
Python 2.7.2+ ... [MSC v.1500 64 bit (AMD64)] on win32
                              ^^^^^^^^^^^^^^

If the installation process informs you that Python is not found in the registry, it almost certainly means you have downloaded the wrong version - either for the wrong version of Python, or the wrong "bittedness".

But as above: .exe installers are deprecated - please use pip.

Changelog

Sourced from pywin32's changelog.

Build 305, released 2022-11-06

  • Installation .exe files were deprecated.

  • @​kxrob put a lot of work towards removing use of the deprecated Unicode API so we can build on Python 3.12. This should be largely invisible, but please report any unintended consequences.

  • odbc: Handle varchar(max)/nvarchar(max) column sizes (#1954)

  • win32api.GetTickCount() now returns an unsigned 64bit integer (@​kxrob, #1946)

  • win32pipe.GetNamedPipeHandleState() now takes a 3rd optional param indicating whether the username should be returned, and related constants added. (@​kxrob, #1946)

  • Added win32gui.GetTopWindow() and win32gui.GetAncestor() (@​CristiFati, #1928)

  • Tweaks to how pywintypes searches for DLLs to better support virtualenvs created with --system-site-packages. (@​saaketp, #1933)

  • Added win32event.CreateWaitableTimerExW (#1945, @​zariiii9003)

  • Changes in PARAM handling. Some functions which returned a WPARAM or LPARAM allowed you to return a pointer to a Python buffer object or a PyUnicode. These functions now only accept a Python long to be returned. Note that this DOES NOT apply to functions with accept WPARAM or LPARAM as arguments, only when they are being returned. Impacted functions are OnNotify handler, LV_ITEM/TV_ITEM objects, PyIContextMenu3::HandleMenuMsg2, and the result of a WNDPROC/DLGPROC (#1927).

  • service registration had an overhaul, avoiding a complicated, and ultimately unnecessary "single globally registered service runner" concept. Now, when registering a service, the host pythonservice.exe runner will be copied to sys.exec_prefix, along with possibly pywintypesXX.dll and run from there. (#1908)

  • Dropped support for allowing a bytes object to be passed where a COM BSTR is expected - this support was accidental on the path from 2.x->3.x.

  • win32crypt's PyCERTSTORE.CertCloseStore()'s Flags argument has been deprecated as it is likely to crash the process if CERT_CLOSE_STORE_FORCE_FLAG is specified. The underlying function is now always called with CERT_CLOSE_STORE_CHECK_FLAG, and support for this param will be dropped at some point in the future.

  • Fix a bug where win32crypt.CryptQueryObject() would return a PyCTL_CONTEXT object instead of a PyCERT_CONTEXT for base64 encoded certificates (#1859)

  • win32crypt.CryptQueryObject() is now able to return PyCTL_CONTEXT objects.

... (truncated)

Commits

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 8, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 8, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (6fafd77) compared to base (98ed986).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #57   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          124       124           
=========================================
  Hits           124       124           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Bumps [pywin32](https://github.com/mhammond/pywin32) from 304 to 305.
- [Release notes](https://github.com/mhammond/pywin32/releases)
- [Changelog](https://github.com/mhammond/pywin32/blob/main/CHANGES.txt)
- [Commits](https://github.com/mhammond/pywin32/commits)

---
updated-dependencies:
- dependency-name: pywin32
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@roniemartinez roniemartinez merged commit 59907ba into master Dec 13, 2022
@roniemartinez roniemartinez deleted the dependabot/pip/pywin32-305 branch December 13, 2022 22:41
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants