./devel/py-resolvelib, Resolve abstract dependencies into concrete ones

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


Branch: CURRENT, Version: 1.1.0, Package name: py312-resolvelib-1.1.0, Maintainer: pkgsrc-users

ResolveLib at the highest level provides a ``Resolver`` class that
includes dependency resolution logic. You give it some things, and
a little information on how it should interact with them, and it
will spit out a resolution result.


Master sites:

Filesize: 22.022 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-31 09:39:42 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-resolvelib: updated to 1.1.0

1.1.0 (2024-10-31)

No significant changes.

1.1.0b1 (2024-10-01)

Features

- Declare supported Python version support ">= 3.7" in dist meta
- Improve exception chaining when ResolutionImpossible raises during backjumping
- Switch from pyi files to modern annotations based type hinting
- In tests the commentjson test dependency with re.sub
- Deduplicate failure causes to save memory and reduce backtracking overhead
- New `narrow_requirement_selection` provider method giving option for
  providers to reduce the number of times sort key `get_preference` is
  called in long running backtrack
- Run tests against Python 3.12, 3.13, and use latest version of CI dependencies
- Update py2ndex script to use metadata files, skip 404, and support PEP 723
- Replace setuptools.cfg and mypy.ini with pyproject.toml
- Add tests type "unvisited" to functional Python tests to ensure \ 
backjumping
  is correctly skipping candidates
- Switch from flake8 to ruff for linting
- Enable automatic TYPE_CHECK guarding for imports only used for type hinting
  via ruff rules TCH and FA

Bug Fixes

- Fix example reporter_demo `get_preference` method which requires arg \ 
`backtrack_causes`
- Clarify the docstrings for `providers.py`
- Pin Black version for linting to prevent CI failures
- In unexpected situation where broken_state.mapping is empty, stop backtracking,
  and continue resolution (rather than throwing ResolutionImpossible)
- During backtracking check if the current broken state is an incompatible \ 
dependency,
  if not stop backtracking and continue resolution.
- Separate AbstractResolver and Resolver into different modules
- Separate resolvers into different modules
- Export criterion in resolvers to keep compatibility
- Enable isorting via ruff
   2023-04-18 19:23:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-resolvelib: updated to 1.0.1

1.0.1 (2023-03-09)

Bug Fixes

- Fix calls to opaque objects and use provider interface calls instead.

1.0.0 (2023-03-08)

Features

- Implement backjumping to significantly speed up the resolution process by \ 
skipping over irrelevant parts of the resolution search space.
   2022-11-22 14:02:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-resolvelib: updated to 0.9.0

0.9.0 (2022-11-17)
==================

Features
--------
- A new reporter hook ``rejecting_candidate`` is added, replacing ``backtracking``.
  The hook is called every time the resolver rejects a conflicting candidate before
  trying out the next one in line.

Bug Fixes
---------
- Some valid states that were previously rejected are now accepted. This affects
  states where multiple candidates for the same dependency conflict with each
  other. The ``information`` argument passed to
  ``AbstractProvider.get_preference`` may now contain empty iterators. This has
  always been allowed by the method definition but it was previously not possible
  in practice.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-11-16 17:00:55 by Thomas Klausner | Files touched by this commit (4)
Log message:
devel/py-resolvelib: import py-resolvelib-0.8.1

ResolveLib at the highest level provides a ``Resolver`` class that
includes dependency resolution logic. You give it some things, and
a little information on how it should interact with them, and it
will spit out a resolution result.