Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #202: kernel panic: write-only-memory (/dev/wom0) capacity exceeded.


comp / comp.lang.python.announce / [Python-announce] logassert v8 released!

SubjectAuthor
o [Python-announce] logassert v8 released!Facundo Batista

1
Subject: [Python-announce] logassert v8 released!
From: Facundo Batista
Newsgroups: comp.lang.python.announce
Date: Fri, 8 Nov 2024 14:21 UTC
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: facundobatista@gmail.com (Facundo Batista)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] logassert v8 released!
Date: Fri, 8 Nov 2024 11:21:13 -0300
Lines: 31
Approved: python-announce-list@python.org
Message-ID: <CAM09pzSK2YZgt8Rh1GMDB7qK5avLyeSeSu3LZi6dP0a7kSe9aw@mail.gmail.com>
Reply-To: python-list@python.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de Fi74s6uMQ9uDYhFPTaBj6AkdjRpIlmI0dCQD1o+lq0rA==
Cancel-Lock: sha1:8rP5nFFsa6iRAmz4akjW5ZGoPd4= sha256:nnjyQdFveFE8ji23SOJdiTnvoHXYhu+V2MlQ7X3rY0A=
Delivered-To: python-announce-list@x.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=RfcdmoNd;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'skip:@ 10': 0.03; 'url-
ip:20/8': 0.04; 'library.': 0.05; 'tests': 0.07; 'twitter:': 0.07;
'fails': 0.09; 'filtering': 0.09; 'fixture': 0.09; 'mechanism':
0.09; 'to:addr:python-announce-list': 0.09; 'log': 0.12; 'blog:':
0.16; 'classic': 0.16; 'facundo': 0.16;
'from:addr:facundobatista': 0.16; 'from:name:facundo batista':
0.16; 'pyar:': 0.16; 'readme': 0.16; 'strings,': 0.16; 'url-
ip:20.62.216.108/32': 0.16; 'url-ip:20.62.216/24': 0.16; 'url-
ip:20.62/16': 0.16; 'url:latest': 0.16; 'url:plog': 0.16;
'url:taniquetil': 0.16; 'verifying': 0.16; 'python': 0.16; 'uses':
0.19; 'version': 0.23; '(and': 0.25; 'brings': 0.26; 'whole':
0.30; 'message-id:@mail.gmail.com': 0.31; 'there': 0.33;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.34; 'yes,':
0.35; 'using': 0.37; 'way': 0.38; 'use': 0.39; 'exact': 0.40;
'helps': 0.60; 'including': 0.60; 'full': 0.64; 'url-
ip:104.16/16': 0.65; 'url:ar': 0.69; 'subject:!': 0.76; 'unit':
0.81; 'lines,': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1731075686; x=1731680486; darn=python.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=XBJ/V6CvbxyXhUIvcEAutE8N+sT2Z4b4QRZCQp29PcU=;
b=RfcdmoNdRiDZojP0105uy4xb0vVsrE2pCxodWO2e2MSERI6sk2y7H67zVjMZLMXn2j
3sugbcsNYda3zp3t8p+HhXhWfKkoWPaQno0vAXln8cS33fUd4KgQ24jp8bvqPrepd49H
IkbGWiRXoEoAsJd+i6iMQgKc2wivvViWQOl67GVUxHRVBn4cSioWmR0cy9vjaocP8dHh
rKcvQ3Lg3jiTWylLrPuUN4T0B3P59YqITxA+SpH9sdZp8lBs2tbkraNwN1HgjmVqXOAu
KH3tDnabugghC+AF8CoX3VNV2n37jDfARlCJCIUoyXtmqaDKiD7dnnz8pACYE98AJQo3
OEgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1731075686; x=1731680486;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=XBJ/V6CvbxyXhUIvcEAutE8N+sT2Z4b4QRZCQp29PcU=;
b=no4JWg1iCpZ8ts1d8L1vzPBkpmbDUZJo01jr4DDalIuI0K31xsuD/utpIxdCa9qsI9
8QuN2QpEXEpS4gQ1U7zX7P3T44ZIRA0XMEah0QPzyh+RK/SXsWALRWLrUAPYulyn9Rm8
jBhqbIULNIGsx49q1zQeH/f1Bx66Zpvb+rwqzwgC5tq5cIoi+nyIwqf4b8Aqs9WveBz1
iAKC0RCKaAgDJTL9N6QH4Mkwk00m5EABmt5tAhZJRqiDLHhu/CcCc9Z4fBJta9ZbnPv3
7Hg3CQNufXKUY99FQdgg2hMjP06o94zE/I2BkZ1zQgeW8D08k06NL6pQUGDuGt0Yj+Qh
wL+Q==
X-Gm-Message-State: AOJu0Yxnm12k50o2qhkDyMn4zcfimAzxtVNlCTk9Ue+I7l5iPHEAygr9
/LiHL6G4vx0roxJp+t0KEpBTnmV1PzL4CnyI/hq68Ex8xJpN2qIuMrWDU/nQ5MR5yuPIyTW0V8D
TfMjw155Mkdvs8QciQ8G06SnItcKb3UUl
X-Google-Smtp-Source: AGHT+IFL7yV93eIO7ZiVqolUA1my/o2WhVXlexhX4254MmtdjCgfvtpfXtzURB0M10pqM5gV7DXnKWJ2kHrKh6l2MZA=
X-Received: by 2002:a05:690c:9a0c:b0:6e3:3227:ec64 with SMTP id
00721157ae682-6eaddfbe89dmr36315007b3.35.1731075684468; Fri, 08 Nov 2024
06:21:24 -0800 (PST)
X-MailFrom: facundobatista@gmail.com
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-python-announce-list.python.org-0; header-match-python-announce-list.python.org-1; header-match-python-announce-list.python.org-2; header-match-python-announce-list.python.org-3; header-match-python-announce-list.python.org-4
Message-ID-Hash: XDZOM6HH7GSDPFSJ3ZISKWZ3RPJIRAKD
X-Message-ID-Hash: XDZOM6HH7GSDPFSJ3ZISKWZ3RPJIRAKD
X-Mailman-Approved-At: Fri, 08 Nov 2024 09:24:27 -0500
X-Mailman-Version: 3.3.11b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/XDZOM6HH7GSDPFSJ3ZISKWZ3RPJIRAKD/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
View all headers

The version 8 of `logassert` brings support for the structlog library.
Yes, now you can use the whole power of logassert when using structlog
as a logger.

There are also small administrative enhancements: better README (and
documentation in [Read The Docs]()), the CI uses modern Pythons,
better tested badge, etc.

What is logassert?

A simple log assertion mechanism for Python unittests.

Provides a simple and expressive way to use it in the unit tests and
when the assertion fails it presents a useful report that helps you to
find out why it is failing.

Includes a fixture to use it with `pytest` and can also be used in
classic unit tests. Allows checking using regular expressions, exact
strings, multiple strings, and even sequences of several lines,
including support for verifying that nothing was logged, and of course
filtering by the log level (if desired).

Full docs: https://logassert.readthedocs.io/en/latest/

--
.. Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org.ar/
Twitter: @facundobatista

1

rocksolid light 0.9.8
clearnet tor