Add compatibility with newer versions of pytest. Taken from upstream: https://github.com/dateutil/dateutil/commit/2bdd63158b7f981fc6d70a869680451bdfd8d848 diff --git a/dateutil/test/test_internals.py b/dateutil/test/test_internals.py index 53081314..b32e6723 100644 --- a/dateutil/test/test_internals.py +++ b/dateutil/test/test_internals.py @@ -9,6 +9,7 @@ import sys import pytest +import warnings from dateutil.parser._parser import _ymd from dateutil import tz @@ -65,18 +66,17 @@ def test_parser_parser_private_not_warns(): from dateutil.parser._parser import _timelex, _tzparser from dateutil.parser._parser import _parsetz - with pytest.warns(None) as recorder: + with warnings.catch_warnings(): + warnings.simplefilter("error") _tzparser() - assert len(recorder) == 0 - with pytest.warns(None) as recorder: + with warnings.catch_warnings(): + warnings.simplefilter("error") _timelex('2014-03-03') - assert len(recorder) == 0 - - with pytest.warns(None) as recorder: + with warnings.catch_warnings(): + warnings.simplefilter("error") _parsetz('+05:00') - assert len(recorder) == 0 @pytest.mark.tzstr /guix/tree/gnu/packages/inkscape.scm?id=dfcd1a876e8c5ded8a5ad67450deaed3a7be7475'>treecommitdiff
path: root/gnu/packages/inkscape.scm
AgeCommit message (Expand)Author
2020-10-26gnu: inkscape: Correct extension dependencies....* gnu/packages/inkscape.scm (inkscape-1.0)[arguments]: Add wrap-program phase. [inputs]: Move python-wrapper to inputs, and add several python libraries. [native-inputs]: Remove python-wrapper, as it has moved to inputs. Signed-off-by: Christopher Baines <mail@cbaines.net> Ekaitz Zarraga
2020-09-21gnu: inkscape-1.0: Update to 1.0.1....* gnu/packages/inkscape.scm (inkscape-1.0): Update to 1.0.1. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Boris A. Dekshteyn
2020-06-14gnu: inkscape: Add the glib-or-gtk-build-system phases....This fixes an issue where an improperly set XDG_DATA_DIRS environment variable would cause a segfault when opening the 'Save As' menu of Inkscape. See: <https://lists.gnu.org/archive/html/help-guix/2020-06/msg00093.html>. * gnu/packages/inkscape.scm (inkscape-1.0)[arguments]: Import the (guix build glib-or-gtk-build-system) module. [phases]: Add the glib-or-gtk-compile-schemas and glib-or-gtk-wrap phases. Reported-by: Thorsten Wilms <t_w_@freenet.de> Maxim Cournoyer
2020-05-31gnu: inkscape: Add inkscape-1.0....* gnu/packages/inkscape.scm (inkscape-1.0): New variable. * gnu/packages/gtk.scm (at-spi2-atk): Add a TODO comment. Maxim Cournoyer
2020-02-10gnu: inkscape: Remove obsolete workaround....* gnu/packages/inkscape.scm (inkscape)[arguments]: Remove phase "dont-use-system-includes". Marius Bakke
2020-01-14gnu: poppler: Update to 0.84.0....* gnu/packages/pdf.scm (poppler): Update to 0.84.0. * gnu/packages/inkscape.scm (inkscape)[arguments]: Add phase 'adjust-for-new-poppler'. Marius Bakke
2019-06-15gnu: poppler: Update to 0.77.0....* gnu/packages/patches/inkscape-poppler-0.76.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/inkscape.scm (inkscape)[source](patches): New field. * gnu/packages/patches/texlive-bin-luatex-poppler-compat.patch: Add two new hunks. * gnu/packages/pdf.scm (poppler): Update to 0.77.0. * gnu/packages/tex.scm (texlive-bin)[source]: Update Arch patches. [arguments]: Adjust accordingly. * gnu/packages/scribus.scm (scribus)[source](patches): Add two new origins. Marius Bakke
2019-02-09gnu: inkscape: Fix FTBFS with GCC >= 6....* gnu/packages/inkscape.scm (inkscape)[arguments]: Add phase 'dont-use-system-includes. Marius Bakke
2019-01-18gnu: Inkscape: Update to 0.92.4....* gnu/packages/inkscape.scm (inkscape): Update to 0.92.4. [source]: Remove obsolete patches. Leo Famulari