[gentoo-dev] [PATCH] distutils-r1.eclass: Update scikit-build-core options

2025-08-02 Thread Michał Górny
-build-core/issues/912 Pull-Request: https://github.com/scikit-build/scikit-build-core/pull/1054 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index c59bdce17581

[gentoo-dev] Packages up for grabs

2025-08-02 Thread Michał Górny
Hello, Due to retirement, the following packages are now up for grabs: acct-group/_cron-failure acct-user/_cron-failure app-backup/duplicity app-backup/sarab app-portage/cfg-update media-radio/flamp media-radio/flmsg media-radio/tqsl sys-process/systemd-cron -- Best regards, Michał Górny

Re: [gentoo-dev] On Gentoo silencing policy

2025-07-30 Thread Michał Górny
o file bugs, I'd rather have them not file bugs at all. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] On Gentoo silencing policy

2025-07-30 Thread Michał Górny
efitting from them for free, then making demands and being abusive. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: dev-python/noseofyeti

2025-07-26 Thread Michał Górny
# Michał Górny (2025-07-26) # Another pytest plugin causing random breakage.  Discontinued upstream, # last revdep stopped using it. # Removal on 2025-08-25.  Bug #960760. dev-python/noseofyeti -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Projects with no members

2025-07-26 Thread Michał Górny
Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Packages up for grabs

2025-07-26 Thread Michał Górny
net-libs/libgadu sys-boot/lilo sys-fs/zerofree -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 2/2] dev-python/wheel: Use EPYTEST_RERUNS

2025-07-21 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/wheel/wheel-0.45.1.ebuild | 29 +--- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/dev-python/wheel/wheel-0.45.1.ebuild b/dev-python/wheel/wheel-0.45.1.ebuild index 85ebbcc34385..43dca3371f77 100644 --- a/dev

[gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: Add EPYTEST_RERUNS

2025-07-21 Thread Michał Górny
Add EPYTEST_RERUNS variable to enable pytest-rerunfailures with a specified rerun count. This should provide a more streamlined approach to handling flaky test suites. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass| 3 +++ eclass/python-utils-r1.eclass | 22

[gentoo-dev] Last rites: dev-lang/pypy:3.10, dev-python/pypy3_10-exe, dev-python/pypy3_10-exe-bin

2025-07-21 Thread Michał Górny
# Michał Górny (2025-07-22) # Provider for PyPy3.10 executable.  This branch is no longer maintained # upstream, and it is vulnerable.  Removal on 2025-08-05. dev-lang/pypy:3.10 dev-python/pypy3_10-exe dev-python/pypy3_10-exe-bin -- Best regards, Michał Górny signature.asc Description: This

[gentoo-dev] Last rites: dev-python/mitmproxy-wireguard

2025-07-19 Thread Michał Górny
# Michał Górny (2025-07-20) # Discontinued in favor of net-proxy/mitmproxy-rs which is now # an unconditional dependency of net-proxy/wireguard. # Removal on 2025-08-19.  Bug #960470. dev-python/mitmproxy-wireguard -- Best regards, Michał Górny signature.asc Description: This is a digitally

Re: [gentoo-dev] [RFC] On libunwind and USE=unwind

2025-07-17 Thread Michał Górny
ibunwind if we can get away with it, if only because it simplifies the situation with two libunwinds. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 6/6] dev-python/inline-snapshot: Use EPYTEST_PLUGINS

2025-07-15 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild index 2f65f35dc01b

[gentoo-dev] [PATCH 5/6] python-utils-r1.eclass: Preserve order in PYTEST_PLUGINS

2025-07-15 Thread Michał Górny
Do not sort entry points when adding them to `PYTEST_PLUGINS`. Apparently, the order of loading does matter, and reordering the entry points from `dev-python/pytest-xdist` leads to warnings that break the test suite of `dev-python/inline-snapshot`. Signed-off-by: Michał Górny --- eclass/python

[gentoo-dev] [PATCH 4/6] dev-python/tavern: Simplify EPYTEST_PLUGINS

2025-07-15 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/tavern/tavern-2.16.0.ebuild | 31 +++--- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/dev-python/tavern/tavern-2.16.0.ebuild b/dev-python/tavern/tavern-2.16.0.ebuild index 841dbd3d155c..ce42f586360f 100644 --- a

[gentoo-dev] [PATCH 3/6] dev-python/pytest-lazy-fixtures: Simplify EPYTEST_PLUGINS

