Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14540

beancount: updating to 2.3.5 and later

From Blair Noctis <n@sail.ng>
Newsgroups linux.debian.maint.python
Subject beancount: updating to 2.3.5 and later
Date 2022-10-18 09:00 +0200
Message-ID <FhOJX-f16f-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

beancount: updating to 2.3.5 and later Blair Noctis <n@sail.ng> - 2022-10-18 09:00 +0200

csiph-web