pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-poetry-core
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jan 7 12:36:50 UTC 2025
Modified Files:
pkgsrc/devel/py-poetry-core: Makefile PLIST distinfo
Log Message:
py-poetry-core: update to 2.0.0.
Added
Add support for the project section in the pyproject.toml file according to PEP 621 (#9135, #9917).
Add support for defining Poetry plugins that are required by the project and automatically installed if not present (#9547).
Lock resulting markers and groups and add a installer.re-resolve option (default: true) to allow installation without re-resolving (#9427).
Add a --local-version option to poetry build (#9064).
Add a --clean option to poetry build (#9067).
Add FIPS support for poetry publish (#9101).
Add the option to use poetry new interactively and configure more fields (#9101).
Add a config option installer.only-binary to enforce the use of binary distribution formats (#9150).
Add support for poetry search in legacy sources (#9132).
Add support to resume downloads from connection resets (#9422).
Add the option to define a constraint for the required Poetry version to manage the project (#9547).
Add an --all-groups option to poetry install (#9744).
Add an poetry env activate command as replacement of poetry shell (#9763).
Add a --markers option to poetry add to add a dependency with markers (#9814).
Add a --migrate option to poetry config to migrate outdated configs (#9830).
Add a --project option to search the pyproject.toml file in another directory without switching the directory (#9831).
Add support for shortened hashes to define git dependencies (#9748).
Add partial support for conflicting extras (#9553).
Add a poetry sync command as replacement of poetry install --sync (#9801).
Changed
Change the default behavior of poetry lock to --no-update and introduce a --regenerate option for the old default behavior (#9327).
Remove the dependency on poetry-plugin-export so that poetry export is not included per default (#5980).
Outsource poetry shell into poetry-plugin-shell (#9763).
Change the interface of poetry add --optional to require an extra the optional dependency is added to (#9135).
Actually switch the directory when using --directory/-C (#9831).
Drop support for Python 3.8 (#9692).
Rename experimental.system-git-client to experimental.system-git (#9787, #9795).
Replace virtualenvs.prefer-active-python by the inverse setting virtualenvs.use-poetry-python and prefer the active Python by default (#9786).
Deprecate several fields in the tool.poetry section in favor of the respective fields in the project section in the pyproject.toml file (#9135).
Deprecate poetry install --sync in favor of poetry sync (#9801).
Upgrade the warning if the current project cannot be installed to an error (#9333).
Remove special handling for platformdirs 2.0 macOS config directory (#8916).
Tweak PEP 517 builds (#9094).
Use Poetry instead of pip to manage dependencies in isolated build environments (#9168, #9227).
Trust empty Requires-Dist with modern metadata (#9078).
Do PEP 517 builds instead of parsing setup.py to determine dependencies (#9099).
Drop support for reading lock files prior version 1.0 (created with Poetry prior 1.1) (#9345).
Default to >= instead of ^ for the Python requirement when initializing a new project (#9558).
Limit build-system to the current major version of poetry-core when initializing a new project (#9812).
Remove pip-based installation, i.e. installer.modern-installation = false (#9392).
Remove virtualenvs.options.no-setuptools config option and never include setuptools per default (#9331).
Rename exceptions to have an Error suffix (#9705).
Remove deprecated CLI options and methods and revoke the deprecation of --dev (#9732).
Ignore installed packages during dependency resolution (#9851).
Improve the error message on upload failure (#9701).
Improve the error message if the current project cannot be installed to include another root cause (#9651).
Improve the output of poetry show <package> (#9750).
Improve the error message for build errors (#9870).
Improve the error message when trying to remove a package from a project without any dependencies (#9918).
Drop the direct dependency on crashtest (#9108).
Require keyring>=23.3.1 (#9167).
Require build>=1.2.1 (#9283).
Require dulwich>=0.22.6 (#9748).
Fixed
Fix an issue where git dependencies with extras could only be cloned if a branch was specified explicitly (#7028).
Fix an issue where poetry env remove failed if virtualenvs.in-project was set to true (#9118).
Fix an issue where locking packages with a digit at the end of the name and non-standard sdist names failed (#9189).
Fix an issue where credentials where not passed when trying to download an URL dependency (#9202).
Fix an issue where using uncommon group names with poetry add resulted in a broken pyproject.toml (#9277).
Fix an issue where an inconsistent entry regarding the patch version of Python was kept in envs.toml (#9286).
Fix an issue where relative paths were not resolved properly when using poetry build --directory (#9433).
Fix an issue where unrequested extras were not uninstalled when running poetry install without an existing lock file (#9345).
Fix an issue where the poetry-check pre-commit hook did not trigger if only poetry.lock has changed (#9504).
Fix an issue where files (rather than directories) could not be added as single page source (#9166).
Fix an issue where invalid constraints were generated when adding a package with a local version specifier (#9603).
Fix several encoding warnings (#8893).
Fix an issue where virtualenvs.prefer-active-python was not respected (#9278).
Fix an issue where the line endings of the lock file were changed (#9468).
Fix an issue where installing multiple dependencies from the same git repository failed sporadically due to a race condition (#9658).
Fix an issue where installing multiple dependencies from forked monorepos failed sporadically due to a race condition (#9723).
Fix an issue where an extra package was not installed if it is required by multiple extras (#9700).
Fix an issue where a direct_url.json with vcs URLs not compliant with PEP 610 was written (#9007).
Fix an issue where other files than wheels were recognized as wheels (#9770).
Fix an issue where installer.max-workers was ignored for the implicit PyPI source (#9815).
Fix an issue where local settings (from poetry.toml) were ignored for the implicit PyPI source (#9816).
Fix an issue where different dulwich versions resulted in different hashes for a git dependency from a tag (#9849).
Fix an issue where installing a yanked package with no dependencies failed with an IndexError (#9505).
Fix an issue where a package could not be added from a source that required an empty password (#9850).
Fix an issue where setting allow-prereleases = false still allowed pre-releases if no other solution was found (#9798).
Fix an issue where the wrong environment was used for checking if an installed package is from system site packages (#9861).
Fix an issue where build errors from builds to retrieve metadata information were hidden (#9870).
Fix an issue where poetry check falsely reported that an invalid source "pypi" is referenced in dependencies (#9475).
Fix an issue where poetry install --sync tried to uninstall system site packages if the virtual environment was created with virtualenvs.options.system-site-packages = true (#9863).
Fix an issue where HTTP streaming requests were not closed properly when not completely consumed (#9899).
Docs
Add information about getting test coverage in the contribution guide (#9726).
Mention pre-commit-autoupdate as an alternative to pre-commit autoupdate (#9716).
Improve the explanation of exclude and include (#9734).
Add information about compatible release requirements, i.e. ~= (#9783).
Add documentation for using a build script to build extension modules (#9864).
poetry-core (2.0.0)
Add support for non PEP440 compliant version in the platform_release marker (#722).
Add support for string comparisons with in / not in in generic constraints (#722).
Add support for script files that are generated by a build script (#710).
Add support for SOURCE_DATE_EPOCH when building packages (#766, #781).
Create METADATA files with version 2.3 instead of 2.2 (#707).
Remove support for x in version constraints (#770).
Remove support for scripts with extras (#708).
Remove deprecated features and interfaces (#702, #769).
Deprecate tool.poetry.dev-dependencies in favor of tool.poetry.group.dev.dependencies (#754).
Fix an issue where the platlib directory of the wrong Python was used (#726).
Fix an issue where building a wheel in a nested output directory results in an error (#762).
Fix an issue where + was not allowed in git URL paths (#765).
Fix an issue where the temporary directory was not cleaned up on error (#775).
Fix an issue where the regular expression for author names was too restrictive (#517).
Fix an issue where basic auth http(s) credentials could not be parsed (#791).
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-poetry-core/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-poetry-core/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-poetry-core/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-core/Makefile
diff -u pkgsrc/devel/py-poetry-core/Makefile:1.12 pkgsrc/devel/py-poetry-core/Makefile:1.13
--- pkgsrc/devel/py-poetry-core/Makefile:1.12 Mon Oct 14 05:21:40 2024
+++ pkgsrc/devel/py-poetry-core/Makefile Tue Jan 7 12:36:50 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2024/10/14 05:21:40 adam Exp $
+# $NetBSD: Makefile,v 1.13 2025/01/07 12:36:50 wiz Exp $
-DISTNAME= poetry_core-1.9.1
+DISTNAME= poetry_core-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/poetry-core/}
@@ -21,5 +21,8 @@ TEST_DEPENDS+= git-base-[0-9]*:../../dev
# for tests only
USE_LANGUAGES= c
+# as of 2.0.0
+# 4 failed, 2271 passed, 5 skipped, 9 deselected
+
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-poetry-core/PLIST
diff -u pkgsrc/devel/py-poetry-core/PLIST:1.6 pkgsrc/devel/py-poetry-core/PLIST:1.7
--- pkgsrc/devel/py-poetry-core/PLIST:1.6 Tue Nov 7 09:22:40 2023
+++ pkgsrc/devel/py-poetry-core/PLIST Tue Jan 7 12:36:50 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2023/11/07 09:22:40 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/01/07 12:36:50 wiz Exp $
${PYSITELIB}/poetry/core/__init__.py
${PYSITELIB}/poetry/core/__init__.pyc
${PYSITELIB}/poetry/core/__init__.pyo
@@ -168,6 +168,12 @@ ${PYSITELIB}/poetry/core/_vendor/packagi
${PYSITELIB}/poetry/core/_vendor/packaging/_tokenizer.py
${PYSITELIB}/poetry/core/_vendor/packaging/_tokenizer.pyc
${PYSITELIB}/poetry/core/_vendor/packaging/_tokenizer.pyo
+${PYSITELIB}/poetry/core/_vendor/packaging/licenses/__init__.py
+${PYSITELIB}/poetry/core/_vendor/packaging/licenses/__init__.pyc
+${PYSITELIB}/poetry/core/_vendor/packaging/licenses/__init__.pyo
+${PYSITELIB}/poetry/core/_vendor/packaging/licenses/_spdx.py
+${PYSITELIB}/poetry/core/_vendor/packaging/licenses/_spdx.pyc
+${PYSITELIB}/poetry/core/_vendor/packaging/licenses/_spdx.pyo
${PYSITELIB}/poetry/core/_vendor/packaging/markers.py
${PYSITELIB}/poetry/core/_vendor/packaging/markers.pyc
${PYSITELIB}/poetry/core/_vendor/packaging/markers.pyo
@@ -278,15 +284,13 @@ ${PYSITELIB}/poetry/core/json/__init__.p
${PYSITELIB}/poetry/core/json/__init__.pyc
${PYSITELIB}/poetry/core/json/__init__.pyo
${PYSITELIB}/poetry/core/json/schemas/poetry-schema.json
+${PYSITELIB}/poetry/core/json/schemas/project-schema.json
${PYSITELIB}/poetry/core/masonry/__init__.py
${PYSITELIB}/poetry/core/masonry/__init__.pyc
${PYSITELIB}/poetry/core/masonry/__init__.pyo
${PYSITELIB}/poetry/core/masonry/api.py
${PYSITELIB}/poetry/core/masonry/api.pyc
${PYSITELIB}/poetry/core/masonry/api.pyo
-${PYSITELIB}/poetry/core/masonry/builder.py
-${PYSITELIB}/poetry/core/masonry/builder.pyc
-${PYSITELIB}/poetry/core/masonry/builder.pyo
${PYSITELIB}/poetry/core/masonry/builders/__init__.py
${PYSITELIB}/poetry/core/masonry/builders/__init__.pyc
${PYSITELIB}/poetry/core/masonry/builders/__init__.pyo
Index: pkgsrc/devel/py-poetry-core/distinfo
diff -u pkgsrc/devel/py-poetry-core/distinfo:1.9 pkgsrc/devel/py-poetry-core/distinfo:1.10
--- pkgsrc/devel/py-poetry-core/distinfo:1.9 Mon Oct 14 05:21:40 2024
+++ pkgsrc/devel/py-poetry-core/distinfo Tue Jan 7 12:36:50 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2024/10/14 05:21:40 adam Exp $
+$NetBSD: distinfo,v 1.10 2025/01/07 12:36:50 wiz Exp $
-BLAKE2s (poetry_core-1.9.1.tar.gz) = a2e72704bfe8b5e7485252267be5f814307e0b2cf0fcadc92fab6c1482979f32
-SHA512 (poetry_core-1.9.1.tar.gz) = 6c421c9be397b89d2fd97d15ff5c65290462d82f962eb4bdabaeea2250acc46ce24236448bec686587eaffa0939fd60930a68ce42cf8ec2973b6b5afa0306c94
-Size (poetry_core-1.9.1.tar.gz) = 337193 bytes
+BLAKE2s (poetry_core-2.0.0.tar.gz) = 48a819666f83e6d6f3ea3b4018abcdb34f39503101eb5c5f80f3b3572004419d
+SHA512 (poetry_core-2.0.0.tar.gz) = cfac336f15af3cad8fae78e55e354ab86a2157d603bb4f656c625749c44d68419544fe769da422571b58eab22876d1ef3672df1f7f4ee08c132e2928ec99225c
+Size (poetry_core-2.0.0.tar.gz) = 353980 bytes
Home |
Main Index |
Thread Index |
Old Index