2025-07-15 Thread Michał Górny
Signed-off-by: Michał Górny --- .../pytest-lazy-fixtures/pytest-lazy-fixtures-1.2.0.ebuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.2.0.ebuild b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.2.0

[gentoo-dev] [PATCH 2/6] dev-python/pytest-asyncio: Simplify EPYTEST_PLUGINS

2025-07-15 Thread Michał Górny
Signed-off-by: Michał Górny --- .../pytest-asyncio-1.0.0.ebuild | 29 --- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild index

[gentoo-dev] [PATCH 1/6] distutils-r1.eclass: Skip dep on ${PN} in EPYTEST_PLUGINS

2025-07-15 Thread Michał Górny
When `EPYTEST_PLUGINS` contains `${PN}`, skip it when adding dependencies. This avoids a self-dependency, while making it possible to easily test pytest plugins themselves without having to append to `EPYTEST_PLUGINS` locally. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4

[gentoo-dev] [PATCH 0/6] distutils-r1.eclass / python-utils-r1.eclass: EPYTEST_PLUGINS fixes for dev-python/pytest-* packages

2025-07-15 Thread Michał Górny
Includes a bunch of patches to ebuilds that benefit from these patches. Michał Górny (6): distutils-r1.eclass: Skip dep on ${PN} in EPYTEST_PLUGINS dev-python/pytest-asyncio: Simplify EPYTEST_PLUGINS dev-python/pytest-lazy-fixtures: Simplify EPYTEST_PLUGINS dev-python/tavern: Simplify EPYT

[gentoo-dev] [RFC] Adding a "new-packages-only" (better name appreciated) key to metadata/layout.conf

2025-07-13 Thread Michał Górny
ly permits packages that aren't in any of its # masters. new-packages-only = true We'd use that in pkgcheck to report "duplicate" packages, and perhaps it could also cause package managers to always prioritize packages from masters, independently of version. WDYT?

[gentoo-dev] [PATCH 4/4] dev-python/pytest-regressions: Use EPYTEST_PLUGIN_LOAD_VIA_ENV

2025-07-07 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild index

[gentoo-dev] [PATCH 3/4] python-utils-r1.eclass: Add EPYTEST_PLUGIN_LOAD_VIA_ENV

2025-07-07 Thread Michał Górny
`PYTEST_PLUGINS` consists of Python import names that are not trivial to find and have historically changed across package versions. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 62 +-- 1 file changed, 45 insertions(+), 17 deletions(-) diff --git a

[gentoo-dev] [PATCH 2/4] python-utils-r1.eclass: epytest, avoid dupes w/ PYTEST_PLUGINS

2025-07-07 Thread Michał Górny
Avoid adding duplicate `-p` arguments when the plugin in question is already loaded via `PYTEST_PLUGINS`. This avoids errors when combining dependency adding via `EPYTEST_PLUGINS` with explicit loading via `PYTEST_PLUGINS` (as needed for plugin tests themselves). Signed-off-by: Michał Górny

[gentoo-dev] [PATCH 1/4] python-utils-r1.eclass: epytest, support --hypothesis-profile=gentoo

2025-07-07 Thread Michał Górny
Support using the "gentoo" hypothesis profile, as installed by dev-python/hypothesis-gentoo, to disable all Hypothesis health checks. This avoids spurious test failures, e.g. when the system is under load and the strategies are underperforming. Signed-off-by: Michał Górny --- ecl

[gentoo-dev] [PATCH 0/4] python-utils-r1.eclass: hypothesis-gentoo support and EPYTEST_PLUGINS improvements

2025-07-07 Thread Michał Górny
27;-p' options (recommended in general) to using PYTEST_PLUGINS (needed mostly for testing pytest plugins themselves). Michał Górny (4): python-utils-r1.eclass: epytest, support --hypothesis-profile=gentoo python-utils-r1.eclass: epytest, avoid dupes w/ PYTEST_PL

[gentoo-dev] Last rites: dev-python/ensurepip-wheels

2025-07-05 Thread Michał Górny
# Michał Górny (2025-07-05) # Metapackage used as a dependency in dev-lang/python and dev-lang/pypy. # Replaced with inlined specific dev-python/ensurepip-* packages. # Removal on 2025-08-04. dev-python/ensurepip-wheels -- Best regards, Michał Górny signature.asc Description: This is a

