The NetBSD Project

CVS log for pkgsrc/devel/py-importlib-metadata/distinfo

[BACK] Up to [] / pkgsrc / devel / py-importlib-metadata

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 30 10:29:20 2023 UTC (8 weeks ago) by wiz
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

py-importlib-metadata: update to 7.0.1.



- Corrected the interface for SimplePath to encompass the expectations of locate_file and PackagePath.
- Fixed type annotations to allow strings.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 11 09:52:13 2023 UTC (2 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

py-importlib-metadata: update to 7.0.0.


Deprecations and Removals

- Removed EntryPoint access by numeric index (tuple behavior).



- Added ``Distribution.origin`` supplying the ``direct_url.json`` in a ``SimpleNamespace``. (#404)



- Added diagnose script. (#461)

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 7 08:26:33 2023 UTC (2 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

py-importlib-metadata: update to 6.9.0.



- Added EntryPoints.__repr__ (#473)

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 8 04:40:28 2023 UTC (7 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

py-importlib-metadata: updated to 6.8.0


- Require Python 3.8 or later.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 28 08:46:59 2023 UTC (7 months, 4 weeks ago) by wiz
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

py-importlib-metadata: update to 6.7.0.


* #453: When inferring top-level names that are importable for
  distributions in ``package_distributions``, now symlinks to
  other directories are honored.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Apr 30 17:16:03 2023 UTC (9 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

py-importlib-metadata: update to 6.6.0.


* #449: Expanded type annotations.


* python/cpython#103661: Removed excess error suppression in
  ``_read_files_egginfo_installed`` and fixed path handling
  on Windows.


* #422: Removed ABC metaclass from ``Distribution`` and instead
  deprecated construction of ``Distribution`` objects without
  concrete methods.


* Updated docs with tweaks from upstream CPython.


* Consolidated some behaviors in tests around ``_path``.
* Added type annotation for ``Distribution.read_text``.


* #115: Support ``installed-files.txt`` for ``Distribution.files``
  when present.


* #442: Fixed issue introduced in v6.1.0 where non-importable
  names (metadata dirs) began appearing in


* #384: ``PackageMetadata`` now stipulates an additional ``get``
  method allowing for easy querying of metadata keys that may not
  be present.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 4 12:36:22 2023 UTC (10 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

py-importlib-metadata: updated to 6.1.0

* ``packages_distributions`` now honors packages and modules
  with Python modules that not ``.py`` sources (e.g. ``.pyc``,

* Expand protocol for ``PackageMetadata.get_all`` to match
  the upstream implementation of ``email.message.Message.get_all``
  in python/typeshed-9620.

* Declared ``Distribution`` as an abstract class, enforcing
  definition of abstract methods in instantiated subclasses. It's no
  longer possible to instantiate a ``Distribution`` or any subclasses
  unless they define the abstract methods.

  Please comment in the issue if this change breaks any projects.
  This change will likely be rolled back if it causes significant

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 2 11:20:02 2022 UTC (18 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

py-importlib-metadata: updated to 4.12.0

* py-93259: Now raise ``ValueError`` when ``None`` or an empty
  string are passed to ``Distribution.from_name`` (and other

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 12 05:13:15 2022 UTC (21 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

py-importlib-metadata: updated to 4.11.3

* Removed cast of path items in FastPath, not needed.

* Fixed bug where ``EntryPoint.extras`` was returning
  match objects and not the extras strings.

* In ``Distribution.requires`` for egg-info, if ``requires.txt``
  is empty, return an empty list.

* bpo-46246: Added ``__slots__`` to ``EntryPoints``.

* Avoid leaking ``method_name`` in ``DeprecatedList``.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 25 09:19:29 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

py-importlib-metadata: update to 4.10.1.


* #361: Avoid potential REDoS in ``EntryPoint.pattern``.


* #354: Removed ``Distribution._local`` factory. This
  functionality was created as a demonstration of the
  possible implementation. Now, the
  `pep517 <>`_ package
  provides this functionality directly through
  `pep517.meta.load <>`_.


* Require Python 3.7 or later.


* #357: Fixed requirement generation from egg-info when a
  URL requirement is given.



* #353: Fixed discovery of distributions when path is empty.


* #348: Restored support for ``EntryPoint`` access by item,
  deprecating support in the process. Users are advised
  to use direct member access instead of item-based access::

  - ep[0] ->
  - ep[1] -> ep.value
  - ep[2] ->
  - ep[:] ->, ep.value,


* #337: Rewrote ``EntryPoint`` as a simple class, still
  immutable and still with the attributes, but without any
  expectation for ``namedtuple`` functionality such as


* #344: Fixed regression in ``packages_distributions`` when
  neither top-level.txt nor a files manifest is present.


* #330: In ``packages_distributions``, now infer top-level
  names from ``.files()`` when a ``top-level.txt``
  (Setuptools-specific metadata) is not present.


* #334: Correct ``SimplePath`` protocol to match ``pathlib``
  protocol for ``__truediv__``.


* Moved workaround for #327 to ``_compat`` module.


* bpo-44784: Avoid errors in test suite when
  DeprecationWarnings are treated as errors.


* #327: Deprecation warnings now honor call stack variance
  on PyPy.


* #326: Performance tests now rely on
  `pytest-perf <>`_.
  To disable these tests, which require network access
  and a git checkout, pass ``-p no:perf`` to pytest.


* #319: Remove ``SelectableGroups`` deprecation exception
  for flake8.


* #300: Restore compatibility in the result from
  ``Distribution.entry_points`` (``EntryPoints``) to honor
  expectations in older implementations and issuing
  deprecation warnings for these cases:

  - ``EntryPoints`` objects are once again mutable, allowing
    for ``sort()`` and other list-based mutation operations.
    Avoid deprecation warnings by casting to a
    mutable sequence (e.g.

  - ``EntryPoints`` results once again allow
    for access by index. To avoid deprecation warnings,
    cast the result to a Sequence first
    (e.g. ``tuple(dist.entry_points)[0]``).


* #320: Fix issue where normalized name for eggs was
  incorrectly solicited, leading to metadata being
  unavailable for eggs.


* #317: De-duplication of distributions no longer requires
  loading the full metadata for ``PathDistribution`` objects,
  entry point loading performance by ~10x.


* Prefer f-strings to ``.format`` calls.


* #312: Add support for metadata 2.2 (``Dynamic`` field).

* #315: Add ``SimplePath`` protocol for interface clarity
  in ``PathDistribution``.


* #306: Clearer guidance about compatibility in readme.


* #304: ``PackageMetadata`` as returned by ``metadata()``
  and ``Distribution.metadata()`` now provides normalized
  metadata honoring PEP 566:

  - If a long description is provided in the payload of the
    RFC 822 value, it can be retrieved as the ``Description``
  - Any multi-line values in the metadata will be returned as
  - For any multi-line values, line continuation characters
    are removed. This backward-incompatible change means
    that any projects relying on the RFC 822 line continuation
    characters being present must be tolerant to them having
    been removed.
  - Add a ``json`` property that provides the metadata
    converted to a JSON-compatible form per PEP 566.


* Minor tweaks from CPython.


* #295: Internal refactoring to unify section parsing logic.


* #296: Exclude 'prepare' package.
* #297: Fix ValueError when entry points contains comments.


* Use of Mapping (dict) interfaces on ``SelectableGroups``
  is now flagged as deprecated. Instead, users are advised
  to use the select interface for future compatibility.

  Suppress the warning with this filter:
  ``ignore:SelectableGroups dict interface``.

  Or with this invocation in the Python environment:
  ``warnings.filterwarnings('ignore', 'SelectableGroups dict interface')``.

  Preferably, switch to the ``select`` interface introduced
  in 3.7.0. See the
  `entry points documentation <>`_ and changelog for the 3.6
  release below for more detail.

  For some use-cases, especially those that rely on
  ``importlib.metadata`` in Python 3.8 and 3.9 or
  those relying on older ``importlib_metadata`` (especially
  on Python 3.5 and earlier),
  `backports.entry_points_selectable <>`_
  was created to ease the transition. Please have a look
  at that project if simply relying on importlib_metadata 3.6+
  is not straightforward. Background in #298.

* #283: Entry point parsing no longer relies on ConfigParser
  and instead uses a custom, one-pass parser to load the
  config, resulting in a ~20% performance improvement when
  loading entry points.


* #293: Re-enabled lazy evaluation of path lookup through
  a FreezableDefaultDict.


* #293: Workaround for error in distribution search.


* #290: Add mtime-based caching for ``FastPath`` and its
  lookups, dramatically increasing performance for repeated
  distribution lookups.


* Docs enhancements and cleanup following review in
  `GH-24782 <>`_.


* Cleaned up cruft in entry_points docstring.


* Internal refactoring to facilitate ``entry_points() -> dict``


* #131: Added ``packages_distributions`` to conveniently
  resolve a top-level package or module to its distribution(s).


* #284: Introduces new ``EntryPoints`` object, a tuple of
  ``EntryPoint`` objects but with convenience properties for
  selecting and inspecting the results:

  - ``.select()`` accepts ``group`` or ``name`` keyword
    parameters and returns a new ``EntryPoints`` tuple
    with only those that match the selection.
  - ``.groups`` property presents all of the group names.
  - ``.names`` property presents the names of the entry points.
  - Item access (e.g. ``eps[name]``) retrieves a single
    entry point by name.

  ``entry_points`` now accepts "selection parameters",
  same as ````.

  ``entry_points()`` now provides a future-compatible
  ``SelectableGroups`` object that supplies the above interface
  (except item access) but remains a dict for compatibility.

  In the future, ``entry_points()`` will return an
  ``EntryPoints`` object for all entry points.

  If passing selection parameters to ``entry_points``, the
  future behavior is invoked and an ``EntryPoints`` is the

* #284: Construction of entry points using
  ``dict([EntryPoint, ...])`` is now deprecated and raises
  an appropriate DeprecationWarning and will be removed in
  a future version.

* #300: ``Distribution.entry_points`` now presents as an
  ``EntryPoints`` object and access by index is no longer
  allowed. If access by index is required, cast to a sequence


* #280: ``entry_points`` now only returns entry points for
  unique distributions (by name).


* #10: Project now declares itself as being typed.
* #272: Additional performance enhancements to distribution
* #111: For PyPA projects, add test ensuring that
  ``MetadataPathFinder._search_paths`` honors the needed
  interface. Method is still private.


* #265: ``EntryPoint`` objects now expose a ``.dist`` object
  referencing the ``Distribution`` when constructed from a


* The object returned by ``metadata()`` now has a
  formally-defined protocol called ``PackageMetadata``
  with declared support for the ``.get_all()`` method.
  Fixes #126.



* #261: Restored compatibility for package discovery for
  metadata without version in the name and for legacy


* Merge with 2.1.0.


* #253: When querying for package metadata, the lookup
  now honors
  `package normalization rules <>`_.


* Require Python 3.6 or later.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 26 10:18:33 2021 UTC (2 years, 3 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 7 13:43:16 2021 UTC (2 years, 4 months ago) by nia
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

devel: Remove SHA1 hashes for distfiles

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 21 08:41:28 2020 UTC (3 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

py-importlib-metadata: updated to 2.0.0


importlib_metadata no longer presents a __version__ attribute. Consumers wishing to resolve the version of the package should query it directly with importlib_metadata.version('importlib-metadata').

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 27 16:50:11 2020 UTC (3 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

py-importlib-metadata: updated to 1.7.0


PathNotFoundError now has a custom __str__ mentioning „ŗ◊—ackage metadata„ŗbeing missing to help guide users to the cause when the package is installed but no metadata is present.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 12 06:59:03 2020 UTC (3 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

py-importlib-metadata: updated to 1.6.1

Added Distribution._local() as a provisional demonstration of how to load metadata for a local package. Implicitly requires that pep517 is installed.
Ensure inputs to FastPath are Unicode.
Tests now rely on importlib.resources.files (and backport) instead of the older path function.
Support any iterable from find_distributions.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 7 09:23:22 2020 UTC (3 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

py-importlib-metadata: updated to 1.6.0

Added module and attr attributes to EntryPoint

Fix redundant entries from FastPath.zip_children.

Improve reliability and consistency of compatibility imports for contextlib and pathlib when running tests.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 10 18:29:38 2020 UTC (4 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

py-importlib-metadata: updated to 1.5.0

Additional performance optimizations in FastPath now saves an additional 20% on a typical call.
Correct for issue where PyOxidizer finder has no __module__ attribute.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 15 17:58:37 2020 UTC (4 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

py-importlib-metadata: updated to 1.4.0

Through careful optimization, distribution() is 3-4x faster. Thanks to Antony Lee for the contribution.
When searching through sys.path, if any error occurs attempting to list a path entry, that entry is skipped, making the system much more lenient to errors.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 11 10:27:31 2019 UTC (4 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

py-importlib-metadata: updated to 1.3.0

Improve custom finders documentation.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 5 10:00:35 2019 UTC (4 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

py-importlib-metadata: updated to 1.2.0

Once again, drop support for Python 3.4.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 3 16:41:21 2019 UTC (4 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

py-importlib-metadata: updated to 1.1.0

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

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).

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 17 08:30:51 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

py-importlib-metadata: updated to 0.23

Added a compatibility shim to prevent failures on beta releases of Python
before the signature changed to accept the „ŗ◊ńontext„ŗparameter on
find_distributions. This workaround will have a limited lifespan, not to extend
beyond release of Python 3.8 final.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 12 12:09:01 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

py-importlib-metadata: updated to 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.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 11 09:52:30 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

py-importlib-metadata: updated to 0.21

importlib.metadata now exposes the DistributionFinder metaclass and references it in the docs for extending the search algorithm.
Add 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.

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.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 14 15:20:16 2019 UTC (4 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

py-importlib-metadata: fix distinfo for 0.19 update

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 29 19:51:10 2019 UTC (4 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2

py-importlib-metadata: added version 0.15

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>