• beancount: updating to 2.3.5 and later

    From Blair Noctis@21:1/5 to All on Tue Oct 18 09:00:01 2022
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------IWrAhPELdt0H0pGl4fhoxypI
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    Hi team,

    Was trying to package beancount 2.3.5, it failed with this:

    I: pybuild pybuild:326: chmod +x /var/lib/sbuild/beancount/.pybuild/cpython3_3.10/build/beancount/tools/treeify.py /var/lib/sbuild/beancount/.pybuild/cpython3_3.10/build/beancount/tools/sheets_upload.py; rm /var/lib/sbuild/beancount/.pybuild/cpython3_3.
    10/build/beancount/scripts/setup_test.py
    cd /var/lib/sbuild/beancount/bin; \
    for binary in *; do \
    if [ "X$binary" = "XBUILD" ]; then continue; fi ; \
    PYTHONPATH=$(cd /var/lib/sbuild/beancount; pybuild --print build_dir --interpreter python3) \
    help2man \
    --name "$(grep $binary /var/lib/sbuild/beancount/debian/manpages/whatis.txt | cut -f 2)" \
    --no-info \
    --help-option=-h \
    --version-string=2.3.5 \
    ./$binary > /var/lib/sbuild/beancount/debian/manpages/$binary.1 ; \
    done
    help2man: can't get `-h' info from ./upload-to-sheets
    Try `--no-discard-stderr' if option outputs to stderr
    make[1]: *** [debian/rules:20: override_dh_auto_build] Error 1
    make[1]: Leaving directory '/var/lib/sbuild/beancount'
    make: *** [debian/rules:13: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

    After a little investigation it's found to be beancount.tools.sheets_upload having changed to require google-auth-oauthlib in 2.3.4. It no longer depends on
    googleapi, which itself hasn't seen upload or development since mid-2020.

    Further on, beancount developement branch has non-core components moved to beanlabs [1], including bin/upload-to-sheets, removing beancount.tools.sheets_upload entirely [2]. Maybe we could start packaging beanlabs?

    1: https://github.com/beancount/beanlabs
    2: https://github.com/beancount/beancount/issues/654

    --
    Regards,
    Blair Noctis

    --------------IWrAhPELdt0H0pGl4fhoxypI--

    -----BEGIN PGP SIGNATURE-----

    iHUEARYKAB0WIQS48iEZIAfDfZumFPwsia9f/Rx2fAUCY05JmQAKCRAsia9f/Rx2 fAy+AP4mMasLeReE4PD21pIQBBxQerqFCQ5XOxc1177vlCXMbgD9G07pU2gmBkb7 aqLW4FybcIS9m8kccYMFc08l24CeZgE=
    =Ade2
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)