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:           Mon Feb 17 16:38:04 UTC 2025

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

Log Message:
py-poetry: updated to 2.1.1

2.1.1 - 2025-02-16

Fixed

Fix an issue where poetry env use python does not choose the Python from the PATH

2.1.0 - 2025-02-15

Added

Make build command build-system agnostic
Add a --config-settings option to poetry build
Add support for defining config-settings when building dependencies
Add (experimental) commands to manage Python installations
Use findpython to find the Python interpreters
Add a --no-truncate option to poetry show
Re-add support for passwords with empty usernames
Add better error messages

Changed

poetry new defaults to "src" layout by default
Improve performance of locking dependencies
Deprecate adding sources without specifying --priority

Fixed

Fix an issue where global options were not handled correctly when positioned after command options
Fix an issue where building a dependency from source failed because of a conflict between build-system dependencies that were not required for the target environment
Fix an issue where poetry init was not able to find a package on PyPI while adding dependencies interactively
Fix an issue where the @latest descriptor was incorrectly passed to the core requirement parser
Fix an issue where Boolean environment variables set to True (in contrast to true) were interpreted as false
Fix an issue where poetry env activate reported a misleading error message
Fix an issue where adding an optional dependency with poetry add --optional would not correctly update the lock file
Fix an issue where pip was not installed/updated before other dependencies resulting in a race condition
Fix an issue where Poetry freezes when multiple threads attempt to unlock the keyring simultaneously
Fix an issue where markers with extras were not locked correctly
Fix an issue where self-referential extras were not resolved correctly
Fix an issue where Poetry could not be run from a zipapp
Fix an issue where installation failed with a permission error when using the system environment as a user without write access to system site packages
Fix an issue where a version of a dependency that is not compatible with the project's python constraint was locked.
Fix an issue where Poetry wrongly reported that the current project's supported Python range is not compatible with some of the required packages Python requirement
Fix an issue where the requested extras of a dependency were ignored if the same dependency (with same extras) was specified in multiple groups

Docs

Sort commands by name in the CLI reference
Add missing documentation for env commands
Clarify that the name and version fields are always required if the project section is specified
Add a note about restarting the shell for tab completion changes to take effect
Fix the example for project.gui-scripts.
Explain how to include files as scripts in the project configuration
Add additional information on specifying required python versions


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-poetry/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-poetry/PLIST
cvs rdiff -u -r1.15 -r1.16 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.22 pkgsrc/devel/py-poetry/Makefile:1.23
--- pkgsrc/devel/py-poetry/Makefile:1.22        Sun Jan 12 07:40:00 2025
+++ pkgsrc/devel/py-poetry/Makefile     Mon Feb 17 16:38:03 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2025/01/12 07:40:00 adam Exp $
+# $NetBSD: Makefile,v 1.23 2025/02/17 16:38:03 adam Exp $
 
-DISTNAME=      poetry-2.0.1
+DISTNAME=      poetry-2.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/poetry/}
@@ -16,12 +16,14 @@ DEPENDS+=   ${PYPKGPREFIX}-cleo>=2.1.0:../
 DEPENDS+=      ${PYPKGPREFIX}-crashtest>=0.4.1:../../misc/py-crashtest
 DEPENDS+=      ${PYPKGPREFIX}-dulwich>=0.22.6:../../devel/py-dulwich
 DEPENDS+=      ${PYPKGPREFIX}-fastjsonschema>=2.18.0:../../textproc/py-fastjsonschema
+DEPENDS+=      ${PYPKGPREFIX}-findpython>=0.6.2:../../lang/py-findpython
 DEPENDS+=      ${PYPKGPREFIX}-installer>=0.7.0:../../misc/py-installer
 DEPENDS+=      ${PYPKGPREFIX}-keyring>=25.1.0:../../security/py-keyring
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=24.0:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-pbs-installer>=2025.1.6:../../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.0.1:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-poetry-core>=2.1.1:../../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

Index: pkgsrc/devel/py-poetry/PLIST
diff -u pkgsrc/devel/py-poetry/PLIST:1.8 pkgsrc/devel/py-poetry/PLIST:1.9
--- pkgsrc/devel/py-poetry/PLIST:1.8    Sun Jan 12 07:40:00 2025
+++ pkgsrc/devel/py-poetry/PLIST        Mon Feb 17 16:38:03 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2025/01/12 07:40:00 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2025/02/17 16:38:03 adam Exp $
 bin/poetry-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -77,6 +77,9 @@ ${PYSITELIB}/poetry/console/commands/deb
 ${PYSITELIB}/poetry/console/commands/debug/resolve.py
 ${PYSITELIB}/poetry/console/commands/debug/resolve.pyc
 ${PYSITELIB}/poetry/console/commands/debug/resolve.pyo
+${PYSITELIB}/poetry/console/commands/debug/tags.py
+${PYSITELIB}/poetry/console/commands/debug/tags.pyc
+${PYSITELIB}/poetry/console/commands/debug/tags.pyo
 ${PYSITELIB}/poetry/console/commands/env/__init__.py
 ${PYSITELIB}/poetry/console/commands/env/__init__.pyc
 ${PYSITELIB}/poetry/console/commands/env/__init__.pyo
@@ -119,6 +122,18 @@ ${PYSITELIB}/poetry/console/commands/new
 ${PYSITELIB}/poetry/console/commands/publish.py
 ${PYSITELIB}/poetry/console/commands/publish.pyc
 ${PYSITELIB}/poetry/console/commands/publish.pyo
+${PYSITELIB}/poetry/console/commands/python/__init__.py
+${PYSITELIB}/poetry/console/commands/python/__init__.pyc
+${PYSITELIB}/poetry/console/commands/python/__init__.pyo
+${PYSITELIB}/poetry/console/commands/python/install.py
+${PYSITELIB}/poetry/console/commands/python/install.pyc
+${PYSITELIB}/poetry/console/commands/python/install.pyo
+${PYSITELIB}/poetry/console/commands/python/list.py
+${PYSITELIB}/poetry/console/commands/python/list.pyc
+${PYSITELIB}/poetry/console/commands/python/list.pyo
+${PYSITELIB}/poetry/console/commands/python/remove.py
+${PYSITELIB}/poetry/console/commands/python/remove.pyc
+${PYSITELIB}/poetry/console/commands/python/remove.pyo
 ${PYSITELIB}/poetry/console/commands/remove.py
 ${PYSITELIB}/poetry/console/commands/remove.pyc
 ${PYSITELIB}/poetry/console/commands/remove.pyo
@@ -191,15 +206,6 @@ ${PYSITELIB}/poetry/console/events/conso
 ${PYSITELIB}/poetry/console/exceptions.py
 ${PYSITELIB}/poetry/console/exceptions.pyc
 ${PYSITELIB}/poetry/console/exceptions.pyo
-${PYSITELIB}/poetry/console/io/__init__.py
-${PYSITELIB}/poetry/console/io/__init__.pyc
-${PYSITELIB}/poetry/console/io/__init__.pyo
-${PYSITELIB}/poetry/console/io/inputs/__init__.py
-${PYSITELIB}/poetry/console/io/inputs/__init__.pyc
-${PYSITELIB}/poetry/console/io/inputs/__init__.pyo
-${PYSITELIB}/poetry/console/io/inputs/run_argv_input.py
-${PYSITELIB}/poetry/console/io/inputs/run_argv_input.pyc
-${PYSITELIB}/poetry/console/io/inputs/run_argv_input.pyo
 ${PYSITELIB}/poetry/console/logging/__init__.py
 ${PYSITELIB}/poetry/console/logging/__init__.pyc
 ${PYSITELIB}/poetry/console/logging/__init__.pyo
@@ -502,9 +508,21 @@ ${PYSITELIB}/poetry/utils/env/mock_env.p
 ${PYSITELIB}/poetry/utils/env/null_env.py
 ${PYSITELIB}/poetry/utils/env/null_env.pyc
 ${PYSITELIB}/poetry/utils/env/null_env.pyo
