use_precise_interpolation

163 views
Skip to first unread message

Martin Blais

unread,
May 2, 2026, 2:40:37 PM (12 days ago) May 2
to Beancount
Hi,
Last week I've addressed the following troubling issue:

With this:

Unfortunately the default behavior changes the balance checks.
So I've made it optional, with a new "use_precise_interpolation"

My recommendation:
- if you turn it on and there are no balance check failures, keep it on
- otherwise you can live in the old behavior, nothing changes
- this is going to be the default eventually, I'd recommend if you're able to turn it on and modify your balance assertions accordingly you should do so

Cheers,



Aaron Lindsay

unread,
May 4, 2026, 7:19:39 AM (10 days ago) May 4
to bean...@googlegroups.com
Thanks, Martin!

One note - the pypi current version is a version behind github. So it
contains the fix, but not the addition of the option defaulting it to
false. Folks using pip trying to upgrade to get this will need to
remember to set that option to TRUE whenever they first upgrade after
pypi gets 3.2.3 if they want to follow Martin's recommendation to keep
it enabled.

-Aaron
> --
> You received this message because you are subscribed to the Google Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPM_XXLARZn_E2cB9dEGBeR5mm5XR9XBe0yJ4uz-_KMBg%40mail.gmail.com.

Martin Blais

unread,
May 4, 2026, 11:04:05 PM (9 days ago) May 4
to bean...@googlegroups.com
I have no idea.  I tagged 3.2.3 and push and I have automation setup. I think I'm going to kill the pypi thing, it just doesn't work well.
Clone locally, type "make build", set your PYTHONPATH, be happy
I can't spend 3 hours debugging pypi on every release, I just don't have the time



Stefano Zacchiroli

unread,
May 5, 2026, 3:35:02 AM (9 days ago) May 5
to bean...@googlegroups.com
On Mon, May 04, 2026 at 11:03:46PM -0400, Martin Blais wrote:
> I have no idea.  I tagged 3.2.3 and push and I have automation
> setup. I think I'm going to kill the pypi thing, it just doesn't work
> well.

Please don't. PyPI really is the place where most Python users find
software. I don't mind installing from Git, but many users will, and it
will break dependency resolution from many others. It'd be great if you
could delegate this away.

Cheers
--
Stefano Zacchiroli - https://upsilon.cc/zack
Full professor of Computer Science, Polytechnic Institute of Paris
Co-founder & CSO Software Heritage

Chary Ev2geny

unread,
May 5, 2026, 5:09:32 AM (9 days ago) May 5
to Beancount
On Tuesday, May 5, 2026 at 9:35:02 AM UTC+2 Stefano Zacchiroli wrote:
 It'd be great if you
could delegate this away.


Actually Brian Lalor was offering to help here.

 

Daniele Nicolodi

unread,
May 5, 2026, 5:36:57 AM (9 days ago) May 5
to bean...@googlegroups.com
On 05/05/26 05:03, Martin Blais wrote:
> I have no idea.  I tagged 3.2.3 and push and I have automation setup. I
> think I'm going to kill the pypi thing, it just doesn't work well.
> Clone locally, type "make build", set your PYTHONPATH, be happy
> I can't spend 3 hours debugging pypi on every release, I just don't have
> the time

It takes a bit of effort to keep on top of thinks regarding PyPI
releases, but it is not rocket science. I can help dealing with that if
you feel comfortable delegating this aspect of maintenance.

I push releases on PyPI for other projects with compiled extension
modules and I maintain the Python package build backend used by
Beancount, thus I am on top of the relevant issues.

Cheers,
Dan

fin

unread,
May 6, 2026, 5:38:16 PM (8 days ago) May 6
to bean...@googlegroups.com
Martin Blais wrote:


thank you! :) i appreciate that you could take the time to
do this.


fin


> --00000000000045c0b60650da08d0
> Content-Type: text/plain; charset="UTF-8"

Brian Lalor

unread,
May 9, 2026, 7:13:47 AM (5 days ago) May 9
to bean...@googlegroups.com
I did and I stand by that. Daniele Nicolodi has, as well.

3.2.3 is now up in PyPi, tho.
— 
Brian Lalor (he/him)

--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages