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

chore(deps): bump pywin32 from 303 to 305 #2805

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps pywin32 from 303 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.

Release 304

The changes

If you use pip: pip install pywin32 --upgrade

A number of things don't work via pip, so you may choose to install binaries - but you must choose both the correct Python version and "bittedness". Note that due to changes in Python there are no binary installers for version 3.10 32bit and later, so pypi is your only option there.

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".

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 dependencies Pull requests that update a dependency file major Adds backwards incompatible functionality labels Nov 7, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2022

Codecov Report

Merging #2805 (c367d50) into develop (66e3ae7) will increase coverage by 0.13%.
The diff coverage is 97.34%.

❗ Current head c367d50 differs from pull request most recent head 6d7008c. Consider uploading reports for the commit 6d7008c to get more accurate results

@@             Coverage Diff             @@
##           develop    #2805      +/-   ##
===========================================
+ Coverage    97.96%   98.10%   +0.13%     
===========================================
  Files          522      503      -19     
  Lines        36498    35849     -649     
===========================================
- Hits         35757    35168     -589     
+ Misses         741      681      -60     
Flag Coverage Δ
unittests 98.10% <97.34%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aea/aea.py 100.00% <ø> (ø)
aea/cli/add.py 100.00% <ø> (ø)
aea/cli/add_key.py 100.00% <ø> (ø)
aea/cli/build.py 100.00% <ø> (ø)
aea/cli/delete.py 100.00% <ø> (ø)
aea/cli/generate_key.py 100.00% <ø> (ø)
aea/cli/get_multiaddress.py 100.00% <ø> (ø)
aea/cli/get_wealth.py 100.00% <ø> (ø)
aea/cli/publish.py 100.00% <ø> (ø)
aea/cli/push.py 100.00% <ø> (ø)
... and 177 more

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

@dependabot dependabot bot force-pushed the dependabot/pip/develop/pywin32-305 branch 3 times, most recently from c4d30f0 to 4518ef4 Compare November 26, 2022 10:26
@dependabot dependabot bot force-pushed the dependabot/pip/develop/pywin32-305 branch from 4518ef4 to c367d50 Compare November 29, 2022 08:44
@dependabot dependabot bot force-pushed the dependabot/pip/develop/pywin32-305 branch from c367d50 to fd8deb6 Compare December 24, 2022 15:37
Bumps [pywin32](https://github.com/mhammond/pywin32) from 303 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>
@dependabot dependabot bot force-pushed the dependabot/pip/develop/pywin32-305 branch from fd8deb6 to 6d7008c Compare January 17, 2023 15:04
@dependabot dependabot bot requested review from 5A11 and jrriehl as code owners January 17, 2023 15:04
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 major Adds backwards incompatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant