libusb-package icon indicating copy to clipboard operation
libusb-package copied to clipboard

Bump-up version of cibuildwheel to support Python3.14

Open mstarecek opened this issue 10 months ago • 8 comments

Using newer version of cibuildwheel will generate wheels also for Python3.14 This should also solve issue #28

I've performed basic tests on Windows. Could maintainers pls run Linux and Mac?

mstarecek avatar Jan 30 '26 15:01 mstarecek

it would also be lovely if this package could be built for 3.13t and 3.14t (the free-threaded builds).

i've tried locally, and they seem to build fine.

uv venv --python 3.13t
source ./venv/bin/activate
pip install .

for cibuildwheel, it looks like this would require setting the "enable" flag to "cpython-freethreading":

https://cibuildwheel.pypa.io/en/stable/options/#enable

- name: Build wheels
  uses: pypa/[email protected]
  with:
    enable: cpython-freethreading

woodrowbarlow avatar Feb 02 '26 20:02 woodrowbarlow

Hi Maintainers, any news regarding the Python 3.14 wheels? Thanks

marekvi95 avatar Feb 20 '26 10:02 marekvi95

Hello Maintainers, could you please pay attention for this issue ? It helps to move with other projects to Python 3.14 (Pi :-))

Gargy007 avatar Feb 20 '26 11:02 Gargy007

It would be great if we could get 3.14 support checked in here!

tgreeniaus avatar Mar 11 '26 23:03 tgreeniaus

@Salamist @flit If you could look at this!

tgreeniaus avatar Mar 11 '26 23:03 tgreeniaus

+1

konserw avatar Mar 12 '26 06:03 konserw

+1

BohdanMarek avatar Mar 19 '26 13:03 BohdanMarek

@Salamist @flit: It would be great to have support for Python 3.14. Could you have a look at this PR? @mstarecek: I think it would make sense to bump cibuildwheel to the latest version v3.4.1 since this PR has been sitting for a while, right?

paco-sevilla avatar Apr 23 '26 07:04 paco-sevilla

+1

tieu-sys avatar Jun 08 '26 06:06 tieu-sys

Thanks for looking into this and sorry for the long response time. Let me try to bring this forward.

Would it make sense to bump the cibuildwheel version to the latest v4 or should we use the latest v3 (v3.4.1)?

RobertRostohar avatar Jun 12 '26 05:06 RobertRostohar

Thanks for looking into this and sorry for the long response time. Let me try to bring this forward.

Would it make sense to bump the cibuildwheel version to the latest v4 or should we use the latest v3 (v3.4.1)?

I think it would be ok to go for the latest released cibuildwheel v4.1.0. I build the wheels with this version here https://github.com/crypto-lars/libusb-package/actions/runs/27680669876. We will do some testing on these wheels now.

crypto-lars avatar Jun 17 '26 10:06 crypto-lars

Thanks for looking into this and sorry for the long response time. Let me try to bring this forward. Would it make sense to bump the cibuildwheel version to the latest v4 or should we use the latest v3 (v3.4.1)?

I think it would be ok to go for the latest released cibuildwheel v4.1.0. I build the wheels with this version here https://github.com/crypto-lars/libusb-package/actions/runs/27680669876. We will do some testing on these wheels now.

Hi @crypto-lars many thanks for picking this up. I went through the cibuildweel changelog and I didn't see any problematic points AND v4 comes with support for Python 3.15 Please, feel free to delete this PR and change the version to whatever version you test

mstarecek avatar Jun 17 '26 14:06 mstarecek

Hi @crypto-lars many thanks for picking this up. I went through the cibuildweel changelog and I didn't see any problematic points AND v4 comes with support for Python 3.15 Please, feel free to delete this PR and change the version to whatever version you test

I cant delete the pull-request since I have not created it. I have created a new one with cibuildwheel v4.1.0 here https://github.com/pyocd/libusb-package/pull/32. I have tested the wheels on MAC, Windows and Linux with our applications that use the libusb-package and did not encounter any issues.

crypto-lars avatar Jun 18 '26 09:06 crypto-lars

Superseded by #32.

RobertRostohar avatar Jun 18 '26 11:06 RobertRostohar