Path to this page:
Subject: CVS commit: pkgsrc/devel/py-resolvelib
From: Adam Ciarcinski
Date: 2024-10-31 09:39:42
Message id: 20241031083943.0D451FC7E@cvs.NetBSD.org
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
Files: