Followup to f2e6e9fbc7 in ~arch just
in case of unexpected fallout. Use modern alternatives instead of
pkg_resources.
Signed-off-by: Sam James <sam@gentoo.org>
A user reported this broken plugin:
```
File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3.13/site-packages/pbr/pbr_json.py", line 19, in <module>
from pbr import git
File "/usr/lib/python3.13/site-packages/pbr/git.py", line 28, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
[31;01m*[0m ERROR: dev-python/setuptools-82.0.1::gentoo failed (compile phase):
[31;01m*[0m Wheel build failed
```
compat/metadata.py imports importlib_metadata and then pkg_resources,
while compat/packaging.py imports packaging and then pkg_resources. Use
a || ( ... ) for now.
Signed-off-by: Sam James <sam@gentoo.org>
Alfred Wingate (6):
man: emerge(1): fix typo in escape sequence
tests: stub PORTAGE_TRUST_HELPER for test_gpkg_gpg_emerge as well
lib: follow PEP440 closer, handle -dirty
Add test for bug 969654
_emerge/actions.py: don't need to pass DEFINED_PHASES here anymore
emerge: differentiate between unset and empty variables in --info
Alibek Omarov (1):
ELF: Add entry for Elbrus
Florian Schmaus (4):
Scheduler: No background mode if there is just one merge job
bintree: fix logic to not use local pkgindex if remote index is not found
emerge: allow for "--jobs n" to disable parallel emerge jobs
Scheduler: adjust scale_to_jobs()
Greg Kubaryk (1):
Implement --verbose-missing-ebuilds
James Le Cuirot (1):
estrip: Don't break the debuglink CRC with the salted build ID
Jethro Donaldson (10):
emerge: add --usepkg-include command line option
emerge: add --nobindeps command line option
bintree: keep local pkgindex of unreachable binrepo with --pretend
output: add 'g' symbol to indicate remote binary with --getbinpkg
emerge: add --getbinpkg-include --getbinpkg-exclude command line opts
config: add usepkg-exclude and usepkg-include to repos.conf
config: add getbinpkg-exclude and getbinpkg-include to binrepos.conf
emaint: warn about missing or masked ebuilds for emaint -c world
emaint: hide failures to determine ebuild masking reasons
emaint: report masking reasons from porttree rather than vartree
Kerin Millar (1):
phase-helpers.sh: unpack(): consider only non-empty suffixes as keys
Mike Gilbert (6):
bin/ebuild-helpers/xattr/install: perform path magic for python only
bin/isolated-functions.sh: make nonfatal die -n log to stderr
bin/isolated-functions.sh: die: maintain the previous exit status
fowners: move path logic into global scope
netlink: clean up socket logic
netlink: update ifaddrmsg struct to match docs
Nicolas PARLANT (2):
fowners: use numeric-uid-gid w/ custom target root
fowners: add compat to resolve_owner for older EAPIs
Sam James (31):
NEWS: fix 2025->2026 typo for portage-3.0.74
bintree: improve error message for per-binhost Packages fetch failure
man: portage(5): add verify-signature, location to binrepos.conf example too
man: emerge(1): fix 'remaining' typo
estrip: silence noise from objcopy if build ID section doesn't exist
emerge: warn on installed packages in @world without ebuilds available
estrip: silence (further) noise from objcopy if build ID section doesn't exist
emerge: don't complain on --excluded packages in world
BinRepoConfigLoader: add comment wrt PORTAGE_BINHOST
bintree: run trust helper when any binrepos.conf has verify-signature enabled too
Read binrepos.conf from /usr/share/portage/config too
cnf: install binrepos.conf with verify-signature enabled for gentoo
man: portage(5): document that binrepos.conf location must be unique
tests: stub PORTAGE_TRUST_HELPER
tests: disable verify-signature for xpak
cnf: enable verify-signature by default in binrepos.conf
NEWS: update
tests: gpkg: install test_gpkg_gpg_emerge.py
NEWS: improve verification default messaging
emaint: sync: tidy up self-update message
emaint: sync: prepare _check_updates for multiple packages
emaint: sync: simplify _do_pkg_moves
emaint: sync: simplify _check_updates
emaint: sync: implement `sync-openpgp-key-package`
cnf: set `sync-openpgp-key-package` for ::gentoo
emaint: sync: implement `openpgp-key-package` for binrepos.conf
tests: resolver: install test_binpackage_selection.py
tests: sets: base: install test_wildcard_package_set.py
tests: resolver: install test_emptytree_reinstall_unsatisfiability.py
NEWS: update
NEWS, meson.build: prepare for portage-3.0.78
Zac Medico (2):
PackageSet: Optimize containsCPV with cpv_getkey
Revert "depgraph: earlier slot operator backtracking"
Closes: https://bugs.gentoo.org/339579
Closes: https://bugs.gentoo.org/463964
Closes: https://bugs.gentoo.org/911180
Closes: https://bugs.gentoo.org/945384
Closes: https://bugs.gentoo.org/968578
Closes: https://bugs.gentoo.org/969086
Closes: https://bugs.gentoo.org/969187
Closes: https://bugs.gentoo.org/969217
Closes: https://bugs.gentoo.org/969654
Closes: https://bugs.gentoo.org/970223
Closes: https://bugs.gentoo.org/970691
Closes: https://bugs.gentoo.org/970742
Closes: https://bugs.gentoo.org/971120
Closes: https://bugs.gentoo.org/971641
Closes: https://bugs.gentoo.org/969185
Signed-off-by: Sam James <sam@gentoo.org>
Changes are minor, not worth re-stabilizing over esp. when
the current stablereq is not finished (will continue it
with -r1).
Bug: https://bugs.gentoo.org/973374
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>