-${PYSITELIB}/poetry/utils/env/python_manager.py
-${PYSITELIB}/poetry/utils/env/python_manager.pyc
-${PYSITELIB}/poetry/utils/env/python_manager.pyo
+${PYSITELIB}/poetry/utils/env/python/__init__.py
+${PYSITELIB}/poetry/utils/env/python/__init__.pyc
+${PYSITELIB}/poetry/utils/env/python/__init__.pyo
+${PYSITELIB}/poetry/utils/env/python/exceptions.py
+${PYSITELIB}/poetry/utils/env/python/exceptions.pyc
+${PYSITELIB}/poetry/utils/env/python/exceptions.pyo
+${PYSITELIB}/poetry/utils/env/python/installer.py
+${PYSITELIB}/poetry/utils/env/python/installer.pyc
+${PYSITELIB}/poetry/utils/env/python/installer.pyo
+${PYSITELIB}/poetry/utils/env/python/manager.py
+${PYSITELIB}/poetry/utils/env/python/manager.pyc
+${PYSITELIB}/poetry/utils/env/python/manager.pyo
+${PYSITELIB}/poetry/utils/env/python/providers.py
+${PYSITELIB}/poetry/utils/env/python/providers.pyc
+${PYSITELIB}/poetry/utils/env/python/providers.pyo
 ${PYSITELIB}/poetry/utils/env/script_strings.py
 ${PYSITELIB}/poetry/utils/env/script_strings.pyc
 ${PYSITELIB}/poetry/utils/env/script_strings.pyo
@@ -535,6 +553,9 @@ ${PYSITELIB}/poetry/utils/patterns.pyo
 ${PYSITELIB}/poetry/utils/pip.py
 ${PYSITELIB}/poetry/utils/pip.pyc
 ${PYSITELIB}/poetry/utils/pip.pyo
+${PYSITELIB}/poetry/utils/threading.py
+${PYSITELIB}/poetry/utils/threading.pyc
+${PYSITELIB}/poetry/utils/threading.pyo
 ${PYSITELIB}/poetry/utils/wheel.py
 ${PYSITELIB}/poetry/utils/wheel.pyc
 ${PYSITELIB}/poetry/utils/wheel.pyo

Index: pkgsrc/devel/py-poetry/distinfo
diff -u pkgsrc/devel/py-poetry/distinfo:1.15 pkgsrc/devel/py-poetry/distinfo:1.16
--- pkgsrc/devel/py-poetry/distinfo:1.15        Sun Jan 12 07:40:00 2025
+++ pkgsrc/devel/py-poetry/distinfo     Mon Feb 17 16:38:03 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2025/01/12 07:40:00 adam Exp $
+$NetBSD: distinfo,v 1.16 2025/02/17 16:38:03 adam Exp $
 
-BLAKE2s (poetry-2.0.1.tar.gz) = eb62232efc62a82c9b861e36a31707f576c9188705ecadc0a5a5840d54f0bae4
-SHA512 (poetry-2.0.1.tar.gz) = 9a53fe5cbaea7c923e8af6920b545a54402d49937f31c5812dcc8939f8db44ea2557302f54e015fd7f7e96de66d8fc90596cd06a30dc53ef474a8bb54fdc2c97
-Size (poetry-2.0.1.tar.gz) = 2846041 bytes
+BLAKE2s (poetry-2.1.1.tar.gz) = 7663df5b4db7cfe787b1001cba5a89ad6b05d7549f560c81f431c142e50181ed
+SHA512 (poetry-2.1.1.tar.gz) = 3f25f72e64871ee3c894df03d9ebc8d7d6f22f0b3c90c09ba3a25316c632f0ecda833979ccd9f835e851fe404061da2f2354f6197c788348e5b884c2165eb0bb
+Size (poetry-2.1.1.tar.gz) = 3433288 bytes



Home | Main Index | Thread Index | Old Index