miurahr / aqtinstall

aqt: Another (unofficial) Qt CLI Installer on multi-platforms
https://aqtinstall.readthedocs.io/en/latest/
MIT License
893 stars 83 forks source link

list_* commands ignore base url setting #731

Closed comargo closed 7 months ago

comargo commented 8 months ago

https://github.com/miurahr/aqtinstall/blob/d47adb88b0ae78bfc091298d37224ee0106e4fd5/aqt/metadata.py#L524C31-L524C31

Since Python assigns default values as soon as it imports corresponding module (executes def func(): line), and Settings file has not been read yet, the MetadataFactory.init receives default (fallback) value as base_url.

Additionally, the list_* commands doesn't support baseurl argument

miurahr commented 7 months ago

v3.1.10 released with the fix.