Sven Joachim <svenj...@gmx.de> writes:

> On 2022-08-31 08:47 -0400, Kenneth Parker wrote:
>
>> On Wed, Aug 31, 2022, 5:36 AM riveravaldez <riveravaldezm...@gmail.com>

>> Okay.   So archivemail hasn't been updated for Python 3 yet.
>
> s/ yet//
>
> Some people have tried, but gave up eventually, therefore the package
> has been removed.  See https://bugs.debian.org/936146 for details.

Well, I took a quick stab at porting archivemail to python 3. As the bug
report mentions, indeed the old rfc822 library doesn't map very well to
today's email.message library.

However, as the rfc822 in Python 2 is a single small python file, I just
grabbed that, and put it, archivemail and test_archivemail through the
2to3 converter. End result, after a couple of minor fixes I had 46/99
tests passing and it seems most of the failures have one of two issues
so might be easy to fix.

So with this approach this seems doable even with my programming
skills. No promises but I'll see if I can find the time and energy to do
more.

Reply via email to