public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-json-logger/
Date: Tue, 24 Oct 2023 15:39:06 +0000 (UTC)	[thread overview]
Message-ID: <1698161847.9a3f899187e7265eb7a94aa73083b17b81ee93e3.mgorny@gentoo> (raw)

commit:     9a3f899187e7265eb7a94aa73083b17b81ee93e3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 15:37:27 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 15:37:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3f8991

dev-python/python-json-logger: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../python-json-logger-2.0.7.ebuild                  | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-json-logger/python-json-logger-2.0.7.ebuild b/dev-python/python-json-logger/python-json-logger-2.0.7.ebuild
index 119b3176a15e..372c81c27b8d 100644
--- a/dev-python/python-json-logger/python-json-logger-2.0.7.ebuild
+++ b/dev-python/python-json-logger/python-json-logger-2.0.7.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 pypi
 
@@ -19,4 +19,20 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
-distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=()
+	case ${EPYTHON} in
+		python3.12)
+			EPYTEST_DESELECT+=(
+				tests/test_jsonlogger.py::TestJsonLogger::test_custom_object_serialization
+				tests/test_jsonlogger.py::TestJsonLogger::test_percentage_format
+				tests/test_jsonlogger.py::TestJsonLogger::test_rename_reserved_attrs
+			)
+			;;
+	esac
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	epytest
+}


             reply	other threads:[~2023-10-24 15:39 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-24 15:39 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08  7:24 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-json-logger/ Michał Górny
2025-02-27 10:48 Sam James
2025-01-04 17:26 Sam James
2025-01-04 17:26 Sam James
2025-01-04 13:41 Sam James
2025-01-04 13:37 Arthur Zamarin
2025-01-04 12:03 Sam James
2025-01-04 11:44 Sam James
2024-12-17  4:12 Michał Górny
2024-12-16  5:57 Michał Górny
2024-12-14 19:05 Michał Górny
2024-12-13  6:15 Michał Górny
2024-11-20 11:13 Michał Górny
2024-11-20  9:49 Sam James
2024-07-27  9:28 Arthur Zamarin
2024-07-27  9:08 Arthur Zamarin
2024-07-27  8:35 Arthur Zamarin
2024-07-27  8:30 Arthur Zamarin
2024-07-27  8:19 Arthur Zamarin
2024-07-27  7:35 Arthur Zamarin
2024-07-27  6:44 Arthur Zamarin
2023-03-23  0:43 Sam James
2023-03-16 18:13 Michał Górny
2023-03-15 21:19 Arthur Zamarin
2023-03-15 21:18 Arthur Zamarin
2023-03-11 17:44 Arthur Zamarin
2023-03-11 17:24 Sam James
2023-03-11 16:50 Arthur Zamarin
2023-03-11 16:50 Arthur Zamarin
2023-03-11 16:00 Sam James
2023-03-11 16:00 Sam James
2023-03-04 18:13 Arthur Zamarin
2023-03-04 18:13 Arthur Zamarin
2023-03-04 17:49 Arthur Zamarin
2023-02-22  5:09 Michał Górny
2023-02-15  7:16 Michał Górny
2023-02-15  7:16 Michał Górny
2023-02-13  6:05 Michał Górny
2023-01-04  6:31 Arthur Zamarin
2023-01-03 11:23 Yixun Lan
2023-01-02  2:26 WANG Xuerui
2022-12-31 11:22 Arthur Zamarin
2022-12-20 23:28 Sam James
2022-12-20 23:28 Sam James
2022-12-20 23:28 Sam James
2022-12-20 19:24 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1698161847.9a3f899187e7265eb7a94aa73083b17b81ee93e3.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox