-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] install_gs.sh failing: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' #373
Comments
What version of wfb-ng do you use? Becase latest wfb-ng doesn't have |
And it build successfully on ubuntu-22.04: https://github.com/svpcom/wfb-ng/actions/runs/11059494849 |
@svpcom I tried compiling on |
@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? |
@StephenCarlson wfb-ng has support for deb build using docker. For example you can run: |
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:
pypa/setuptools#4483
pypa/setuptools#4496
Also, I've found this closed issue from a few weeks ago, for a similar issue with the build system:
#349
Confirm you read
The text was updated successfully, but these errors were encountered: