Sun Mar 3 11:50:02 2024 UTC (84d)
py-poetry: update to 1.8.2.

1.8.2 - 2024-03-02

Fixed

    Harden lazy-wheel error handling if the index server is behaving badly in an unexpected way (#9051).
    Improve lazy-wheel error handling if the index server does not handle HTTP range requests correctly (#9082).
    Improve lazy-wheel error handling if the index server pretends to support HTTP range requests but does not respect them (#9084).
    Improve lazy-wheel to allow redirects for HEAD requests (#9087).
    Improve debug logging for lazy-wheel errors (#9059).
    Fix an issue where the hash of a metadata file could not be calculated correctly due to an encoding issue (#9048).
    Fix an issue where poetry add failed in non-package mode if no project name was set (#9046).
    Fix an issue where a hint to non-package mode was not compliant with the final name of the setting (#9073).

1.8.1 - 2024-02-26

Fixed

    Update the minimum required version of packaging (#9031).
    Handle unexpected responses from servers that do not support HTTP range requests with negative offsets more robust (#9030).

Docs

    Rename master branch to main (#9022).

1.8.0 - 2024-02-25

Added

    Add a non-package mode for use cases where Poetry is only used for dependency management (#8650).
    Add support for PEP 658 to fetch metadata without having to download wheels (#5509).
    Add a lazy-wheel config option (default: true) to reduce wheel downloads during dependency resolution (#8815, #8941).
    Improve performance of dependency resolution by using shallow copies instead of deep copies (#8671).
    poetry check validates that no unknown sources are referenced in dependencies (#8709).
    Add archive validation during installation for further hash algorithms (#8851).
    Add a to key in tool.poetry.packages to allow custom subpackage names (#8791).
    Add a config option to disable keyring (#8910).
    Add a --sync option to poetry update (#8931).
    Add an --output option to poetry build (#8828).
    Add a --dist-dir option to poetry publish (#8828).

Changed

    The implicit PyPI source is disabled if at least one primary source is configured (#8771).
    Deprecate source priority default (#8771).
    Upgrade the warning about an inconsistent lockfile to an error (#8737).
    Deprecate setting installer.modern-installation to false (#8988).
    Drop support for pip<19 (#8894).
    Require requests-toolbelt>=1 (#8680).
    Allow platformdirs 4.x (#8668).
    Allow and require xattr 1.x on macOS (#8801).
    Improve venv shell activation in fish (#8804).
    Rename system to base in output of poetry env info (#8832).
    Use pretty name in output of poetry version (#8849).
    Improve error handling for invalid entries in tool.poetry.scripts (#8898).
    Improve verbose output for dependencies with extras during dependency resolution (#8834).
    Improve message about an outdated lockfile (#8962).

Fixed

    Fix an issue where poetry shell failed when Python has been installed with MSYS2 (#8644).
    Fix an issue where Poetry commands failed in a terminal with a non-UTF-8 encoding (#8608).
    Fix an issue where a missing project name caused an incomprehensible error message (#8691).
    Fix an issue where Poetry failed to install an sdist path dependency (#8682).
    Fix an issue where poetry install failed because an unused extra was not available (#8548).
    Fix an issue where poetry install --sync did not remove an unrequested extra (#8621).
    Fix an issue where poetry init did not allow specific characters in the author field (#8779).
    Fix an issue where Poetry could not download sdists from misconfigured servers (#8701).
    Fix an issue where metadata of sdists that call CLI tools of their build requirements could not be determined (#8827).
    Fix an issue where Poetry failed to use the currently activated environment (#8831).
    Fix an issue where poetry shell failed in zsh if a space was in the venv path (#7245).
    Fix an issue where scripts with extras could not be installed (#8900).
    Fix an issue where explicit sources where not propagated correctly (#8835).
    Fix an issue where debug prints where swallowed when using a build script (#8760).
    Fix an issue where explicit sources of locked dependencies where not propagated correctly (#8948).
    Fix an issue where Poetry窶冱 own environment was falsely identified as system environment (#8970).
    Fix an issue where dependencies from a setup.py were ignored silently (#9000).
    Fix an issue where environment variables for virtualenv.options were ignored (#9015).
    Fix an issue where virtualenvs.options.no-pip and virtualenvs.options.no-setuptools were not normalized (#9015).

Docs

    Replace deprecated --no-dev with --without dev in the FAQ (#8659).
    Recommend poetry-check instead of the deprecated poetry-lock pre-commit hook (#8675).
    Clarify the names of the environment variables to provide credentials for repositories (#8782).
    Add note how to install several version of Poetry in parallel (#8814).
    Improve description of poetry show --why (#8817).
    Improve documentation of poetry update (#8706).
    Add a warning about passing variables that may start with a hyphen via command line (#8850).
    Mention that the virtual environment in which Poetry itself is installed should not be activated (#8833).
    Add note about poetry run and externally managed environments (#8748).
    Update FAQ entry about tox for tox 4.x (#8658).
    Fix documentation for default format option for include and exclude value (#8852).
    Add note about tox and configured credentials (#8888).
    Add note and link how to install pipx (#8878).
    Fix examples for poetry add with git dependencies over ssh (#8911).
    Remove reference to deprecated scripts extras feature (#8903).
    Change examples to prefer --only main instead of --without dev (#8921).
    Mention that the develop attribute is a Poetry-specific feature and not propagated to other tools (#8971).
    Fix examples for adding supplemental and secondary sources (#8953).
    Add PyTorch example for explicit sources (#9006).


(wiz)
diff -r1.16 -r1.17 pkgsrc/devel/py-poetry/Makefile
diff -r1.6 -r1.7 pkgsrc/devel/py-poetry/PLIST
diff -r1.10 -r1.11 pkgsrc/devel/py-poetry/distinfo

cvs diff -r1.16 -r1.17 pkgsrc/devel/py-poetry/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-poetry/Makefile 2023/11/17 10:02:56 1.16
+++ pkgsrc/devel/py-poetry/Makefile 2024/03/03 11:50:02 1.17
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.16 2023/11/17 10:02:56 adam Exp $ 1# $NetBSD: Makefile,v 1.17 2024/03/03 11:50:02 wiz Exp $
2 2
3DISTNAME= poetry-1.7.1 3DISTNAME= poetry-1.8.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/poetry/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/poetry/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://python-poetry.org/ 9HOMEPAGE= https://python-poetry.org/
10COMMENT= Python dependency management and packaging made easy 10COMMENT= Python dependency management and packaging made easy
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-build>=1.0.3:../../devel/py-build 13DEPENDS+= ${PYPKGPREFIX}-build>=1.0.3:../../devel/py-build
14DEPENDS+= ${PYPKGPREFIX}-cachecontrol>=0.13.0:../../devel/py-cachecontrol 14DEPENDS+= ${PYPKGPREFIX}-cachecontrol>=0.13.0:../../devel/py-cachecontrol
15DEPENDS+= ${PYPKGPREFIX}-cleo>=2.1.0:../../comms/py-cleo 15DEPENDS+= ${PYPKGPREFIX}-cleo>=2.1.0:../../comms/py-cleo
16DEPENDS+= ${PYPKGPREFIX}-crashtest>=0.4.1:../../misc/py-crashtest 16DEPENDS+= ${PYPKGPREFIX}-crashtest>=0.4.1:../../misc/py-crashtest

cvs diff -r1.6 -r1.7 pkgsrc/devel/py-poetry/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-poetry/PLIST 2023/11/07 09:25:52 1.6
+++ pkgsrc/devel/py-poetry/PLIST 2024/03/03 11:50:02 1.7
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.6 2023/11/07 09:25:52 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.7 2024/03/03 11:50:02 wiz Exp $
2bin/poetry-${PYVERSSUFFIX} 2bin/poetry-${PYVERSSUFFIX}
3${PYSITELIB}/${WHEEL_INFODIR}/LICENSE 3${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
4${PYSITELIB}/${WHEEL_INFODIR}/METADATA 4${PYSITELIB}/${WHEEL_INFODIR}/METADATA
5${PYSITELIB}/${WHEEL_INFODIR}/RECORD 5${PYSITELIB}/${WHEEL_INFODIR}/RECORD
6${PYSITELIB}/${WHEEL_INFODIR}/WHEEL 6${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
7${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt 7${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
8${PYSITELIB}/poetry/__main__.py 8${PYSITELIB}/poetry/__main__.py
9${PYSITELIB}/poetry/__main__.pyc 9${PYSITELIB}/poetry/__main__.pyc
10${PYSITELIB}/poetry/__main__.pyo 10${PYSITELIB}/poetry/__main__.pyo
11${PYSITELIB}/poetry/__version__.py 11${PYSITELIB}/poetry/__version__.py
12${PYSITELIB}/poetry/__version__.pyc 12${PYSITELIB}/poetry/__version__.pyc
13${PYSITELIB}/poetry/__version__.pyo 13${PYSITELIB}/poetry/__version__.pyo
14${PYSITELIB}/poetry/config/__init__.py 14${PYSITELIB}/poetry/config/__init__.py
@@ -220,26 +220,29 @@ ${PYSITELIB}/poetry/console/logging/io_h @@ -220,26 +220,29 @@ ${PYSITELIB}/poetry/console/logging/io_h
220${PYSITELIB}/poetry/console/logging/io_handler.pyo 220${PYSITELIB}/poetry/console/logging/io_handler.pyo
221${PYSITELIB}/poetry/exceptions.py 221${PYSITELIB}/poetry/exceptions.py
222${PYSITELIB}/poetry/exceptions.pyc 222${PYSITELIB}/poetry/exceptions.pyc
223${PYSITELIB}/poetry/exceptions.pyo 223${PYSITELIB}/poetry/exceptions.pyo
224${PYSITELIB}/poetry/factory.py 224${PYSITELIB}/poetry/factory.py
225${PYSITELIB}/poetry/factory.pyc 225${PYSITELIB}/poetry/factory.pyc
226${PYSITELIB}/poetry/factory.pyo 226${PYSITELIB}/poetry/factory.pyo
227${PYSITELIB}/poetry/inspection/__init__.py 227${PYSITELIB}/poetry/inspection/__init__.py
228${PYSITELIB}/poetry/inspection/__init__.pyc 228${PYSITELIB}/poetry/inspection/__init__.pyc
229${PYSITELIB}/poetry/inspection/__init__.pyo 229${PYSITELIB}/poetry/inspection/__init__.pyo
230${PYSITELIB}/poetry/inspection/info.py 230${PYSITELIB}/poetry/inspection/info.py
231${PYSITELIB}/poetry/inspection/info.pyc 231${PYSITELIB}/poetry/inspection/info.pyc
232${PYSITELIB}/poetry/inspection/info.pyo 232${PYSITELIB}/poetry/inspection/info.pyo
 233${PYSITELIB}/poetry/inspection/lazy_wheel.py
 234${PYSITELIB}/poetry/inspection/lazy_wheel.pyc
 235${PYSITELIB}/poetry/inspection/lazy_wheel.pyo
233${PYSITELIB}/poetry/installation/__init__.py 236${PYSITELIB}/poetry/installation/__init__.py
234${PYSITELIB}/poetry/installation/__init__.pyc 237${PYSITELIB}/poetry/installation/__init__.pyc
235${PYSITELIB}/poetry/installation/__init__.pyo 238${PYSITELIB}/poetry/installation/__init__.pyo
236${PYSITELIB}/poetry/installation/chef.py 239${PYSITELIB}/poetry/installation/chef.py
237${PYSITELIB}/poetry/installation/chef.pyc 240${PYSITELIB}/poetry/installation/chef.pyc
238${PYSITELIB}/poetry/installation/chef.pyo 241${PYSITELIB}/poetry/installation/chef.pyo
239${PYSITELIB}/poetry/installation/chooser.py 242${PYSITELIB}/poetry/installation/chooser.py
240${PYSITELIB}/poetry/installation/chooser.pyc 243${PYSITELIB}/poetry/installation/chooser.pyc
241${PYSITELIB}/poetry/installation/chooser.pyo 244${PYSITELIB}/poetry/installation/chooser.pyo
242${PYSITELIB}/poetry/installation/executor.py 245${PYSITELIB}/poetry/installation/executor.py
243${PYSITELIB}/poetry/installation/executor.pyc 246${PYSITELIB}/poetry/installation/executor.pyc
244${PYSITELIB}/poetry/installation/executor.pyo 247${PYSITELIB}/poetry/installation/executor.pyo
245${PYSITELIB}/poetry/installation/installer.py 248${PYSITELIB}/poetry/installation/installer.py

cvs diff -r1.10 -r1.11 pkgsrc/devel/py-poetry/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-poetry/distinfo 2023/11/17 10:02:56 1.10
+++ pkgsrc/devel/py-poetry/distinfo 2024/03/03 11:50:02 1.11
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.10 2023/11/17 10:02:56 adam Exp $ 1$NetBSD: distinfo,v 1.11 2024/03/03 11:50:02 wiz Exp $
2 2
3BLAKE2s (poetry-1.7.1.tar.gz) = 9810b1d8e1481e7f2b71d4fc40ebd4b3833a5ce62865049a2df1e0e78656923f 3BLAKE2s (poetry-1.8.2.tar.gz) = ccaed95ec243e93836b2f57ff79dcd2340768191f381d6f38f3f3f8ded79a9bf
4SHA512 (poetry-1.7.1.tar.gz) = bf3654e9de71da35d7adfc239797dbed9813a2a1bb585b0bd9ad398706ad1628430422d0ebe7d9c3dcc1f619ad1a1a2073e9d9d3296354bf2f14a1aed5a5444e 4SHA512 (poetry-1.8.2.tar.gz) = 0151c264c2f353753ab7c5a248cdd30e60e33505fd915d841e789a37b18cc06f28b4f987144cd3dbf915e23f6947f6b17cb8fa316b34ce866b6b3559e73b8ddc
5Size (poetry-1.7.1.tar.gz) = 1483927 bytes 5Size (poetry-1.8.2.tar.gz) = 1516966 bytes