duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Duplicity 2.2.2 Released


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Duplicity 2.2.2 Released
Date: Sat, 10 Feb 2024 13:32:39 -0600

Scott,

Bottom line is that you can ignore all of the front matter if the tests passed.  The very last line is the one you need to look for.  It should look like this:

======================= 437 passed, 7 skipped in 485.72s (0:08:05) ==============================

with ==== filling in the line.  

I can't suppress the output of the tests, for the most part, since we use that to verify the test worked.  Catch-22.

...Ken
 

On Sat, Feb 10, 2024 at 1:06 PM Kenneth Loafman <kenneth@loafman.com> wrote:
On Sat, Feb 10, 2024 at 11:43 AM Scott Hannahs via Duplicity-talk <duplicity-talk@nongnu.org> wrote:
I attempted to integrate this into my fink building package for MacOS.  However when running the test portion of the install as I had for previous versions, I got a massive number of failures.  It seems that the test is using a command line argument that is changed/deleted?  There is a massively long output log full of this message repeating the duplicity usage message.  See below the signature.

2.2.1 and 2.2.1 should behave the same.  Both test the CLI to make sure that options not valid for a command would create an error.  Massive output.  I'll try to suppress it.


I think this all worked for Duplicity 2.2.1 but something seems to have gone terribly awry.   The test commands are:
TestScript: <<
        #!/bin/sh -ev
        ulimit -n 8192
        %p/bin/python3.10 setup.py test
<<

Instead of 'setup.py test' use 'pytest' by itself.  pyproject.toml has the pytest config defined, setup.py test does not.  I should remove it completely.

Lots of changes like these are due to the rapid changes being made in PyPA (Python Packaging Authority).  Sucks, but we have to live with it.

Let me know how it goes.  I run everything here through pytest and it works correctly.  Noisy but correct.

...Ken


reply via email to

[Prev in Thread] Current Thread [Next in Thread]