Agreed, that is why I manually debugged it and looked at the requirements; Once I got them installed, even though the build runs for about 27 minutes on both CircleCI and TravisCI it eventually completes.
Are you using the python that was shipped with Ubuntu? In that case, you need to install the python3-dev package. If you’re using a different Python, you’ll have to make sure you have the development stuff installed.
Thanks, these work on TravisCI and my local VM running Python 3.12.7 under linux:
Linux ubuntu-linux-2404 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 22:03:50 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
However, when I import wx.App in my unit tests I get the following error
from wx import App
File "/home/hasii/PyCharmProjects/ogl/venv/lib/python3.12/site-packages/wx/__init__.py", line 12, in <module>
__version__ = wx.__version__.VERSION_STRING
^^^^^^^^^^^^^^
AttributeError: partially initialized module 'wx' has no attribute '__version__' (most likely due to a circular import)
The only unique thing is that this is on a Linux VM; on the VM, I am using pyenv to manage python versions; The same unit tests work on my Mac OS X 15.1, Mac book pro M1; This did not occur on 4.2.1