[gentoo-dev] Packages up for grabs

2025-07-05 Thread Michał Górny
Due to the maintainer's retirement, the following packages are now up for grabs: app-misc/dvtm dev-libs/bcm2835 dev-libs/udis86 media-libs/raspberrypi-userland net-misc/usbip net-wireless/aic8800 x11-libs/agg -- Best regards, Michał Górny signature.asc Description: This is a digitally s

[gentoo-dev] [PATCH] verify-sig.eclass: Fix multi-file verify-sig_verify_signed_checksums

2025-07-01 Thread Michał Górny
Fix a regression in verify-sig_verify_signed_checksums() that caused it to incorrectly explode arguments when multiple filenames were passed to the `files` argument. Fixes: 6f570b3d2d9f (verify-sig.eclass: add app-crypt/signify support) Signed-off-by: Michał Górny --- eclass/verify-sig.eclass

[gentoo-dev] [PATCH] python-utils-r1.eclass: Find plugin args via entry points

2025-06-25 Thread Michał Górny
so: https://public-inbox.gentoo.org/gentoo-dev/4503eea7-3610-4556-af74-a4d850c64...@gentoo.org/T/#m3487af520bfaec9dbaba0ea800bb0aca5fb2fcdc Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 73 +-- 1 file changed, 19 insertions(+), 54 deletions(-) di

Re: [gentoo-dev] Re: [PATCH 3/5] python-utils-r1.eclass: Introduce EPYTEST_PLUGINS

2025-06-25 Thread Michał Górny
On Wed, 2025-06-25 at 14:04 +0500, Anna Vyalkova wrote: > On 2025-06-23, Michał Górny wrote: > > Introduce a new EPYTEST_PLUGINS variable that can be used to control > > which plugins are used by epytest. It provides a convenient method > > to disable plugin autoloading, as

Re: [gentoo-dev] Re: [PATCH 3/5] python-utils-r1.eclass: Introduce EPYTEST_PLUGINS

2025-06-25 Thread Michał Górny
Dnia 25 czerwca 2025 11:04:45 CEST, Anna Vyalkova napisał/a: >On 2025-06-23, Michał Górny wrote: >> Introduce a new EPYTEST_PLUGINS variable that can be used to control >> which plugins are used by epytest. It provides a convenient method >> to disable plugin autoloadin

[gentoo-dev] Last rites: dev-python/caldav

2025-06-24 Thread Michał Górny
# Michał Górny (2025-06-25) # New problematic test dependencies.  No reverse dependencies. # Removal on 2025-07-25.  Bug #958987. dev-python/caldav -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 2/5] python-utils-r1.eclass: epytest, create junit xml

