From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6E121581D3 for ; Wed, 15 May 2024 18:53:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3294F2BC019; Wed, 15 May 2024 18:53:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8514E2A89 for ; Wed, 15 May 2024 18:53:51 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 0/7] distutils-r1.eclass: wheel reuse optimization, EPYTEST_FLAGS and scikit-build-core updates Date: Wed, 15 May 2024 20:49:50 +0200 Message-ID: <20240515185347.15937-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: d90a69c4-4477-4318-be47-34c84e2140c2 X-Archives-Hash: c9ca3a46d2e4f464ef6a1d4b0f54122f Hello, Here's a small batch of patches that: 1. Add support for reusing prior wheels if they are compatible to avoid invoking the (slow) build system multiple times when building for multiple targes. This is currently opt-in (via make.conf variable) and can benefit us in two cases: a. in pure Python packages to avoid repeatedly building wheel with the same files, and b. in packages using the stable API to avoid building identical extensions separately for every impl. 2. Add support for EPYTEST_FLAGS variable that can be used by the user to quickly append additional flags to pytest invocation (e.g. `-x` to make them stop on first failure, or `-s` to disable output capture). 3. Support passing ninja options to scikit-build-core, and update invocation for bugfixes from 0.9.4. Michał Górny (7): distutils-r1.eclass: Set DISTUTILS_WHEEL_PATH in PEP517 install distutils-r1.eclass: Store created wheels in DISTUTILS_WHEELS distutils-r1.eclass: Add a QA warning for pure Python file mismatch distutils-r1.eclass: Support reusing prior wheels when compatible python-utils-r1.eclass: Support passing EPYTEST_FLAGS distutils-r1.eclass: Update scikit-build-core to 0.9.4 distutils-r1.eclass: Pass ninja options to scikit-build-core eclass/distutils-r1.eclass | 106 ++++++++++++++++++++++++++++++++-- eclass/python-utils-r1.eclass | 11 +++- 2 files changed, 110 insertions(+), 7 deletions(-) -- 2.45.1