Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Support Python 3.11 #230

Open
robin-nitrokey opened this issue Dec 9, 2022 · 1 comment
Open

Support Python 3.11 #230

robin-nitrokey opened this issue Dec 9, 2022 · 1 comment

Comments

@robin-nitrokey
Copy link

pc_ble_driver_py>=0.12.0 cannot be installed with Python 3.11 because the releases don’t have wheels for that Python version. This makes it impossible to use e. g. nrfutil with Python 3.11.

@sw
Copy link

sw commented Feb 9, 2024

+1 and for the upcoming 3.13 as well.

I tried to build the wheel for 3.13 and it would set PYTHON_LIBRARY to python313.dll which then can't be found.

Adding

cmake_args=['-DPYTHON_LIBRARY:FILEPATH=C:/Program Files/Python313/libs/python313.lib'],
python_requires=">=3.7, <3.14",

to the call to setup() then worked, but this doesn't seem like the correct way to do it.

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

No branches or pull requests

2 participants