Change:
Steps to reproduce the behavior: build .#fdroidserver Git bisect predictably found the culprit as , so it is related to the Python 3.12 upgrade. I suspect that all setuptools-based modules are broken; e.g. also stops building. Interestingly, built before, but not after. Not sure what that implies. (Originally I had notified the Python team, but I removed them from this list because I am suspecting this regression may not be the result of any problem with the version flip itself, but the broken packages instead. Sorry.) Notifying from fdroidserver maintainers. Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
<del> { lib , fetchFromGitLab , fetchPypi , apksigner , buildPythonApplication , python3 , installShellFiles , androguard , babel , clint , defusedxml , gitpython , libcloud , mwclient , paramiko , pillow , pyasn1 , pyasn1-modules , python-vagrant , pyyaml , qrcode , requests , ruamel-yaml , yamllint </del> <ins> { lib, fetchFromGitLab, fetchPypi, apksigner, appdirs, buildPythonApplication, python3, installShellFiles, androguard, babel, clint, defusedxml, gitpython, libcloud, mwclient, oscrypto, paramiko, pillow, pyasn1, pyasn1-modules, python-vagrant, pyyaml, qrcode, requests, ruamel-yaml, sdkmanager, yamllint, </ins> }: <del> buildPythonApplication rec { </del> <ins> let version = "2.3a1"; in buildPythonApplication { </ins> pname = "fdroidserver"; <del> version = "unstable-2023-10-23"; format = "setuptools"; </del> <ins> inherit version; pyproject = true; </ins> src = fetchFromGitLab { owner = "fdroid"; repo = "fdroidserver"; <del> rev = "f4b10cf83935432d19948dac669964384bef0728"; hash = "sha256-GmR6Td5pScwEKK9W6m26xQV4XxBdZ7frN2UvwUGY4Dw="; </del> <ins> rev = "2.3a1"; hash = "sha256-K6P5yGx2ZXHJZ/VyHTbQAObsvcfnOatrpwiW+ixLTuA="; </ins> }; pythonRelaxDeps = [ <ins> "androguard" </ins> "pyasn1" "pyasn1-modules" ]; postPatch = '' substituteInPlace fdroidserver/common.py  <del> --replace "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'" </del> <ins> --replace-fail "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'" </ins> ''; preConfigure = ''

--bash completion/bash-completion ''; <del> nativeBuildInputs = [ installShellFiles ]; </del> <ins> nativeBuildInputs = [ installShellFiles ]; </ins> <del> buildInputs = [ babel ]; </del> <ins> buildInputs = [ babel ]; </ins> propagatedBuildInputs = [ androguard <ins> appdirs </ins> clint defusedxml gitpython libcloud mwclient <ins> oscrypto </ins> paramiko pillow pyasn1

hash = "sha256-i3zml6LyEnUqNcGsQURx3BbEJMlXO+SSa1b/P10jt68="; }; })) <ins> sdkmanager </ins> yamllint ];

# no tests doCheck = false; <del> pythonImportsCheck = [ "fdroidserver" ]; </del> <ins> pythonImportsCheck = [ "fdroidserver" ]; </ins> <del> meta = with lib; { </del> <ins> meta = { </ins> homepage = "https://gitlab.com/fdroid/fdroidserver"; changelog = "https://gitlab.com/fdroid/fdroidserver/-/blob/${version}/CHANGELOG.md"; description = "Server and tools for F-Droid, the Free Software repository system for Android"; <del> license = licenses.agpl3Plus; maintainers = with maintainers; [ linsui jugendhacker ]; </del> <ins> license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ linsui jugendhacker ]; </ins> mainProgram = "fdroid"; }; }