./devel/py-importlib-metadata, Read metadata from Python packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3.0, Package name: py37-importlib-metadata-1.3.0, Maintainer: pkgsrc-users

importlib_metadata is a library which provides an API for accessing an
installed package's metadata, such as its entry points or its top-level name.
This functionality intends to replace most uses of pkg_resources entry point
API and metadata API. Along with importlib.resources in Python 3.7 and newer
(backported as importlib_resources for older versions of Python), this can
eliminate the need to use the older and less efficient pkg_resources package.

importlib_metadata is a backport of Python 3.8's standard library
importlib.metadata module for Python 2.7, and 3.4 through 3.7. Users of Python
3.8 and beyond are encouraged to use the standard library module, and in fact
for these versions, importlib_metadata just shadows that module. Developers
looking for detailed API descriptions should refer to the Python 3.8 standard
library documentation.


Required to run:
[devel/py-setuptools] [lang/python37] [archivers/py-zipp]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: 48629b4616edb014d698bfbbf2ce11ce4b4f63bc
RMD160: 63a0d29fd5e6272a8e85da8c321eacc4fc848650
Filesize: 25.706 KB

Version history: (Expand)


CVS history: (Expand)


   2019-12-11 11:27:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-metadata: updated to 1.3.0

v1.3.0
Improve custom finders documentation.
   2019-12-05 11:00:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-metadata: updated to 1.2.0

1.2.0:
Once again, drop support for Python 3.4.
   2019-12-03 17:41:54 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-importlib-metadata: removed post-extract
   2019-12-03 17:41:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-metadata: updated to 1.1.0

v1.1.0
Dropped support for Python 3.4.
EntryPoints are now pickleable.
Fixed repr(EntryPoint) on PyPy 2.

v1.0.0
Project adopts semver for versioning.
Removed compatibility shim introduced in 0.23.
For better compatibility with the stdlib implementation and to avoid the same \ 
distributions being discovered by the stdlib and backport implementations, the \ 
backport now disables the stdlib DistributionFinder during initialization \ 
(import time).
   2019-10-07 14:54:51 by Hauke Fath | Files touched by this commit (1)
Log message:
Un-break Solarish build by avoiding world-writable dist files.

Would be nice if the extract: target took care of this, where upstream cannot...
   2019-09-17 10:30:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-metadata: updated to 0.23

0.23
Added a compatibility shim to prevent failures on beta releases of Python
before the signature changed to accept the “context” parameter on
find_distributions. This workaround will have a limited lifespan, not to extend
beyond release of Python 3.8 final.
   2019-09-12 14:09:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-metadata: updated to 0.22

0.22
Renamed package parameter to distribution_name as recommended in the following \ 
functions: distribution, metadata, version, files, and requires. This \ 
backward-incompatible change is expected to have little impact as these \ 
functions are assumed to be primarily used with positional parameters.
   2019-09-11 11:52:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-metadata: updated to 0.21

0.21
importlib.metadata now exposes the DistributionFinder metaclass and references \ 
it in the docs for extending the search algorithm.
Add Distribution.at for constructing a Distribution object from a known metadata \ 
directory on the file system.
Distribution finders now receive a context object that supplies .path and .name \ 
properties. This change introduces a fundamental backward incompatibility for \ 
any projects implementing a find_distributions method on a MetaPathFinder. This \ 
new layer of abstraction allows this context to be supplied directly or \ 
constructed on demand and opens the opportunity for a find_distributions method \ 
to solicit additional context from the caller.

0.20
Clarify in the docs that calls to .files could return None when the metadata is \ 
not present.
Return all requirements and not just the first for dist-info packages.