2025-06-23 Thread Michał Górny
` from test failures and verifying the existing lists for stale values. We use `mktemp` to create unique filenames, to account for `epytest` being called multiple times in a single test phase. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 7 +++ 1 file changed, 7 insertions

[gentoo-dev] [PATCH 5/5] dev-python/asgiref: Use EPYTEST_PLUGINS

2025-06-23 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/asgiref/asgiref-3.8.1.ebuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/asgiref/asgiref-3.8.1.ebuild b/dev-python/asgiref/asgiref-3.8.1.ebuild index c535857a255b..93b9553cbd93 100644 --- a/dev-python/asgiref

[gentoo-dev] [PATCH 4/5] distutils-r1.eclass: Add dependencies for EPYTEST_PLUGINS

2025-06-23 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 14 ++ 1 file changed, 14 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index ba97a95f5798..b9366d187555 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 0/5] python-utils-r1.eclass: epytest improvements

2025-06-23 Thread Michał Górny
ossible), with distutils_enable_tests adding dependencies and epytest only enabling the plugins we need. This is both a major performance gain (loading dozens of plugins is slow) and stability improvement (random plugins often break tests). -- Best regards, Michał Górny Michał Górny (5): p

[gentoo-dev] [PATCH 3/5] python-utils-r1.eclass: Introduce EPYTEST_PLUGINS

2025-06-23 Thread Michał Górny
for a number of plugins currently in ::gentoo. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 139 +- 1 file changed, 138 insertions(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 83727468b603

[gentoo-dev] [PATCH 1/5] python-utils-r1.eclass: epytest, pass --force-short-summary

2025-06-23 Thread Michał Górny
lable with >=dev-python/pytest-8.4.0, and it restores the behavior of older dev-python/pytest versions. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index

[gentoo-dev] Last rites: dev-python/pytest-tornado

2025-06-21 Thread Michał Górny
# Michał Górny (2025-06-21) # Last commit in 2019.  Has an entry point conflict with # dev-python/pytest-tornasync.  No reverse dependencies left. # Removal on 2025-07-21.  Bug #958601. dev-python/pytest-tornado -- Best regards, Michał Górny signature.asc Description: This is a digitally

[gentoo-dev] Last rites: dev-python/backoff

2025-06-21 Thread Michał Górny
# Michał Górny (2025-06-21) # No commits for two years.  Broken with Python 3.14 # and with >=dev-python/pytest-asyncio-1.0.0.  No reverse dependencies. # Removal on 2025-07-21.  Bug #958592. dev-python/backoff -- Best regards, Michał Górny signature.asc Description: This is a digita

[gentoo-dev] Package up for grabs: sys-kernel/zen-sources

2025-06-15 Thread Michał Górny
Hello, Due to the maintainer retiring, the following package is now up for grabs: sys-kernel/zen-sources -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: dev-python/pytest-tempdir

2025-06-07 Thread Michał Górny
# Michał Górny (2025-06-07) # Broken and dangerous.  Archived in 2022.  The last reverse dependency # stopped using it in 2023 (except for outdated ebuilds). # Removal on 2025-07-07.  Bug #957272, #806474. dev-python/pytest-tempdir -- Best regards, Michał Górny signature.asc Description

Re: [gentoo-dev] Last rites: =app-doc/python-docs-3.8*, =dev-lang/python-3.8*

2025-06-04 Thread Michał Górny
On Tue, 2025-06-03 at 22:53 -0400, Eli Schwartz wrote: > On 6/3/25 1:24 PM, Michał Górny wrote: > > # Michał Górny (2025-06-03) > > # Vulnerable EOL version of CPython.  Security backports require > > # too much effort.  Removal on 2025-07-03. > > =app-doc/python-doc

[gentoo-dev] Last rites: =app-doc/python-docs-3.8*, =dev-lang/python-3.8*

2025-06-03 Thread Michał Górny
# Michał Górny (2025-06-03) # Vulnerable EOL version of CPython.  Security backports require # too much effort.  Removal on 2025-07-03. =app-doc/python-docs-3.8* =dev-lang/python-3.8* -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH] python-utils-r1.eclass: Fix epytest with >=pytest-8.4.0

2025-06-03 Thread Michał Górny
o pytest version -- but that breaks dev-python/pytest's test suite on upgrade, and working around that does not seem worth the effort. In the end, this was a QA check to catch pathological cases, and it should be sufficient to catch them with the latest pytest version. Signed-off-by:

[gentoo-dev] [PATCH v2] install-qa-check.d: Add namespace package check to 60python-site

2025-05-29 Thread Michał Górny
file manually, or ebuilds that did strip `namespace_packages` to silence the setuptools deprecation warning. Signed-off-by: Michał Górny --- metadata/install-qa-check.d/60python-site | 23 +++ 1 file changed, 23 insertions(+) diff --git a/metadata/install-qa-check.d/60python

Re: [gentoo-dev] [PATCH] install-qa-check.d: Add namespace package check to 60python-site

2025-05-28 Thread Michał Górny
case that wouldn't be relevant to Gentoo installs anyway. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH] install-qa-check.d: Add namespace package check to 60python-site

2025-05-28 Thread Michał Górny
installing the file manually. Signed-off-by: Michał Górny --- metadata/install-qa-check.d/60python-site | 24 +++ 1 file changed, 24 insertions(+) diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site index 49d4b3a1a830..933c5368b930

[gentoo-dev] Last rites: app-doc/python-docs:3.8, dev-lang/python:3.8

2025-05-27 Thread Michał Górny
# Michał Górny (2025-05-27) # Vulnerable, EOL version of CPython.  The security fix is nontrivial # and does not apply cleanly to the 3.8 branch.  Removal on 2025-06-26. app-doc/python-docs:3.8 dev-lang/python:3.8 -- Best regards, Michał Górny signature.asc Description: This is a digitally

[gentoo-dev] [PATCH 3/3] profiles/desc: Add amx_* to CPU_FLAGS_X86

2025-05-26 Thread Michał Górny
Add `amx_bf16`, `amx_int8` and `amx_tile` to `CPU_FLAGS_x86`, as needed for `sci-ml/ollama::guru`. Signed-off-by: Michał Górny --- profiles/desc/cpu_flags_x86.desc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc index

[gentoo-dev] [PATCH 2/3] profiles/desc: Add avx_vnni to CPU_FLAGS_X86

2025-05-26 Thread Michał Górny
As needed by `sci-ml/ollama::guru`. Signed-off-by: Michał Górny --- profiles/desc/cpu_flags_x86.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc index 9fc7a47752f4..3de7350d8c48 100644 --- a/profiles/desc/cpu_flags_x86

[gentoo-dev] [PATCH 1/3] profiles/desc: Add bmi* to CPU_FLAGS_X86

2025-05-26 Thread Michał Górny
Add `bmi1` and `bmi2` flags to `CPU_FLAGS_X86`, as needed for `sci-ml/ollama::guru`. Signed-off-by: Michał Górny --- profiles/desc/cpu_flags_x86.desc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc index

Re: [gentoo-dev] RFC: new global USE=websockets

2025-05-25 Thread Michał Górny
On Sun, 2025-05-25 at 13:49 -0700, Robin H. Johnson wrote: > On Sun, May 25, 2025 at 05:07:09PM +0200, Michał Górny wrote: > > I'd like to propose a new global use flag: > > > > websockets: Enable support for WebSocket protocol > request: please use the singular USE=

[gentoo-dev] RFC: new global USE=websockets

2025-05-25 Thread Michał Górny
t for server. (plus incoming dev-python/twisted) There is also USE=websocket that is used by 3 packages: net-misc/eventd[websocket] Enable support for WebSocket protocol sci-libs/indilib[websocket] Enable support for WebSocket protocol net-libs/ulfius[websocket] websocket support -- Best regards, M

[gentoo-dev] Packages up for grabs: net-im/pidgin and a bunch of Pidgin plugins

2025-05-25 Thread Michał Górny
-privacy-please -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 2/2] llvm-utils.eclass: Fix llvm_prepend_path w/ no '-d' and slot arg

2025-05-22 Thread Michał Górny
Closes: https://bugs.gentoo.org/951975 Signed-off-by: Michał Górny --- eclass/llvm-utils.eclass | 5 ++--- eclass/tests/llvm-utils.sh | 21 + 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/eclass/llvm-utils.eclass b/eclass/llvm-utils.eclass index

[gentoo-dev] [PATCH 1/2] eclass/tests/llvm-utils.sh: Fix testing without old clang

2025-05-22 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/tests/llvm-utils.sh | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/tests/llvm-utils.sh b/eclass/tests/llvm-utils.sh index 6fe3da3eda13..4ba767a442f2 100755 --- a/eclass/tests/llvm-utils.sh +++ b/eclass/tests/llvm-utils.sh @@ -81,6

Re: [gentoo-dev] [PATCH v2 1/3] cmake.eclass: Add recursive CMakeLists.txt unsupported version detection

2025-05-19 Thread Michał Górny
ompatibility with CMake < 3.5 has been > removed from CMake 4," > + eqawarn "${CATEGORY}/${PN} will fail to build w/o a fix." > + eqawarn "See also tracker bug #951350; check existing bug or > file a new one for" > + e

[gentoo-dev] [PATCH 2/2] python-utils-r1.eclass: python_optimize, use sitedir, not sys.path

2025-05-17 Thread Michał Górny
these cases, we really prefer listing special paths explicitly anyway. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index

[gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: Fix python_optimize output

2025-05-17 Thread Michał Górny
Fix `python_optimize()` to correctly output directories once again, after I removed `${instpath}` while switching to prefix stripping. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass

[gentoo-dev] On Python 3.14 testing (and Python package updates in general)

2025-05-12 Thread Michał Górny
p doing the same thing. 8. You may try using dipt, but it's awful: https://github.com/mgorny/dipt -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 2/2] distutils-r1.eclass: Allow DISTUTILS_UPSTREAM_PEP517=standalone

2025-05-10 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 35 +-- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index d32e5929177e..7dfc8c7a3c30 100644 --- a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 1/2] distutils-r1.eclass: Fix pyvenv correctly for Python 3.14

2025-05-10 Thread Michał Górny
ned-off-by: Michał Górny --- eclass/distutils-r1.eclass | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index cced2b8ffef7..d32e5929177e 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

Re: [gentoo-dev] [PATCH 1/4] profiles/desc: Add Python 3.14 targets

2025-05-09 Thread Michał Górny
On Fri, 2025-05-09 at 16:15 +0200, Andreas K. Huettel wrote: > Could you please in the future drop the useless metadata churn and > combine removing old and adding new into one patchset? Thanks. > Convince upstream to sync with our schedules. -- Best regards, Michał Górny sign

[gentoo-dev] [PATCH 4/4] app-portage/gpyutils: Add python3.14 targets

2025-05-07 Thread Michał Górny
Signed-off-by: Michał Górny --- app-portage/gpyutils/files/implementations.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-portage/gpyutils/files/implementations.txt b/app-portage/gpyutils/files/implementations.txt index 38f5eddae51e..66567c166fa6 100644 --- a/app-portage/gpyutils

[gentoo-dev] [PATCH 3/4] python-utils-r1.eclass: Add python3.14 targets

2025-05-07 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 10 +- eclass/tests/python-utils-r1.sh | 10 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 4fedd2b8a790..a1ca388ab730 100644

[gentoo-dev] [PATCH 2/4] profiles: Add python3.14 flags

2025-05-07 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/base/package.use.force | 2 ++ profiles/base/use.stable.mask | 4 2 files changed, 6 insertions(+) diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force index 8748fa6a2670..55b5f2f874f5 100644 --- a/profiles/base

[gentoo-dev] [PATCH 1/4] profiles/desc: Add Python 3.14 targets

2025-05-07 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/desc/python_single_target.desc | 2 ++ profiles/desc/python_targets.desc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/profiles/desc/python_single_target.desc b/profiles/desc/python_single_target.desc index 8e38ae89b7aa..2b074a3ceaae

[gentoo-dev] [PATCH 2/2] python-utils-r1.eclass: Switch python_optimize to use -s

2025-05-06 Thread Michał Górny
is not a valid prefix for source path '/tmp/portage/www-servers/uwsgi-2.0.27/image/usr/lib/python3.13/site-packages/uwsgidecorators.py'; ignoring ``` These options are supported in all Python versions the eclasses currently do support. Signed-off-by: Michał Górny --- eclass/python

[gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: Remove old code paths for python_optimize

2025-05-06 Thread Michał Górny
Remove the old code paths that used to provide `python_optimize()` for Python 3.8 and Python 2.7 / PyPy. I thought we were keeping them for dev-lang/pypy ebuilds but apparently we're calling compileall directly there. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass

[gentoo-dev] [PATCH 4/4] distutils-r1.eclass: Support cross-impl symlinks

2025-05-03 Thread Michał Górny
Support replacing installed files with cross-implementation symlinks to save space. Opt-in via `DISTUTILS_ALLOW_CROSS_IMPL_SYMLINKS` variable. Closes: https://bugs.gentoo.org/954762 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 66 ++ 1 file

[gentoo-dev] [PATCH 3/4] distutils-r1.eclass: Support .pyc symlinking

2025-05-03 Thread Michał Górny
Support replacing identical .pyc files with symlinks, using gpep517-19 option `--symlink-pyc`. Opt in via `DISTUTILS_ALLOW_PYC_SYMLINKS` variable. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 13 + 1 file changed, 13 insertions(+) diff --git a/eclass/distutils-r1

[gentoo-dev] [PATCH 2/4] distutils-r1.eclass: Quote DISTUTILS_ALLOW_WHEEL_REUSE

2025-05-03 Thread Michał Górny
Reported-by: Ionen Wolkens Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 880e33cd741f..799206f7eb03 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass

[gentoo-dev] [PATCH 1/4] python-utils-r1.eclass: Simplify _python_impl_matches

2025-05-03 Thread Michał Górny
Remove special case for '3.10' in _python_impl_matches -- it was only necessary because we needed to handle 'pypy3' target specially, and that is no longer the case. Technically, the code checks for 'pypy3_10' but that's not a problem, since there is no such a

[gentoo-dev] [PATCH 0/4] distutils-r1.eclass: symlinking support

2025-05-03 Thread Michał Górny
t considered experimental and dangerous. We may consider making the first one opt-out in the future, but I want to test both extensively first. Note that we may independently of this start moving package data out of site-packages and into /usr/share for some large packages. Michał Górny (4): python-uti

[gentoo-dev] [PATCH 3/3] distutils-r1.eclass: Remove EAPI 7 support

2025-05-03 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index af88950ee52a..1d55f9426baa 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1

[gentoo-dev] [PATCH 2/3] distutils-r1.eclass: Remove legacy mode support

2025-05-03 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 849 ++--- 1 file changed, 227 insertions(+), 622 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 02ff3b6c46e0..af88950ee52a 100644 --- a/eclass/distutils-r1

[gentoo-dev] [PATCH 1/3] distutils-r1.eclass: Remove `distutils_enable_tests setup.py`

2025-05-03 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 9 - 1 file changed, 9 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 880e33cd741f..02ff3b6c46e0 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -604,8

[gentoo-dev] [PATCH 0/3] distutils-r1.eclass: remove deprecated stuff

2025-05-03 Thread Michał Górny
Hi, Here's a short batch for review. The rough idea is to merge it when ::gentoo is ready. Michał Górny (3): distutils-r1.eclass: Remove `distutils_enable_tests setup.py` distutils-r1.eclass: Remove legacy mode support distutils-r1.eclass: Remove EAPI 7 support eclass/distuti

[gentoo-dev] Last rites: sci-chemistry/modeller

2025-05-03 Thread Michał Górny
# Michał Górny (2025-05-03) # Not actively maintained in ::gentoo.  Last bumped a year ago. # Still on EAPI 7, no Python 3.13 support, does not work with new # dev-lang/swig.  Lots of bugs open. # Removal on 2025-06-02.  Bug #950475, #952653. sci-chemistry/modeller -- Best regards, Michał Górny

Re: [gentoo-dev] [RFC 2/3] eclass: Add xorg-meson eclass

2025-05-02 Thread Michał Górny
rc_compile > +# @DESCRIPTION: > +# Compile a package, performing all X-related tasks. > +xorg-meson_src_compile() { > + debug-print-function ${FUNCNAME} "$@" > + > + if [[ ${XORG_MULTILIB} == yes ]]; then > + meson-multilib_src_compile "$@&

Re: [gentoo-dev] [PATCH 1/5] dot-a.eclass: new eclass for handling LTO in static archives

2025-05-02 Thread Michał Górny
-R .gnu.debuglto_* \ > + -N __gnu_lto_v1 \ > + "${file}" || die "Stripping bytecode in > ${file} failed" > + ;; Technically, strip accepts multiple files, but I can guess there's no point in optimizing the GNU branch here. > + llvm) > + llvm-bitcode-strip \ > + -r "${file}" \ > + -o "${file}" || die "Stripping bytecode > in ${file} failed" > + ;; > + *) > + ;; > + esac > + done > +} > + > +fi -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Projects with no members

2025-04-26 Thread Michał Górny
bably just remove it. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Packages up for grabs due to retirements

2025-04-26 Thread Michał Górny
/mbpfan media-sound/playerctl net-fs/davfs2 sys-auth/pam_u2f sys-fs/ext4magic -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: dev-python/unittest-or-fail

2025-04-22 Thread Michał Górny
# Michał Górny (2025-04-22) # This package was only really necessary for packages without # Python 3.12+ support, and the eclass no longer uses it. # Removal on 2025-05-22.  Bug #954213. dev-python/unittest-or-fail -- Best regards, Michał Górny signature.asc Description: This is a digitally

Re: [gentoo-dev] [PATCH 0/8] distutils-r1.eclass: dev-python/unittest-or-fail removal, verbose deprecation warnings and another setuptools dep bump

2025-04-19 Thread Michał Górny
On Sat, 2025-04-19 at 11:38 -0700, Bryan Gardiner wrote: > Hi Michał, > > On Wed, 9 Apr 2025 17:44:20 +0200 > Michał Górny wrote: > > > 4. Add verbose deprecation warnings for `distutils_enable_tests > >setup.py`, and for non-PEP517 builds. These are rather ugl

[gentoo-dev] [PATCH] metadata/install-qa-check.d: Check for Python exts for wrong impl

2025-04-13 Thread Michał Górny
Add a QA check for Python extensions that were compiled for the wrong implementation. This is particularly a case when build is not properly isolated and extensions built for earlier Python versions end up being included in the subsequent installs. Signed-off-by: Michał Górny --- metadata

[gentoo-dev] [PATCH 5/8] distutils-r1.eclass: Add verbose `det setup.py` deprecation warning

2025-04-09 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index f863872330c2..9b83d502d142 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 0/8] distutils-r1.eclass: dev-python/unittest-or-fail removal, verbose deprecation warnings and another setuptools dep bump

