pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-resolvelib
Module Name: pkgsrc
Committed By: adam
Date: Thu Oct 31 08:39:42 UTC 2024
Modified Files:
pkgsrc/devel/py-resolvelib: Makefile PLIST distinfo
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
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-resolvelib/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-resolvelib/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-resolvelib/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-resolvelib/Makefile
diff -u pkgsrc/devel/py-resolvelib/Makefile:1.4 pkgsrc/devel/py-resolvelib/Makefile:1.5
--- pkgsrc/devel/py-resolvelib/Makefile:1.4 Tue Apr 18 17:23:20 2023
+++ pkgsrc/devel/py-resolvelib/Makefile Thu Oct 31 08:39:42 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2023/04/18 17:23:20 adam Exp $
+# $NetBSD: Makefile,v 1.5 2024/10/31 08:39:42 adam Exp $
-DISTNAME= resolvelib-1.0.1
+DISTNAME= resolvelib-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/resolvelib/}
@@ -10,7 +10,11 @@ HOMEPAGE= https://github.com/sarugaku/re
COMMENT= Resolve abstract dependencies into concrete ones
LICENSE= isc
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=62:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+
USE_LANGUAGES= # none
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-resolvelib/PLIST
diff -u pkgsrc/devel/py-resolvelib/PLIST:1.2 pkgsrc/devel/py-resolvelib/PLIST:1.3
--- pkgsrc/devel/py-resolvelib/PLIST:1.2 Tue Nov 22 13:02:54 2022
+++ pkgsrc/devel/py-resolvelib/PLIST Thu Oct 31 08:39:42 2024
@@ -1,35 +1,34 @@
-@comment $NetBSD: PLIST,v 1.2 2022/11/22 13:02:54 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2024/10/31 08:39:42 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/resolvelib/__init__.py
${PYSITELIB}/resolvelib/__init__.pyc
-${PYSITELIB}/resolvelib/__init__.pyi
${PYSITELIB}/resolvelib/__init__.pyo
-${PYSITELIB}/resolvelib/compat/__init__.py
-${PYSITELIB}/resolvelib/compat/__init__.pyc
-${PYSITELIB}/resolvelib/compat/__init__.pyo
-${PYSITELIB}/resolvelib/compat/collections_abc.py
-${PYSITELIB}/resolvelib/compat/collections_abc.pyc
-${PYSITELIB}/resolvelib/compat/collections_abc.pyi
-${PYSITELIB}/resolvelib/compat/collections_abc.pyo
${PYSITELIB}/resolvelib/providers.py
${PYSITELIB}/resolvelib/providers.pyc
-${PYSITELIB}/resolvelib/providers.pyi
${PYSITELIB}/resolvelib/providers.pyo
${PYSITELIB}/resolvelib/py.typed
${PYSITELIB}/resolvelib/reporters.py
${PYSITELIB}/resolvelib/reporters.pyc
-${PYSITELIB}/resolvelib/reporters.pyi
${PYSITELIB}/resolvelib/reporters.pyo
-${PYSITELIB}/resolvelib/resolvers.py
-${PYSITELIB}/resolvelib/resolvers.pyc
-${PYSITELIB}/resolvelib/resolvers.pyi
-${PYSITELIB}/resolvelib/resolvers.pyo
+${PYSITELIB}/resolvelib/resolvers/__init__.py
+${PYSITELIB}/resolvelib/resolvers/__init__.pyc
+${PYSITELIB}/resolvelib/resolvers/__init__.pyo
+${PYSITELIB}/resolvelib/resolvers/abstract.py
+${PYSITELIB}/resolvelib/resolvers/abstract.pyc
+${PYSITELIB}/resolvelib/resolvers/abstract.pyo
+${PYSITELIB}/resolvelib/resolvers/criterion.py
+${PYSITELIB}/resolvelib/resolvers/criterion.pyc
+${PYSITELIB}/resolvelib/resolvers/criterion.pyo
+${PYSITELIB}/resolvelib/resolvers/exceptions.py
+${PYSITELIB}/resolvelib/resolvers/exceptions.pyc
+${PYSITELIB}/resolvelib/resolvers/exceptions.pyo
+${PYSITELIB}/resolvelib/resolvers/resolution.py
+${PYSITELIB}/resolvelib/resolvers/resolution.pyc
+${PYSITELIB}/resolvelib/resolvers/resolution.pyo
${PYSITELIB}/resolvelib/structs.py
${PYSITELIB}/resolvelib/structs.pyc
-${PYSITELIB}/resolvelib/structs.pyi
${PYSITELIB}/resolvelib/structs.pyo
Index: pkgsrc/devel/py-resolvelib/distinfo
diff -u pkgsrc/devel/py-resolvelib/distinfo:1.3 pkgsrc/devel/py-resolvelib/distinfo:1.4
--- pkgsrc/devel/py-resolvelib/distinfo:1.3 Tue Apr 18 17:23:20 2023
+++ pkgsrc/devel/py-resolvelib/distinfo Thu Oct 31 08:39:42 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2023/04/18 17:23:20 adam Exp $
+$NetBSD: distinfo,v 1.4 2024/10/31 08:39:42 adam Exp $
-BLAKE2s (resolvelib-1.0.1.tar.gz) = a0037ebd14acbd5e7005817aa8e94e65bea50afee6a87b8cdaa5f53acfbb0a6f
-SHA512 (resolvelib-1.0.1.tar.gz) = 52c872fb2a22c47de022a661dc4d8de8c6af450f1cff6f2b99cd91bf7eccae5b6ee223793f50b9679c1c6caedbd8bb63330915ee6f10533b1a0ed239d068b36f
-Size (resolvelib-1.0.1.tar.gz) = 21065 bytes
+BLAKE2s (resolvelib-1.1.0.tar.gz) = 82fce936d92cfc10336df6809138569b0948a8d7f7b7563a12907ee1c038d7ae
+SHA512 (resolvelib-1.1.0.tar.gz) = 55062fcda551654e08cde777f7f38c64f840b75173b01bfd3dfc9fcead1101b3ce540d77111bca9690e136a0fa366b395546025cf1bad52f13bc48a3ea83f1a6
+Size (resolvelib-1.1.0.tar.gz) = 22551 bytes
Home |
Main Index |
Thread Index |
Old Index