From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/paginate/
Date: Wed, 8 Nov 2023 15:39:53 +0000 (UTC) [thread overview]
Message-ID: <1699457976.f257496dc3a3d13f31ea5593f43065194a43ff6f.mgorny@gentoo> (raw)
commit: f257496dc3a3d13f31ea5593f43065194a43ff6f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 8 14:52:16 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 8 15:39:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f257496d
dev-python/paginate: Enable py3.12
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/paginate/paginate-0.5.6.ebuild | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/dev-python/paginate/paginate-0.5.6.ebuild b/dev-python/paginate/paginate-0.5.6.ebuild
index 6da012715c15..5f8fe5a3f93a 100644
--- a/dev-python/paginate/paginate-0.5.6.ebuild
+++ b/dev-python/paginate/paginate-0.5.6.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1
@@ -23,3 +23,20 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=()
+
+ case ${EPYTHON} in
+ python3.12)
+ EPYTEST_DESELECT+=(
+ # these tests assume that dict is not sliceable
+ # https://github.com/Pylons/paginate/issues/19
+ tests/test_paginate.py::test_wrong_collection
+ tests/test_paginate.py::TestCollectionTypes::test_unsliceable_sequence3
+ )
+ ;;
+ esac
+
+ epytest
+}
next reply other threads:[~2023-11-08 15:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-08 15:39 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-14 12:32 [gentoo-commits] repo/gentoo:master commit in: dev-python/paginate/ Michał Górny
2024-09-14 11:31 Arthur Zamarin
2024-08-26 4:23 Michał Górny
2024-05-18 6:36 Michał Górny
2023-11-24 15:48 Arthur Zamarin
2023-09-12 15:25 Arthur Zamarin
2023-09-11 18:36 Sam James
2023-09-11 12:36 Sam James
2023-08-25 3:58 Jakov Smolić
2023-08-24 17:58 Arthur Zamarin
2023-08-24 13:46 Sam James
2023-08-23 5:34 Michał Górny
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=1699457976.f257496dc3a3d13f31ea5593f43065194a43ff6f.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