pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-poetry



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 26 07:05:18 UTC 2026

Modified Files:
        pkgsrc/devel/py-poetry: Makefile distinfo

Log Message:
py-poetry: updated to 2.4.1

2.4.1

Changed

Re-allow installer==0.7.0

Fixed

Fix an issue where poetry update <package> failed when <package> was a transitive dependency

2.4.0

Added

Add solver.min-release-age setting to require package releases to be a certain number of days old before they are considered during dependency resolution
Add solver.min-release-age-exclude to exclude selected packages from age filtering
Add solver.min-release-age-exclude-source to exclude all packages from selected package indexes from age filtering

Changed

Raise an error instead of silently ignoring a package name that is not a dependency when it is passed to poetry update
Automatically add a trailing slash to legacy repository URLs (used for publishing) if missing
Require installer>=1.0.0
Allow findpython>=0.8

Fixed

Fix an issue where requires-plugins fails on Windows if scheme paths are on different drives
Fix an issue where the order of markers in the lock file was not deterministic
Fix an issue where the wrong command was suggested when poetry self commands failed due to an outdated lock file
Fix an issue where poetry env activate did not work for bash on Windows
Fix an issue where poetry debug resolve failed when there was a package with a marker
Fix an issue where the error message about a build backend failure contained garbled --config-settings
Fix an issue where a false warning about a circular dependency was printed
Fix an issue where falsy config values were incorrectly treated as not set
Fix an issue where poetry publish --build ignored failing builds and uploaded stale artifacts
Fix an issue where poetry publish was aborted instead of retrying after package registration
Fix an issue where zip files were not closed after fetching metadata via lazy-wheel
Fix an issue where data fetched via lazy-wheel was corrupted when part of it had already been cached
Fix an issue where further packages were installed even though installation should be aborted
Fix an issue where installed packages without a METADATA file caused an exception on Python 3.15+
Fix an issue where http-basic could not be set for repository names with periods
Fix an issue where calculating the hash of large wheels failed with a memory error

Docs

Clarify the precedence of configuration sources
Add a note about the influence of .gitignore on tool.poetry.packages


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/py-poetry/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-poetry/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-poetry/Makefile
diff -u pkgsrc/devel/py-poetry/Makefile:1.33 pkgsrc/devel/py-poetry/Makefile:1.34
--- pkgsrc/devel/py-poetry/Makefile:1.33        Tue Apr 14 13:30:31 2026
+++ pkgsrc/devel/py-poetry/Makefile     Tue May 26 07:05:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2026/04/14 13:30:31 adam Exp $
+# $NetBSD: Makefile,v 1.34 2026/05/26 07:05:18 adam Exp $
 
-DISTNAME=      poetry-2.3.4
+DISTNAME=      poetry-2.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/poetry/}
@@ -22,7 +22,7 @@ DEPENDS+=     ${PYPKGPREFIX}-packaging>=24.2
 DEPENDS+=      ${PYPKGPREFIX}-pbs-installer>=2025.6.10:../../misc/py-pbs-installer
 DEPENDS+=      ${PYPKGPREFIX}-pkginfo>=1.12:../../devel/py-pkginfo
 DEPENDS+=      ${PYPKGPREFIX}-platformdirs>=3.0.0:../../misc/py-platformdirs
-DEPENDS+=      ${PYPKGPREFIX}-poetry-core>=2.3.2:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-poetry-core>=2.4.0:../../devel/py-poetry-core
 DEPENDS+=      ${PYPKGPREFIX}-pyproject_hooks>=1.0.0:../../devel/py-pyproject_hooks
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.26:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-requests-toolbelt>=1.0.0:../../devel/py-requests-toolbelt
@@ -41,6 +41,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-xdist
 # for tests
 USE_LANGUAGES= c
 
+PY_RENAME_BINARIES=    poetry
+
 PYTHON_VERSIONS_INCOMPATIBLE=  310
 
 .include "../../mk/bsd.prefs.mk"
@@ -48,10 +50,6 @@ PYTHON_VERSIONS_INCOMPATIBLE=        310
 DEPENDS+=      ${PYPKGPREFIX}-xattr>=1.0.0:../../sysutils/py-xattr
 .endif
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} poetry poetry-${PYVERSSUFFIX} || ${TRUE}
-
 # some tests use 'python'
 .include "../../lang/python/tool.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/devel/py-poetry/distinfo
diff -u pkgsrc/devel/py-poetry/distinfo:1.23 pkgsrc/devel/py-poetry/distinfo:1.24
--- pkgsrc/devel/py-poetry/distinfo:1.23        Tue Apr 14 13:30:32 2026
+++ pkgsrc/devel/py-poetry/distinfo     Tue May 26 07:05:18 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2026/04/14 13:30:32 adam Exp $
+$NetBSD: distinfo,v 1.24 2026/05/26 07:05:18 adam Exp $
 
-BLAKE2s (poetry-2.3.4.tar.gz) = b0cfc1568d146e8e3445926357af3327c40b115a02f9509fb5a7e6edb839c3cd
-SHA512 (poetry-2.3.4.tar.gz) = 331e8225568e7080d22a4fe85520dedcf73db09aa7638d55e3af52df1104d1f8ea158b76197799ecbc792c4657bd88c87bcb759ab8225cb34aa467178371d503
-Size (poetry-2.3.4.tar.gz) = 3467967 bytes
+BLAKE2s (poetry-2.4.1.tar.gz) = 6075fc48e550abcdd1514f87cfa977350da75eb26e74dbdf341895a96bc08c5c
+SHA512 (poetry-2.4.1.tar.gz) = 71f0a959058fe8c1d2495f486c8f7771de0ec7166fc1ed1d6b7a2813e448b5ffb1c7429c5d5d1930fce33caf3f0f2f5c5a0b9fd199a53c7aa1d2ca6e9d25645b
+Size (poetry-2.4.1.tar.gz) = 3282327 bytes



Home | Main Index | Thread Index | Old Index