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

Build fail #6

Open
Raidfire-SDR opened this issue Apr 16, 2024 · 3 comments
Open

Build fail #6

Raidfire-SDR opened this issue Apr 16, 2024 · 3 comments

Comments

@Raidfire-SDR
Copy link

Raidfire-SDR commented Apr 16, 2024

Build fails each time searching for VS build tools, incrementally installed from vs2015-present, no joy.

Building wheel for stringcase (setup.py) ... done
Created wheel for stringcase: filename=stringcase-1.2.0-py3-none-any.whl size=3581 sha256=905cf2131d53779c396a6873adfcfae108ea089b3a5b5183c1f5649a432dffe6
Stored in directory: c:\users\raidf\appdata\local\pip\cache\wheels\37\76\84\09143757ac9846675769f3649fc2aa936ec40255783a23ba52
Successfully built betterproto grpclib stringcase
Failed to build bleak-winrt

@dlech
Copy link
Owner

dlech commented Apr 18, 2024

This isn't enough information to reproduce the problem. Also going forward this package is superseded by PyWinRT 2.0.

@Raidfire-SDR
Copy link
Author

Raidfire-SDR commented Apr 18, 2024

reproduction steps - win11 latest insider with pre releases, py 3.12 from ms store, all installed, defaults, download open gopro, which is a huge project with scripts running into the 10's of thousands and a user base of similar size, the Pywinrt is baked hard into the installer and functionality of open go pro, i am not tempted to try to replace it with v2, the mess that would create is much more labor intensive than fixing a component.

MS store install py3.12
pip install open-goppro
(pip install bleak-winrt also fails on same wheel issue)

@dlech
Copy link
Owner

dlech commented Apr 18, 2024

I don't have any plans to update bleak-winrt for Python 3.12. It's not a trivial task.

Changing from bleak-winrt to PyWinRT 2.0 is not so bad. Just replace bleak-winrt with winrt in imports and update the dependencies

winrt-Windows.Devices.Bluetooth
winrt-Windows.Devices.Bluetooth.Advertisement
winrt-Windows.Devices.Bluetooth.GenericAttributeProfile
winrt-Windows.Devices.Enumeration
winrt-Windows.Foundation
winrt-Windows.Foundation.Collections
winrt-Windows.Storage.Streams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants