public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/versioningit/
Date: Mon, 09 Jun 2025 06:51:20 +0000 (UTC)	[thread overview]
Message-ID: <1749451841.49a42e48492e58125b9e05ffa0faae07985bf7e3.sam@gentoo> (raw)

commit:     49a42e48492e58125b9e05ffa0faae07985bf7e3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  9 06:50:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 06:50:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a42e48

dev-python/versioningit: enable py3.14 via PYTHON_FULLY_TESTED

Skip pydantic where not yet available. pydantic needs to wrangle
w/ AST so it always takes a while to port.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/versioningit/versioningit-3.1.3.ebuild | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/dev-python/versioningit/versioningit-3.1.3.ebuild b/dev-python/versioningit/versioningit-3.1.3.ebuild
index 2c468e313ac7..107d05b615db 100644
--- a/dev-python/versioningit/versioningit-3.1.3.ebuild
+++ b/dev-python/versioningit/versioningit-3.1.3.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+PYTHON_FULLY_TESTED=( pypy3_11 python3_{11..13} )
+PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" python3_14 )
 
 inherit distutils-r1 pypi
 
@@ -20,15 +21,14 @@ KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
 
 RDEPEND="
 	>=dev-python/packaging-17.1[${PYTHON_USEDEP}]
-	$(python_gen_cond_dep '
-		<dev-python/tomli-3[${PYTHON_USEDEP}]
-	' 3.10)
 	dev-vcs/git
 "
 BDEPEND="
 	test? (
-		dev-python/pydantic[${PYTHON_USEDEP}]
 		dev-python/pytest-mock[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			dev-python/pydantic[${PYTHON_USEDEP}]
+		' "${PYTHON_FULLY_TESTED[@]}")
 	)
 "
 
@@ -40,5 +40,13 @@ EPYTEST_IGNORE=(
 distutils_enable_tests pytest
 
 python_test() {
+	if ! has "${EPYTHON/./_}" "${PYTHON_FULLY_TESTED[@]}"; then
+		EPYTEST_IGNORE+=(
+			# Needs pydantic
+			test/test_methods/test_hg.py
+			test/test_methods/test_git.py
+		)
+	fi
+
 	epytest -o addopts=
 }


             reply	other threads:[~2025-06-09  6:51 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-09  6:51 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-12 11:42 [gentoo-commits] repo/gentoo:master commit in: dev-python/versioningit/ Michał Górny
2025-07-12 11:33 Michał Górny
2025-06-28 14:04 Michał Górny
2025-06-28 13:59 Arthur Zamarin
2025-06-28  5:08 Michał Górny
2025-06-11  6:22 Michał Górny
2025-05-31 10:27 Michał Górny
2025-05-31 10:14 Arthur Zamarin
2025-05-21 19:49 Michał Górny
2025-05-13  1:54 Michał Górny
2025-02-19 11:05 Sam James
2024-08-10  7:31 Michał Górny
2024-08-10  7:25 Michał Górny
2024-07-21  2:43 Michał Górny
2024-06-28  5:23 Michał Górny
2024-05-17  8:14 Michał Górny
2024-05-17  8:11 Michał Górny
2024-04-30  5:02 Michał Górny
2024-04-06 12:37 Michał Górny
2024-04-06  9:37 Arthur Zamarin
2024-03-17  3:31 Michał Górny
2023-12-30 16:18 Michał Górny
2023-12-30 14:51 Arthur Zamarin
2023-12-14 13:58 Michał Górny
2023-12-09 15:47 Michał Górny
2023-12-09 15:30 Michał Górny
2023-11-24 16:05 Michał Górny
2023-11-19 16:01 Michał Górny
2023-10-24  5:58 Michał Górny
2023-10-23 18:50 Sam James
2023-09-23  5:59 Michał Górny
2023-07-19 11:10 Michał Górny
2023-05-31  9:59 Michał Górny
2023-03-17 17:18 Michał Górny
2023-03-17 16:03 Sam James
2023-03-16  4:13 Michał Górny
2023-02-23 20:48 Arthur Zamarin
2023-02-12  4:43 Michał Górny
2022-11-14  5:07 Michał Górny
2022-10-26  3:04 Michał Górny
2022-08-25 19:33 Arthur Zamarin
2022-08-18 17:36 Steve Arnold
2022-08-01 18:51 Arthur Zamarin
2022-06-16  8:10 Michał Górny
2022-06-13  7:18 Michał Górny
2022-06-01 12:04 Jakov Smolić
2022-05-30 22:53 Sam James

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=1749451841.49a42e48492e58125b9e05ffa0faae07985bf7e3.sam@gentoo \
    --to=sam@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