2025-04-09 Thread Michał Górny
P517 builds. These are rather ugly as they appear during dependency calculation (hence they need the package name explicitly printed). Good news is, the use is almost gone from ::gentoo, so they are specifically targeted at overlays. PR: https://github.com/gentoo/gentoo/pull/41473 Mich

[gentoo-dev] [PATCH 8/8] dev-python/blake3: Remove obsolete hack

2025-04-09 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/blake3/blake3-1.0.4.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/blake3/blake3-1.0.4.ebuild b/dev-python/blake3/blake3-1.0.4.ebuild index 8e042ea0c094..e7420a53224a 100644 --- a/dev-python/blake3/blake3-1.0.4.ebuild +++ b/dev

[gentoo-dev] [PATCH 7/8] dev-python/sqlglot: Remove obsolete hack

2025-04-09 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/sqlglot/sqlglot-26.12.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/sqlglot/sqlglot-26.12.1.ebuild b/dev-python/sqlglot/sqlglot-26.12.1.ebuild index dfb5ad04a049..e6c62a001c9e 100644 --- a/dev-python/sqlglot/sqlglot-26.12.1

[gentoo-dev] [PATCH 6/8] distutils-r1.eclass: Add verbose legacy mode deprecation warning

2025-04-09 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 9b83d502d142..8966341f5a10 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils

