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/nox/
Date: Fri, 02 May 2025 04:21:20 +0000 (UTC)	[thread overview]
Message-ID: <1746157476.5eb03334c7d80bcbfc8ac45e2c3d0f6233819a1d.mgorny@gentoo> (raw)

commit:     5eb03334c7d80bcbfc8ac45e2c3d0f6233819a1d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May  2 03:44:36 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May  2 03:44:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eb03334

dev-python/nox: Bump to 2025.05.01

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

 dev-python/nox/Manifest              |  1 +
 dev-python/nox/nox-2025.05.01.ebuild | 73 ++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-python/nox/Manifest b/dev-python/nox/Manifest
index 9aaca4fd24d5..3da11fc60534 100644
--- a/dev-python/nox/Manifest
+++ b/dev-python/nox/Manifest
@@ -1,2 +1,3 @@
 DIST nox-2024.10.09.gh.tar.gz 4003528 BLAKE2B 51bf42870eac462fdb87e897c225c8262703ccc222d5c463e45d91acf08e4211153f60f72450e3fb964d4ca386501bfa88559e8cff38d55aa2f22310a17d7911 SHA512 51d1f70ba94d01abd10ba3a12896facd13a7a2881496221b6fa9d0a43ff947303b0cc975a29169a3d9e0174277e23e0bc4b1137b2774c1abffa23a48c9d69a11
 DIST nox-2025.02.09.gh.tar.gz 4021040 BLAKE2B d0185d6ad2dc7ef881f6f6dd7a38d0e8cb7398d7cb6b59bd6b27593e8e13011ef96673c14f75402804af104066b160e765726ed0bd7a647584e785a861f5a685 SHA512 431e9aed5e596d74298f4d7c1d41bded2edf271824cd69be09dbb434d38de07809c15a59707a9925f048d33f51fa6369340bb2d5c726cfb2c4afdf3f9303aed2
+DIST nox-2025.05.01.gh.tar.gz 4023268 BLAKE2B b5cfdb095595108613b2bce716ca3fb84978278de23da21f01a5169931187837056bc1381d510f343593097ff4c779f834c06d1bcef61394e72c87db26a92022 SHA512 1b1efac7dd78029d6c61122cdafde8077bfe2635a1d3441e848847e5c81da6cd9f2db102796b855520e9d239ee5b9b782e50b40e904c9bafafcc2f44cf61e871

diff --git a/dev-python/nox/nox-2025.05.01.ebuild b/dev-python/nox/nox-2025.05.01.ebuild
new file mode 100644
index 000000000000..819cf501d59f
--- /dev/null
+++ b/dev-python/nox/nox-2025.05.01.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Flexible test automation for Python"
+HOMEPAGE="
+	https://github.com/wntrblm/nox/
+	https://pypi.org/project/nox/
+"
+SRC_URI="
+	https://github.com/wntrblm/nox/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+	>=dev-python/attrs-23.1[${PYTHON_USEDEP}]
+	>=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}]
+	>=dev-python/dependency-groups-1.1[${PYTHON_USEDEP}]
+	>=dev-python/packaging-20.9[${PYTHON_USEDEP}]
+	>=dev-python/virtualenv-20.14.1[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		>=dev-python/tomli-1[${PYTHON_USEDEP}]
+	' 3.10)
+"
+BDEPEND="
+	test? (
+		dev-python/py[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+	# remove upper bounds from dependencies
+	sed -i -e 's:<[0-9.]*,::' pyproject.toml || die
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# TODO: conda?
+		'tests/test_sessions.py::TestSessionRunner::test__create_venv_options[nox.virtualenv.CondaEnv.create-conda-CondaEnv]'
+		# Internet
+		tests/test_virtualenv.py::test_uv_install
+		tests/test_main.py::test_noxfile_script_mode
+	)
+
+	case ${EPYTHON} in
+		pypy3*)
+			EPYTEST_DESELECT+=(
+				# hardcoded CPython assumption
+				tests/test_tox_to_nox.py::test_commands_with_requirements
+				tests/test_tox_to_nox.py::test_skipinstall
+				tests/test_tox_to_nox.py::test_trivial
+				tests/test_tox_to_nox.py::test_usedevelop
+			)
+			;;
+	esac
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	epytest -o tmp_path_retention_policy=all
+}


             reply	other threads:[~2025-05-02  4:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-02  4:21 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-17  5:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/nox/ Michał Górny
2025-10-17  5:57 Michał Górny
2025-10-15  7:04 Michał Górny
2025-10-15  7:04 Michał Górny
2025-10-10 11:24 Michał Górny
2025-09-12 14:10 Arthur Zamarin
2025-05-02  4:48 Michał Górny
2025-02-10  5:47 Michał Górny
2025-02-10  5:47 Michał Górny
2024-10-10  5:03 Michał Górny
2024-06-17 16:27 Michał Górny
2024-06-17 16:27 Michał Górny
2024-04-16  6:46 Michał Górny
2024-03-04  6:31 Michał Górny
2023-11-30  2:08 Sam James
2023-05-27 19:21 Arthur Zamarin
2023-05-27 19:21 Arthur Zamarin
2023-04-23 19:30 Michał Górny
2023-04-06 15:38 Michał Górny
2023-01-08 14:23 Michał Górny
2023-01-05 19:01 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=1746157476.5eb03334c7d80bcbfc8ac45e2c3d0f6233819a1d.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