Pkgcore

Latest version: v0.12.26

Safety actively analyzes 613807 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 27

0.8.5

--------------------------

- pkgcore now matches the new PMS rules on package naming (specifically
that the last component can't be a version at all, period). Also
tightened up some stupidly horrible allowed names- stuff like diff-mode-
for a package name (gentoo bug 438370).

- pkgcore no longer supports the old form cvs version component; for
example, diffball-cvs.1.0 (cvs version of 1.0 for diffball). This has
long since been deprecated- basically since day 1 of cvs. It's been
basically six years, no vdb usage should exist anymore, thus dropping
support for it.

- Fixed test sporadic test failure- false positive code quality check.
Gentoo bug 437216.

- Fixed doc generation for py3k.


--------------------------

0.8.4

--------------------------

- Fix bad function reference in eapi3 guts.


--------------------------

0.8.3

--------------------------

- Fixed bug where default phases weren't guaranteed to be ran.


--------------------------

0.8.2

--------------------------

- Fixed pmaint exception for when eclass preloading was enabled.


--------------------------

0.8.1

--------------------------

- Pkgcore now requires snakeoil 0.5.1.

- The cache format 'md5-cache' is now supported (this is what gentoo-x86
switched to, and what chromeos uses).

- core environment saving functionality was sped up by ~10x. Basically
every package will see a gain; simple ones like bsdiff, on my hardware
went from ~5.2s to 1.5s; diffball from ~12.4 to ~9.2; hell, even
git (with binpkgs turned off) dropped from 28.5s to 21.1s.
This improves both --attr environment, and general functionality;
regen however shouldn't be any faster (already avoided these pathways).

- filter-env gained a --print-funcs option. Additionally, the underlying
core has been enhanced so that analysis within a function block is
possible.

- pquery --attr environment now can work for raw ebuilds, rather than
just built ebuilds.

- pquery --no-filter was added; this gives you the configured
(USE rendered) view of a package, just without any visibility
or license filtering applied.

- Errant newlines in pquery --attr \*depends -v output were removed.

- pquery --repo gentoo no longer implies/forces --raw. Same goes
for all other places that take repo arguments.
Now, pquery --repo <some-repo> must be within the specified domain
unless --raw is forced.

- All pkgcore internal functions now are prefixed with __; ebuilds
and eclasses should never touch them.

- For performance debugging of EBD, PKGCORE_PERF_DEBUG=1 was added.

- Defined phases is now trusted in full, and used to control exactly
what phases are actually ran. This in conjunction w/ some relaxation
of a few protections (namely, if pkgcore just generated the env dump,
and we know it's from our version/machinery, then we can directly
source that dump rather than doing protective scrubbing). End result
is that for build -> binpkg -> install, for example bsdiff went from
4.9s to 2.1s; diffball went from ~12.5s to ~9.8s. Gain primarily
is for either huge environments, or small pkgs.

- Minor round of metadata regen optimization; 18-20% faster now.

- Heavy environment cleanup; pkgcore now generally doesn't expose
any real functionality to ebuilds/eclasses that could be accidentally
relied upon (all of it is prefixed with pkgcore\_, making it obvious
they shouldn't be using it).

- Fix issue 31; empty GENTOO_MIRRORS breaks portage conf support.


------------------------

0.8

------------------------

- Fix fetch support broken by gentoo's recent enabling of whirlpool
checksum.

- Python 2.4 support was dropped.

- Fix a longstanding potential bug in spawn's fd reassignment;
if fed {2:3, 3:2, 4:6}, dependent on python dict ordering, it
was possible for it to inadvertantly stomp fd 4 during the
final reassignment. Haven't seen any signs it's occurred in the
wild, but the potential is there, thus fixed.

- Gentoo's unpacker eclass is sensitive to the return code of
assert; this is outside of pms rules, but we've matched portage
behaviour to keep things working

- Fixed pinspect portageq envvar support.

- Added `pconfig world` for world file manipulation.

- Heavy doc fixups, including fixing the man pages to actually be
readable. New man page for pmerge added.

- Fix py3k incompatibility in pmerge -N .

- prefix branch was merged. This fleshes out the majority of prefix
support; extended-versions currently aren't supported however.

- pkgcore now forces parallelization for tbz2 generation if pbzip2
is installed.

- Python stdlib's BZ2File doesn't handle multiple streams in a bz2
file correctly- we work around this via always forcing bzip2 -dc
unless the python version is 3.3 or later.


----------------------------

Page 11 of 27

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.