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 winsdk from 1.0.0b6 to 1.0.0b9 #84

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2023

Bumps winsdk from 1.0.0b6 to 1.0.0b9.

Release notes

Sourced from winsdk's releases.

v1.0.0b9

Added

  • Added ARM64 binary wheels.

Changed

v1.0.0b8

Changed

  • Updated CppWinRT to v2.0.230225.1.
  • Update PyWinRT to v1.0.0-beta.8.

Migration Guide

Some breaking changes were made in this release for better consistency in the language projection and for performance.

Static properties

Static properties are now projected as class attributes instead of class methods. Any uses of ClassName.get_property_name() must be replaced with ClassName.property_name.

Arrays

A new winsdk.system.Array type was introduced for any APIs that involve arrays. The WinRT type system has 3 types of array parameters, PassArray, FillArray and ReceiveArray (docs). The changes affect each type differently.

For PassArray, you must now use an object that supports the buffer protocol with the appropriate type instead of a list. Lists in existing code can be converted using new_array = winrt.system.Array(ClassName, old_list). However, if you are using a basic type like bytes or integers, it is strongly recommended to pass a python bytes or array.array directly instead for better performance.

For FillArray the projection has changed to take the array as an argument instead of the size of the array. The array is now filled in place instead of returning a new array. So if you had code like old_list = instance.method(size), it needs to be replaced with new_array = winsdk.system.Array(ClassName, size) and instance.method(new_array). Also, the same advice for basic types like bytes and ints applies here. For example, you can pass a bytearray instance and it will be filled without needing to convert to/from WinRT types. It is even possible to use numpy arrays for structures of basic types, like points and rectangles.

For ReceiveArray, the return value is now a winsdk.system.Array instead of a list. You probably won't need to change any code here unless you were using list methods not also supported by the new array type.

v1.0.0b7

Added

  • Added build for Python 3.11.

Changed

Changelog

Sourced from winsdk's changelog.

[v1.0.0b9] - 2023-04-15

Added

  • Added ARM64 binary wheels.

Changed

[v1.0.0b8] - 2023-04-02

Changed

  • Updated CppWinRT to v2.0.230225.1.
  • Update PyWinRT to v1.0.0-beta.8.

[v1.0.0b7] - 2022-09-09

Added

  • Added build for Python 3.11.

Changed

Commits
  • 4490b5f v1.0.0b9
  • 17f79ae update PyWinRT to v1.0.0-beta.9
  • e4beecf CMakeLists: merge changes from PyWinRT
  • 3ada378 pyproject: update scikit-build version
  • 76c3e8c github: fix building arm64
  • 58d5067 CMakeLists.txt: fix find_package(Python ...)
  • d70e9bb CMakeLists: add /MP compiler option
  • e695f8a CMakeLists: simplify headers glob
  • c853932 github: use matrix for parallel builds
  • 20800a2 use cibuildwheel
  • Additional commits viewable in compare view

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)

Bumps [winsdk](https://github.com/pywinrt/python-winsdk) from 1.0.0b6 to 1.0.0b9.
- [Release notes](https://github.com/pywinrt/python-winsdk/releases)
- [Changelog](https://github.com/pywinrt/python-winsdk/blob/main/CHANGELOG.md)
- [Commits](pywinrt/python-winsdk@v1.0.0b6...v1.0.0b9)

---
updated-dependencies:
- dependency-name: winsdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 17, 2023
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

0 participants