mkleehammer / pyodbc

Python ODBC bridge
https://github.com/mkleehammer/pyodbc/wiki
MIT No Attribution
2.89k stars 562 forks source link

Missing win-32bit packages on pip (pypi) for python 3.9/3.10 #1073

Closed crash5 closed 1 year ago

crash5 commented 2 years ago

Hi,

are the 32bit packages intentionally missing from the PyPI database? (https://pypi.org/project/pyodbc/#files)

As I see the appveyor config in the repository includes the 32bit version pipelines. But the latest 32bit version for windows is for python 3.8.

mkleehammer commented 2 years ago

I didn't realize the later versions even supported 32-bit Windows. I also didn't know that Windows 10 used to have a 32-bit version. (Apparently they recently stopped sending it to manufacturers, so I think it is near the end.)

I'll do some research into adding these to the CI builds. I'll also see if Github suports everything we need now and if we can drop AppVeyor completely.

We'll want to update the setup.py for 3.8:

https://cibuildwheel.readthedocs.io/en/stable/faq/#windows-importerror-dll-load-failed-the-specific-module-could-not-be-found

gordthompson commented 2 years ago

are the 32bit packages intentionally missing from the PyPI database?

It appears so:

https://github.com/mkleehammer/pyodbc/blob/b7e944acdeaa3233dcac045d059d93fe46a71989/.github/workflows/ubuntu_build.yml#L210-L211

As a workaround, at least for now, a limited assortment of 32-bit Windows wheels are available from

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyodbc

gordthompson commented 1 year ago

Covered by #1084