Control: tags -1 unreproducible

Hi Lucas!

On Sun, Feb 23, 2020 at 02:14:25PM +0100, Lucas Nussbaum wrote:
> Source: sphinx
> Version: 1.8.5-5
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200222 ftbfs-bullseye
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
>
> > =================================== FAILURES 
> > ===================================
> > _______________________ test_correct_year[expect_date1] 
> > ________________________
> >
> > expect_date = '2006-2011', app = <SphinxTestApp buildername='html'>
> >
> >     @pytest.mark.sphinx('html', testroot='correct-year')
> >     def test_correct_year(expect_date, app):
> >         app.build()
> >         content = (app.outdir / 'contents.html').text()
> > >       assert expect_date in content
> > E       assert '2006-2011' in '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 
> > 1.0 Transitional//EN"\n  
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona... <a 
> > href="_sources/contents.rst.txt"\n          rel="nofollow">Page 
> > source</a>\n    </div>\n\n    \n\n    \n  </body>\n</html>'
> >
> > tests/test_correct_year.py:37: AssertionError

I cannot reproduce this, neither in a chroot (pbuilder) nor in Salsa pipeline.

Is there anything specific to your environment that could cause this?

The test deals with SOURCE_DATE_EPOCH, but the test sets (or unsets) it
manually anyway, so the external setting should not affect anything.

I also thought about time zones, but for me the tests pass even when I am
not using the UTC time zone (I use +0300).

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to