Using Circle CI and trying to build 4.2.2;
pip install -v -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython
If I look in that directory I do not see the 4.2.2 files
Additionally, what ever the above is pulling from that directory and attempting to build, it times out after about 27 minutes
Never mind; Debugged this by firing up a Parallels Ubuntu VM;
swt2c
October 28, 2024, 9:24pm
3
Yes, there are not currently any Linux extras wheels built for 4.2.2. It’s on my to-do list to get to eventually.
As far as your error goes, we’d need to see the entire build log to try to figure out what went wrong.
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.
I provided the TravisCI build log link where build wxPython fails. It is big. I see the error:
Asking python-config for pyext '--cflags --libs --ldflags' flags : not found
The configuration failed
swt2c
November 6, 2024, 3:15pm
6
Do you have the Python development package(s) installed for the Python version you’re using?
The only place I know where these are documented is here:
wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
I don’t know how up to date that list is.
Am I looking at the correct one?
swt2c
November 6, 2024, 8:37pm
8
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.
Yes, I am running in a Travis CI environment.
I was getting this error:
Asking python-config for pyext ‘–cflags --libs --ldflags’ flags : not found
The configuration failed
After reading this:
I added the following lines to my .travis.yml
And the build completes (albeit, after 30 minutes)
GLOBAL=python --version
echo $GLOBAL
PY_VERSION=${GLOBAL#* }
pyenv global ${PY_VERSION}
I really wish we had pre-build Ubuntu images that could quickly be installed; Maybe if not too hard I could help
swt2c
November 6, 2024, 11:00pm
10
Oh - you are using pyenv. That would have been useful to know.