git: a00baf997cbd - main - devel/py-poetry: Update to 1.5.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 21:38:50 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a00baf997cbd00d9bdeddd0b197bda0c0261d814 commit a00baf997cbd00d9bdeddd0b197bda0c0261d814 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-07-09 21:24:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-07-09 21:34:35 +0000 devel/py-poetry: Update to 1.5.1 Changes: https://github.com/python-poetry/poetry/releases --- devel/py-poetry/Makefile | 7 +++---- devel/py-poetry/distinfo | 6 +++--- devel/py-poetry/files/patch-cachecontrol | 19 +++++++++---------- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile index 622aef788774..22cb9037619f 100644 --- a/devel/py-poetry/Makefile +++ b/devel/py-poetry/Makefile @@ -1,6 +1,5 @@ PORTNAME= poetry -PORTVERSION= 1.5.0 -PORTREVISION= 1 +PORTVERSION= 1.5.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,8 +26,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=0.10.0<0.11:devel/py-build@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}pexpect>=4.7.0<5:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pkginfo>=1.9.4<2:sysutils/py-pkginfo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=3.0.0<4:devel/py-platformdirs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6.0<1.6.0_99:devel/py-poetry-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}poetry-plugin-export>=1.3.1<2:devel/py-poetry-plugin-export@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6.1<1.6.1_99:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}poetry-plugin-export>=1.4.0<2:devel/py-poetry-plugin-export@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproject_hooks>=1.0.0<2:devel/py-pyproject_hooks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.18<3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1<2:www/py-requests-toolbelt@${PY_FLAVOR} \ diff --git a/devel/py-poetry/distinfo b/devel/py-poetry/distinfo index e5a9c836d6ec..2e3aba834bf9 100644 --- a/devel/py-poetry/distinfo +++ b/devel/py-poetry/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685792278 -SHA256 (poetry-1.5.0.tar.gz) = 4fc7d37cf400739dcfcbb666db97fd74c46eaae119dd6ed9c8d5dd7e32c6f06a -SIZE (poetry-1.5.0.tar.gz) = 1467007 +TIMESTAMP = 1688902137 +SHA256 (poetry-1.5.1.tar.gz) = cc7ea4524d1a11558006224bfe8ba8ed071417d4eb5ef6c89decc6a37d437eeb +SIZE (poetry-1.5.1.tar.gz) = 1469755 diff --git a/devel/py-poetry/files/patch-cachecontrol b/devel/py-poetry/files/patch-cachecontrol index 79e6cac6a490..d8d20e9e4a83 100644 --- a/devel/py-poetry/files/patch-cachecontrol +++ b/devel/py-poetry/files/patch-cachecontrol @@ -1,9 +1,9 @@ Obtained from: https://github.com/python-poetry/poetry/commit/fca3d5d04fb01bbb3c77e810094a99732b7d024c ---- pyproject.toml.orig 2023-05-19 12:27:02 UTC +--- pyproject.toml.orig 2023-05-29 16:05:02 UTC +++ pyproject.toml -@@ -36,17 +36,15 @@ poetry-core = "1.6.0" - poetry-plugin-export = "^1.3.1" +@@ -36,17 +36,15 @@ poetry-core = "1.6.1" + poetry-plugin-export = "^1.4.0" "backports.cached-property" = { version = "^1.0.2", python = "<3.8" } build = "^0.10.0" -cachecontrol = { version = "^0.12.9", extras = ["filecache"] } @@ -48,7 +48,7 @@ Obtained from: https://github.com/python-poetry/poetry/commit/fca3d5d04fb01bbb3c ] ignore_missing_imports = true ---- src/poetry/publishing/uploader.py.orig 2023-05-19 12:27:02 UTC +--- src/poetry/publishing/uploader.py.orig 2023-05-29 16:05:02 UTC +++ src/poetry/publishing/uploader.py @@ -11,17 +11,14 @@ import requests @@ -97,9 +97,9 @@ Obtained from: https://github.com/python-poetry/poetry/commit/fca3d5d04fb01bbb3c return session def get_auth(self) -> tuple[str, str] | None: ---- src/poetry/utils/authenticator.py.orig 2023-05-19 12:27:02 UTC +--- src/poetry/utils/authenticator.py.orig 2023-05-29 16:05:02 UTC +++ src/poetry/utils/authenticator.py -@@ -12,7 +12,6 @@ from pathlib import Path +@@ -12,14 +12,12 @@ from pathlib import Path from typing import TYPE_CHECKING from typing import Any @@ -107,15 +107,14 @@ Obtained from: https://github.com/python-poetry/poetry/commit/fca3d5d04fb01bbb3c import requests import requests.auth import requests.exceptions -@@ -20,7 +19,6 @@ import requests.exceptions + from cachecontrol import CacheControlAdapter from cachecontrol.caches import FileCache - from cachecontrol.caches.file_cache import url_to_file_path -from filelock import FileLock from poetry.config.config import Config from poetry.exceptions import PoetryException -@@ -38,26 +36,6 @@ if TYPE_CHECKING: +@@ -37,26 +35,6 @@ if TYPE_CHECKING: logger = logging.getLogger(__name__) @@ -142,7 +141,7 @@ Obtained from: https://github.com/python-poetry/poetry/commit/fca3d5d04fb01bbb3c @dataclasses.dataclass(frozen=True) class RepositoryCertificateConfig: cert: Path | None = dataclasses.field(default=None) -@@ -149,7 +127,6 @@ class Authenticator: +@@ -148,7 +126,6 @@ class Authenticator: / (cache_id or "_default_cache") / "_http" ),