Open StephenCarlson opened 2 days ago
What version of wfb-ng do you use? Becase latest wfb-ng doesn't have virtualenv --python=...
in the Makefile. It now have python3 -m virtualenv ...
And it build successfully on ubuntu-22.04: https://github.com/svpcom/wfb-ng/actions/runs/11059494849
@svpcom I tried compiling on stable
, master
and the current release. Here is what I ended up doing: I went to the source file that was causing the issue, /usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py
, and I commented out the offending line and saved with canonicalize_version(version),
. This is absolutely terrible and is not the correct way to solve the issue on my side, but at least I got it to compile the package and it continued to finish, and I've been playing with the working system since. I hope this isn't just my Ubuntu 22 environment; has anyone else run into this? On a side note, I just about trashed my Ubuntu install by installing Python 3.12 and then trying the update-alternatives mechanism to modify the default python instance, to great disaster, but I was able to revert back.
@StephenCarlson It seems that after installing Python 3.12 your python ecosystem became completely broken. Try to build in the clean environment (for example in docker)
@svpcom Indeed, but please be advised, it was not working on 3.10, prior to my tampering with installing other Python versions. The Ubuntu 22.04 install was fairly fresh; I don't think I had broken the Python libraries prior. I'll report here if I can reproduce the issue on a clean OS install or separate machine, hopefully if this is a reproducible bug, others will find this and report, perhaps I am just the first to report here?
Describe the bug I'm following the instruction for the Ubuntu Ground Station, everything is working up to
sudo ./scripts/install_gs.sh <my_specific_wifi_alias_here>
. This is the error I'm getting:To Reproduce
python -m pip install --upgrade pip setuptools
, or downgrading the setuptools package viapython -m pip install setuptools==70.3.0
. No other steps attempted exceptsudo make clean
between attempts at executingsudo ./scripts/install_gs.sh wlx00c0cab3e254
git checkout master
,git checkout stable
, or other specific releases, with appropriategit reset --hard HEAD
or equivalent commands to clean the repo state.Expected behavior Normal installation per the README.md instructions.
Your setup (please complete the following information):
Additional configuration notes: Python 3.10.12 pip 24.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10) Python setuptools version 70.3.0, downgraded from 75.1.0 (I've tried both, downgrading does nothing to correct the issue)
Additional context I've found the following hints as to why things are breaking, it seems they have changed the behavior by design: https://github.com/pypa/setuptools/issues/4483 https://github.com/pypa/setuptools/issues/4496
Also, I've found this closed issue from a few weeks ago, for a similar issue with the build system: https://github.com/svpcom/wfb-ng/issues/349
Confirm you read