head	1.9;
access;
symbols
	pkgsrc-2026Q2:1.9.0.6
	pkgsrc-2026Q2-base:1.9
	pkgsrc-2026Q1:1.9.0.4
	pkgsrc-2026Q1-base:1.9
	pkgsrc-2025Q4:1.9.0.2
	pkgsrc-2025Q4-base:1.9
	pkgsrc-2025Q3:1.8.0.2
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.7.0.2
	pkgsrc-2025Q2-base:1.7
	pkgsrc-2025Q1:1.6.0.4
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.6.0.2
	pkgsrc-2024Q4-base:1.6
	pkgsrc-2024Q3:1.4.0.12
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.10
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.8
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.4.0.6
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q3:1.4.0.4
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.4.0.2
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.3.0.4
	pkgsrc-2023Q1-base:1.3
	pkgsrc-2022Q4:1.3.0.2
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.2.0.6
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.2.0.4
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.2
	pkgsrc-2022Q1-base:1.2
	pkgsrc-2021Q4:1.1.0.2
	pkgsrc-2021Q4-base:1.1;
locks; strict;
comment	@# @;


1.9
date	2025.10.20.14.21.48;	author adam;	state Exp;
branches;
next	1.8;
commitid	cSKrOosYXEd8EjfG;

1.8
date	2025.07.24.13.18.59;	author adam;	state Exp;
branches;
next	1.7;
commitid	Du5q1jCIt293804G;

1.7
date	2025.04.12.20.13.33;	author adam;	state Exp;
branches;
next	1.6;
commitid	7MxlUMEdszFFJNQF;

1.6
date	2024.11.11.07.28.22;	author wiz;	state Exp;
branches;
next	1.5;
commitid	1fBDq3LwS98NncxF;

1.5
date	2024.10.31.08.39.42;	author adam;	state Exp;
branches;
next	1.4;
commitid	u8Us9Q9vXXB58NvF;

1.4
date	2023.04.18.17.23.20;	author adam;	state Exp;
branches;
next	1.3;
commitid	zQNVmMQ5MXD06ClE;

1.3
date	2022.11.22.13.02.54;	author adam;	state Exp;
branches;
next	1.2;
commitid	UcMpMaNHPj6znH2E;

1.2
date	2022.01.04.20.53.36;	author wiz;	state Exp;
branches;
next	1.1;
commitid	CYyhdK9qtoffkmnD;

1.1
date	2021.11.16.16.00.55;	author wiz;	state Exp;
branches;
next	;
commitid	nnNyAVo9rwcbi2hD;


desc
@@


1.9
log
@py-resolvelib: updated to 1.2.1

1.2.1 (2025-10-11)

Bug Fixes

- Add extra guard to prevent the states from being exhausted during backjumping.
- Change ``Mapping`` to ``dict`` in resolution ``Result`` type annotations.
@
text
@# $NetBSD: Makefile,v 1.8 2025/07/24 13:18:59 adam Exp $

DISTNAME=	resolvelib-1.2.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=r/resolvelib/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/sarugaku/resolvelib
COMMENT=	Resolve abstract dependencies into concrete ones
LICENSE=	isc

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TEST_DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging

USE_LANGUAGES=	# none

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@py-resolvelib: updated to 1.2.0

1.2.0 (2025-06-26)

Significant Changes

- Drop support for EOL Python versions 3.7 and 3.8.

Features

- Perform optimistic backjumping until reaching a cutoff and then
  fallback to regular backjumping.

Bug Fixes

- Include tests in sdist.
- Drop `wheel` from direct build dependencies.
- Display PyPI URL on GH UI when releasing from GHA.
- Configure `setuptools` to produce `py3`-tagged wheels.
- Fix PyPI project page link on README.rst.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2025/04/12 20:13:33 adam Exp $
d3 1
a3 1
DISTNAME=	resolvelib-1.2.0
@


1.7
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/11/11 07:28:22 wiz Exp $
d3 1
a3 1
DISTNAME=	resolvelib-1.1.0
a4 1
PKGREVISION=	1
@


1.6
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/10/31 08:39:42 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=62:../../devel/py-setuptools
@


1.5
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/04/18 17:23:20 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.4
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/11/22 13:02:54 adam Exp $
d3 1
a3 1
DISTNAME=	resolvelib-1.0.1
d13 4
d19 1
a19 1
.include "../../lang/python/egg.mk"
@


1.3
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:36 wiz Exp $
d3 1
a3 1
DISTNAME=	resolvelib-0.9.0
@


1.2
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/11/16 16:00:55 wiz Exp $
d3 1
a3 1
DISTNAME=	resolvelib-0.8.1
a4 1
PKGREVISION=	1
a14 3
post-install:
	${CHMOD} -R go-w ${DESTDIR}${PREFIX}/${PYSITELIB}/resolvelib

@


1.1
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2020/12/18 09:03:43 adam Exp $
d5 1
@