[gentoo-dev] [PATCH 4/8] distutils-r1.eclass: Remove unittest-or-fail deps

2025-04-09 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 -- 1 file changed, 6 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 020fe57a4378..f863872330c2 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -647,12 +647,6

[gentoo-dev] [PATCH 3/8] python-utils-r1.eclass: Remove unittest-or-fail use

2025-04-09 Thread Michał Górny
ons while testing on 3.12+. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index affb8e55a50d..79097765167f 100644 --- a/eclass/python-uti

[gentoo-dev] [PATCH 2/8] distutils-r1.eclass: Bump minimum setuptools version

2025-04-09 Thread Michał Górny
Bump minimum setuptools version, as >=77 introduced a deprecation warning, with a suggested solution that only works with >=77, so now a growing number of packages require that version. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions

[gentoo-dev] [PATCH 1/8] distutils-r1.eclass: Make DISTUTILS_UPSTREAM_PEP517 default-unset

2025-04-09 Thread Michał Górny
Instead of setting DISTUTILS_UPSTREAM_PEP517 to DISTUTILS_USE_PEP517 in global scope, make it fall back to that variable when used. This way, we don't have to override both variables when multiple values need to be used in an ebuild. Bug: https://bugs.gentoo.org/953285 Signed-off-by: M

[gentoo-dev] Last rites: app-text/nfoview

2025-04-09 Thread Michał Górny
# Michał Górny (2025-04-09) # Still uses legacy distutils-r1 mode, and lacks Python 3.13 target. # No reply from the maintainer for a year now. # Removal on 2025-05-09.  Bug #909900. app-text/nfoview -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message

[gentoo-dev] [PATCH 10/11] dev-python/uv-build: Use DISTUTILS_UPSTREAM_PEP517

2025-04-05 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/uv-build/uv-build-0.6.9.ebuild | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dev-python/uv-build/uv-build-0.6.9.ebuild b/dev-python/uv-build/uv-build-0.6.9.ebuild index a93405a17200..39fada98c1d0 100644 --- a/dev-python

Re: [gentoo-dev] Last rites: dev-python/django-bootstrap5

2025-04-05 Thread Michał Górny
On Sun, 2025-03-23 at 08:39 +0100, Alfredo Tupone wrote: > On Tue, 18 Mar 2025 06:56:24 +0100 > Michał Górny wrote: > > > > Bug fixed, and python team removed > > > > The tests still fail: > > > > FAILED (failures=3, errors=1) > > > Here th

[gentoo-dev] The uncertain future of repository mirrors

2025-04-05 Thread Michał Górny
since these two we have control of, and are very important to Gentoo users. So, well, unless someone convinces me otherwise, I'm going to disable all other repositories over the next weekend, and remove their mirrors. Gentoo and GURU will still be mirrored, and CI will keep running as usu

  1   2   3   4   5   6   7   8   9   10   >