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:   wiz
Date:           Sun May 21 18:45:07 UTC 2023

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

Log Message:
py-poetry: update to 1.5.0.

1.5.0 - 2023-05-19

Added

    Introduce the new source priorities explicit and supplemental (#7658, #6879).
    Introduce the option to configure the priority of the implicit PyPI source (#7801).
    Add handling for corrupt cache files (#7453).
    Improve caching of URL and git dependencies (#7693, #7473).
    Add option to skip installing directory dependencies (#6845, #7923).
    Add --executable option to poetry env info (#7547).
    Add --top-level option to poetry show (#7415).
    Add --lock option to poetry remove (#7917).
    Add experimental POETRY_REQUESTS_TIMEOUT option (#7081).
    Improve performance of wheel inspection by avoiding unnecessary file copy operations (#7916).

Changed

    Remove the old deprecated installer and the corresponding setting experimental.new-installer (#7356).
    Introduce priority key for sources and deprecate flags default and secondary (#7658).
    Deprecate poetry run <entry point> if the entry point was not previously installed via poetry install (#7606).
    Only write the lock file if the installation succeeds (#7498).
    Do not write the unused package category into the lock file (#7637).

Fixed

    Fix an issue where Poetry’s internal pyproject.toml continually grows larger with empty lines (#7705).
    Fix an issue where Poetry crashes due to corrupt cache files (#7453).
    Fix an issue where the Retry-After in HTTP responses was not respected and retries were handled inconsistently (#7072).
    Fix an issue where Poetry silently ignored invalid groups (#7529).
    Fix an issue where Poetry does not find a compatible Python version if not given explicitly (#7771).
    Fix an issue where the direct_url.json of an editable install from a git dependency was invalid (#7473).
    Fix an issue where error messages from build backends were not decoded correctly (#7781).
    Fix an infinite loop when adding certain dependencies (#7405).
    Fix an issue where pre-commit hooks skip pyproject.toml files in subdirectories (#7239).
    Fix an issue where pre-commit hooks do not use the expected Python version (#6989).
    Fix an issue where an unclear error message is printed if the project name is the same as one of its dependencies (#7757).
    Fix an issue where poetry install returns a zero exit status even though the build script failed (#7812).
    Fix an issue where an existing .venv was not used if in-project was not set (#7792).
    Fix an issue where multiple extras passed to poetry add were not parsed correctly (#7836).
    Fix an issue where poetry shell did not send a newline to fish (#7884).
    Fix an issue where poetry update --lock printed operations that were not executed (#7915).
    Fix an issue where poetry add --lock did perform a full update of all dependencies (#7920).
    Fix an issue where poetry shell did not work with nushell (#7919).
    Fix an issue where subprocess calls failed on Python 3.7 (#7932).
    Fix an issue where keyring was called even though the password was stored in an environment variable (#7928).

Docs

    Add information about what to use instead of --dev (#7647).
    Promote semantic versioning less aggressively (#7517).
    Explain Poetry’s own versioning scheme in the FAQ (#7517).
    Update documentation for configuration with environment variables (#6711).
    Add details how to disable the virtualenv prompt (#7874).
    Improve documentation on whether to commit poetry.lock (#7506).
    Improve documentation of virtualenv.create (#7608).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-poetry/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-poetry/PLIST
cvs rdiff -u -r1.5 -r1.6 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.7 pkgsrc/devel/py-poetry/Makefile:1.8
--- pkgsrc/devel/py-poetry/Makefile:1.7 Mon Apr 17 20:55:52 2023
+++ pkgsrc/devel/py-poetry/Makefile     Sun May 21 18:45:07 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2023/04/17 20:55:52 adam Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/21 18:45:07 wiz Exp $
 
-DISTNAME=      poetry-1.4.2
+DISTNAME=      poetry-1.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/poetry/}
@@ -65,14 +65,15 @@ DEPENDS+=   ${PYPKGPREFIX}-tomli>=2.0.1:..
 .endif
 
 post-install:
-       # conflicts with py-poetry-core
-       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/poetry/__init__.py
-       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/poetry/__pycache__/__init__.*
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} poetry poetry-${PYVERSSUFFIX} || ${TRUE}
 
+# needs 'make install'
+# 6 failed, 1259 passed, 5 skipped, 4 errors
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
+# some tests use 'python'
+.include "../../lang/python/tool.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-poetry/PLIST
diff -u pkgsrc/devel/py-poetry/PLIST:1.2 pkgsrc/devel/py-poetry/PLIST:1.3
--- pkgsrc/devel/py-poetry/PLIST:1.2    Mon Apr 17 20:55:52 2023
+++ pkgsrc/devel/py-poetry/PLIST        Sun May 21 18:45:07 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/04/17 20:55:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/05/21 18:45:07 wiz Exp $
 bin/poetry-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
@@ -118,8 +118,6 @@ ${PYSITELIB}/poetry/console/commands/sou
 ${PYSITELIB}/poetry/console/commands/source/remove.pyc
 ${PYSITELIB}/poetry/console/commands/source/show.py
 ${PYSITELIB}/poetry/console/commands/source/show.pyc
-${PYSITELIB}/poetry/console/commands/source/update.py
-${PYSITELIB}/poetry/console/commands/source/update.pyc
 ${PYSITELIB}/poetry/console/commands/update.py
 ${PYSITELIB}/poetry/console/commands/update.pyc
 ${PYSITELIB}/poetry/console/commands/version.py
@@ -160,8 +158,6 @@ ${PYSITELIB}/poetry/inspection/info.py
 ${PYSITELIB}/poetry/inspection/info.pyc
 ${PYSITELIB}/poetry/installation/__init__.py
 ${PYSITELIB}/poetry/installation/__init__.pyc
-${PYSITELIB}/poetry/installation/base_installer.py
-${PYSITELIB}/poetry/installation/base_installer.pyc
 ${PYSITELIB}/poetry/installation/chef.py
 ${PYSITELIB}/poetry/installation/chef.pyc
 ${PYSITELIB}/poetry/installation/chooser.py
@@ -170,8 +166,6 @@ ${PYSITELIB}/poetry/installation/executo
 ${PYSITELIB}/poetry/installation/executor.pyc
 ${PYSITELIB}/poetry/installation/installer.py
 ${PYSITELIB}/poetry/installation/installer.pyc
-${PYSITELIB}/poetry/installation/noop_installer.py
-${PYSITELIB}/poetry/installation/noop_installer.pyc
 ${PYSITELIB}/poetry/installation/operations/__init__.py
 ${PYSITELIB}/poetry/installation/operations/__init__.pyc
 ${PYSITELIB}/poetry/installation/operations/install.py
@@ -182,8 +176,6 @@ ${PYSITELIB}/poetry/installation/operati
 ${PYSITELIB}/poetry/installation/operations/uninstall.pyc
 ${PYSITELIB}/poetry/installation/operations/update.py
 ${PYSITELIB}/poetry/installation/operations/update.pyc
-${PYSITELIB}/poetry/installation/pip_installer.py
-${PYSITELIB}/poetry/installation/pip_installer.pyc
 ${PYSITELIB}/poetry/installation/wheel_installer.py
 ${PYSITELIB}/poetry/installation/wheel_installer.pyc
 ${PYSITELIB}/poetry/json/__init__.py
@@ -241,6 +233,8 @@ ${PYSITELIB}/poetry/packages/__init__.py
 ${PYSITELIB}/poetry/packages/__init__.pyc
 ${PYSITELIB}/poetry/packages/dependency_package.py
 ${PYSITELIB}/poetry/packages/dependency_package.pyc
+${PYSITELIB}/poetry/packages/direct_origin.py
+${PYSITELIB}/poetry/packages/direct_origin.pyc
 ${PYSITELIB}/poetry/packages/locker.py
 ${PYSITELIB}/poetry/packages/locker.pyc
 ${PYSITELIB}/poetry/packages/package_collection.py
@@ -274,6 +268,10 @@ ${PYSITELIB}/poetry/puzzle/solver.pyc
 ${PYSITELIB}/poetry/puzzle/transaction.py
 ${PYSITELIB}/poetry/puzzle/transaction.pyc
 ${PYSITELIB}/poetry/py.typed
+${PYSITELIB}/poetry/pyproject/__init__.py
+${PYSITELIB}/poetry/pyproject/__init__.pyc
+${PYSITELIB}/poetry/pyproject/toml.py
+${PYSITELIB}/poetry/pyproject/toml.pyc
 ${PYSITELIB}/poetry/repositories/__init__.py
 ${PYSITELIB}/poetry/repositories/__init__.pyc
 ${PYSITELIB}/poetry/repositories/abstract_repository.py
@@ -306,6 +304,12 @@ ${PYSITELIB}/poetry/repositories/reposit
 ${PYSITELIB}/poetry/repositories/repository_pool.pyc
 ${PYSITELIB}/poetry/repositories/single_page_repository.py
 ${PYSITELIB}/poetry/repositories/single_page_repository.pyc
+${PYSITELIB}/poetry/toml/__init__.py
+${PYSITELIB}/poetry/toml/__init__.pyc
+${PYSITELIB}/poetry/toml/exceptions.py
+${PYSITELIB}/poetry/toml/exceptions.pyc
+${PYSITELIB}/poetry/toml/file.py
+${PYSITELIB}/poetry/toml/file.pyc
 ${PYSITELIB}/poetry/utils/__init__.py
 ${PYSITELIB}/poetry/utils/__init__.pyc
 ${PYSITELIB}/poetry/utils/_compat.py
@@ -336,6 +340,8 @@ ${PYSITELIB}/poetry/utils/shell.py
 ${PYSITELIB}/poetry/utils/shell.pyc
 ${PYSITELIB}/poetry/utils/source.py
 ${PYSITELIB}/poetry/utils/source.pyc
+${PYSITELIB}/poetry/utils/wheel.py
+${PYSITELIB}/poetry/utils/wheel.pyc
 ${PYSITELIB}/poetry/vcs/__init__.py
 ${PYSITELIB}/poetry/vcs/__init__.pyc
 ${PYSITELIB}/poetry/vcs/git/__init__.py

Index: pkgsrc/devel/py-poetry/distinfo
diff -u pkgsrc/devel/py-poetry/distinfo:1.5 pkgsrc/devel/py-poetry/distinfo:1.6
--- pkgsrc/devel/py-poetry/distinfo:1.5 Mon Apr 17 20:55:52 2023
+++ pkgsrc/devel/py-poetry/distinfo     Sun May 21 18:45:07 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2023/04/17 20:55:52 adam Exp $
+$NetBSD: distinfo,v 1.6 2023/05/21 18:45:07 wiz Exp $
 
-BLAKE2s (poetry-1.4.2.tar.gz) = 2b3b2582f23a5058450593dd8e98b25bb116192930412202e8bfca3b3ce33b36
-SHA512 (poetry-1.4.2.tar.gz) = 07c7cf0095dba82bd0556ba723d2d7d2dace85dfbcb02f83225aa0ab0de9cecb236ae3bece47b89c244b242161bc4e9534a4fb91016b9e18c4385c497bab714b
-Size (poetry-1.4.2.tar.gz) = 1454500 bytes
+BLAKE2s (poetry-1.5.0.tar.gz) = 11c97984fec5acb4f297b893e7ecec746e9180edc01bd64ef060d7de20ffee4b
+SHA512 (poetry-1.5.0.tar.gz) = 3a49573a05292a578e97e114323859ceb9c159ee8671ab0670ebb298b788cf706b2784438fd94fba13f3c703857b0fb523230c47755e9c192ee2f8bad8190a77
+Size (poetry-1.5.0.tar.gz) = 1467007 bytes



Home | Main Index | Thread Index | Old Index