From nobody Sun Jul 9 10:35:57 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzNp6126Zz4llFN; Sun, 9 Jul 2023 10:35:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzNp54pVpz44yg; Sun, 9 Jul 2023 10:35:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=osVIozIUgd757ktGrdRUqkElPYPTZ0IHgWDSUbVPtxE=; b=wALy6DzhbRPWEiHyPgqYwOkp7a3dQH97OSUzUpLSE78deJlRuGqvaWX6LZh3bzfdbWsqG8 fAfj1Jt8zwv2HIAtUSw5B8/Nb2y6+HdQysXdlf2rUlCTWjkgilgL6m7JLoHNqX+levZD78 Gt6epE5ljTHrioXuvTufYEam+ZPowiQvFL6iCmu1RK58Y5o+M41X9AdlIwoE9agc44dKOk wCR9+ZC5saGRJLyJpQywHEwTzxC3Wm4yowYQYLkVopjJvX4TdE0LNvOJAeDbq4HJqN37Xv cpyXiXFjKGLFDfByCqfdicysje6eyaILOXP2zDqw/49JXeKuzx+giHyi0ThUiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=osVIozIUgd757ktGrdRUqkElPYPTZ0IHgWDSUbVPtxE=; b=njw4rABJWdSFiTQOqkmq/L4BeeDOI9df61gNW2+SAjGNXN8kPGeGBbPRrB91KxUeWC3Jqw dm/MgZJBaylN5A0WPRObO2iAGb4uQoHA6MG0HfqTOjJQUt4qCyk/i3ZNBwLSpU7yPcCfc9 kgOHPgUgVxytR0I0IS6/RdX6UBZbksMzsndgFIYP1Pm81GQVjxvoZrlND1638efAbAaCpH BqjhKAWDi7e55kEtD5k1cV7lHRp5tqUL3yAih/9K8+EyFOXQdx54iGWZmfvlAZs7w0ORxo 83IYUztm9+j9Wr0NV7920lRkg9Hs7Ud2dfT4C3WrbVg+fZFajEq7WkpQSI113w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688898957; a=rsa-sha256; cv=none; b=SPgiPgbmygRcxtn6m+alD6vP59s0apVYAtygb4A6tLu0kQGJsiuuLrQuZ10ufaTu+mm0fD ke3JfmyyJ1dznap6bfWQ5mEBlJIibSoxIDhCMJ4YEZ+4GMSWvDKC4ZV2qKO9Mz15kNEHTe c7pecR39hvrOR65OseNDtDzNm1Dn7NprG+em6P0q1YjnBEqRw0sSrEqxkoRYTDRP09pzj+ HPcsybvcycy8voxZU/mSoWMx3G9eVkY+j+L+TLhn9DR+GdXCahqB2SoCghf6g7P+xEMvDG 8OHQG3pHSTBjOblJF3TotnYuhDpisiLd6q5MHysbb61AilFca6otUdkIjfctTg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QzNp53PK7zyx1; Sun, 9 Jul 2023 10:35:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 369AZvCe057867; Sun, 9 Jul 2023 10:35:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 369AZvLF057866; Sun, 9 Jul 2023 10:35:57 GMT (envelope-from git) Date: Sun, 9 Jul 2023 10:35:57 GMT Message-Id: <202307091035.369AZvLF057866@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 34d5498aac7d - main - devel/py-pydantic-core: Update to 2.0.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 34d5498aac7d67e5f2be1674b7c9ea58afbcc893 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=34d5498aac7d67e5f2be1674b7c9ea58afbcc893 commit 34d5498aac7d67e5f2be1674b7c9ea58afbcc893 Author: Po-Chuan Hsieh AuthorDate: 2023-07-09 10:19:18 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-09 10:19:18 +0000 devel/py-pydantic-core: Update to 2.0.1 - Update pkg-descr Changes: https://github.com/pydantic/pydantic-core/releases --- devel/py-pydantic-core/Makefile | 16 +++----- devel/py-pydantic-core/Makefile.crates | 22 +++++----- devel/py-pydantic-core/distinfo | 50 ++++++++++++----------- devel/py-pydantic-core/files/patch-pyproject.toml | 15 +++---- devel/py-pydantic-core/pkg-descr | 9 ++-- 5 files changed, 57 insertions(+), 55 deletions(-) diff --git a/devel/py-pydantic-core/Makefile b/devel/py-pydantic-core/Makefile index 6bc6bf0fdf41..9ac3488dc470 100644 --- a/devel/py-pydantic-core/Makefile +++ b/devel/py-pydantic-core/Makefile @@ -1,6 +1,5 @@ PORTNAME= pydantic-core -PORTVERSION= 0.38.0 -PORTREVISION= 1 +PORTVERSION= 2.0.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,7 +12,9 @@ WWW= https://github.com/pydantic/pydantic-core LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13:devel/py-maturin@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13:devel/py-maturin@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR} USES= cargo python USE_PYTHON= autoplist concurrent pep517 @@ -23,11 +24,4 @@ CARGO_BUILD= no CARGO_INSTALL= no WRKSRC= ${WRKDIR}/pydantic_core-${PORTVERSION} -.include - -.if ${PYTHON_REL} < 31100 -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -.endif - -.include +.include diff --git a/devel/py-pydantic-core/Makefile.crates b/devel/py-pydantic-core/Makefile.crates index 390ed927967e..06118e347a1f 100644 --- a/devel/py-pydantic-core/Makefile.crates +++ b/devel/py-pydantic-core/Makefile.crates @@ -18,7 +18,7 @@ CARGO_CRATES= ahash-0.8.3 \ libmimalloc-sys-0.1.30 \ lock_api-0.4.9 \ memchr-2.5.0 \ - memoffset-0.8.0 \ + memoffset-0.9.0 \ mimalloc-0.1.34 \ num-bigint-0.4.3 \ num-integer-0.1.45 \ @@ -27,14 +27,14 @@ CARGO_CRATES= ahash-0.8.3 \ parking_lot-0.12.1 \ parking_lot_core-0.9.7 \ percent-encoding-2.2.0 \ - proc-macro2-1.0.56 \ - pyo3-0.18.2 \ - pyo3-build-config-0.18.2 \ - pyo3-ffi-0.18.2 \ - pyo3-macros-0.18.2 \ - pyo3-macros-backend-0.18.2 \ + proc-macro2-1.0.60 \ + pyo3-0.19.0 \ + pyo3-build-config-0.19.0 \ + pyo3-ffi-0.19.0 \ + pyo3-macros-0.19.0 \ + pyo3-macros-backend-0.19.0 \ python3-dll-a-0.2.6 \ - quote-1.0.26 \ + quote-1.0.28 \ redox_syscall-0.2.16 \ regex-1.7.3 \ regex-syntax-0.6.29 \ @@ -44,10 +44,12 @@ CARGO_CRATES= ahash-0.8.3 \ serde-1.0.159 \ serde_json-1.0.95 \ smallvec-1.10.0 \ - speedate-0.8.1 \ - strum-0.24.1 \ + speedate-0.9.0 \ + strum-0.25.0 \ strum_macros-0.24.3 \ + strum_macros-0.25.0 \ syn-1.0.109 \ + syn-2.0.18 \ target-lexicon-0.12.6 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ diff --git a/devel/py-pydantic-core/distinfo b/devel/py-pydantic-core/distinfo index 7dbfdc3c7dd0..996de375f361 100644 --- a/devel/py-pydantic-core/distinfo +++ b/devel/py-pydantic-core/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1685792290 -SHA256 (pydantic_core-0.38.0.tar.gz) = b94a00b52ccc368720d4fe6929a818e368901091b36bca049f89b600923d6c45 -SIZE (pydantic_core-0.38.0.tar.gz) = 303349 +TIMESTAMP = 1688166254 +SHA256 (pydantic_core-2.0.1.tar.gz) = f9fffcb5507bff84a1312d1616406cad157806f105d78bd184d1e6b3b00e6417 +SIZE (pydantic_core-2.0.1.tar.gz) = 305815 SHA256 (rust/crates/ahash-0.8.3.crate) = 2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f SIZE (rust/crates/ahash-0.8.3.crate) = 42416 SHA256 (rust/crates/aho-corasick-0.7.20.crate) = cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac @@ -41,8 +41,8 @@ SHA256 (rust/crates/lock_api-0.4.9.crate) = 435011366fe56583b16cf956f9df0095b405 SIZE (rust/crates/lock_api-0.4.9.crate) = 25685 SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d SIZE (rust/crates/memchr-2.5.0.crate) = 65812 -SHA256 (rust/crates/memoffset-0.8.0.crate) = d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1 -SIZE (rust/crates/memoffset-0.8.0.crate) = 8912 +SHA256 (rust/crates/memoffset-0.9.0.crate) = 5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c +SIZE (rust/crates/memoffset-0.9.0.crate) = 9033 SHA256 (rust/crates/mimalloc-0.1.34.crate) = 9dcb174b18635f7561a0c6c9fc2ce57218ac7523cf72c50af80e2d79ab8f3ba1 SIZE (rust/crates/mimalloc-0.1.34.crate) = 5012 SHA256 (rust/crates/num-bigint-0.4.3.crate) = f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f @@ -59,22 +59,22 @@ SHA256 (rust/crates/parking_lot_core-0.9.7.crate) = 9069cbb9f99e3a5083476ccb29ce SIZE (rust/crates/parking_lot_core-0.9.7.crate) = 32412 SHA256 (rust/crates/percent-encoding-2.2.0.crate) = 478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e SIZE (rust/crates/percent-encoding-2.2.0.crate) = 10075 -SHA256 (rust/crates/proc-macro2-1.0.56.crate) = 2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435 -SIZE (rust/crates/proc-macro2-1.0.56.crate) = 44454 -SHA256 (rust/crates/pyo3-0.18.2.crate) = cfb848f80438f926a9ebddf0a539ed6065434fd7aae03a89312a9821f81b8501 -SIZE (rust/crates/pyo3-0.18.2.crate) = 418755 -SHA256 (rust/crates/pyo3-build-config-0.18.2.crate) = 98a42e7f42e917ce6664c832d5eee481ad514c98250c49e0b03b20593e2c7ed0 -SIZE (rust/crates/pyo3-build-config-0.18.2.crate) = 29138 -SHA256 (rust/crates/pyo3-ffi-0.18.2.crate) = a0707f0ab26826fe4ccd59b69106e9df5e12d097457c7b8f9c0fd1d2743eec4d -SIZE (rust/crates/pyo3-ffi-0.18.2.crate) = 62903 -SHA256 (rust/crates/pyo3-macros-0.18.2.crate) = 978d18e61465ecd389e1f235ff5a467146dc4e3c3968b90d274fe73a5dd4a438 -SIZE (rust/crates/pyo3-macros-0.18.2.crate) = 7173 -SHA256 (rust/crates/pyo3-macros-backend-0.18.2.crate) = 8e0e1128f85ce3fca66e435e08aa2089a2689c1c48ce97803e13f63124058462 -SIZE (rust/crates/pyo3-macros-backend-0.18.2.crate) = 48722 +SHA256 (rust/crates/proc-macro2-1.0.60.crate) = dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406 +SIZE (rust/crates/proc-macro2-1.0.60.crate) = 44160 +SHA256 (rust/crates/pyo3-0.19.0.crate) = cffef52f74ec3b1a1baf295d9b8fcc3070327aefc39a6d00656b13c1d0b8885c +SIZE (rust/crates/pyo3-0.19.0.crate) = 412659 +SHA256 (rust/crates/pyo3-build-config-0.19.0.crate) = 713eccf888fb05f1a96eb78c0dbc51907fee42b3377272dc902eb38985f418d5 +SIZE (rust/crates/pyo3-build-config-0.19.0.crate) = 29172 +SHA256 (rust/crates/pyo3-ffi-0.19.0.crate) = 5b2ecbdcfb01cbbf56e179ce969a048fd7305a66d4cdf3303e0da09d69afe4c3 +SIZE (rust/crates/pyo3-ffi-0.19.0.crate) = 64481 +SHA256 (rust/crates/pyo3-macros-0.19.0.crate) = b78fdc0899f2ea781c463679b20cb08af9247febc8d052de941951024cd8aea0 +SIZE (rust/crates/pyo3-macros-0.19.0.crate) = 7177 +SHA256 (rust/crates/pyo3-macros-backend-0.19.0.crate) = 60da7b84f1227c3e2fe7593505de274dcf4c8928b4e0a1c23d551a14e4e80a0f +SIZE (rust/crates/pyo3-macros-backend-0.19.0.crate) = 49921 SHA256 (rust/crates/python3-dll-a-0.2.6.crate) = a915bd72824962bf190bbd3e8a044cccb695d1409f73ff5493712eda5136c7a8 SIZE (rust/crates/python3-dll-a-0.2.6.crate) = 56866 -SHA256 (rust/crates/quote-1.0.26.crate) = 4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc -SIZE (rust/crates/quote-1.0.26.crate) = 28397 +SHA256 (rust/crates/quote-1.0.28.crate) = 1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488 +SIZE (rust/crates/quote-1.0.28.crate) = 28382 SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012 SHA256 (rust/crates/regex-1.7.3.crate) = 8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d @@ -93,14 +93,18 @@ SHA256 (rust/crates/serde_json-1.0.95.crate) = d721eca97ac802aa7777b701877c8004d SIZE (rust/crates/serde_json-1.0.95.crate) = 144618 SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0 SIZE (rust/crates/smallvec-1.10.0.crate) = 31564 -SHA256 (rust/crates/speedate-0.8.1.crate) = 0efd9b26b4dce26dbcf412831a035647871f8531f46632d8d59e8633351761b0 -SIZE (rust/crates/speedate-0.8.1.crate) = 28443 -SHA256 (rust/crates/strum-0.24.1.crate) = 063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f -SIZE (rust/crates/strum-0.24.1.crate) = 5636 +SHA256 (rust/crates/speedate-0.9.0.crate) = 312e03cbe7f96cdbd7b69de27d396d541632f660b400a953fe536403e4698e75 +SIZE (rust/crates/speedate-0.9.0.crate) = 28910 +SHA256 (rust/crates/strum-0.25.0.crate) = 290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125 +SIZE (rust/crates/strum-0.25.0.crate) = 5539 SHA256 (rust/crates/strum_macros-0.24.3.crate) = 1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59 SIZE (rust/crates/strum_macros-0.24.3.crate) = 20696 +SHA256 (rust/crates/strum_macros-0.25.0.crate) = fe9f3bd7d2e45dcc5e265fbb88d6513e4747d8ef9444cf01a533119bce28a157 +SIZE (rust/crates/strum_macros-0.25.0.crate) = 20205 SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237 SIZE (rust/crates/syn-1.0.109.crate) = 237611 +SHA256 (rust/crates/syn-2.0.18.crate) = 32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e +SIZE (rust/crates/syn-2.0.18.crate) = 240648 SHA256 (rust/crates/target-lexicon-0.12.6.crate) = 8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5 SIZE (rust/crates/target-lexicon-0.12.6.crate) = 24357 SHA256 (rust/crates/tinyvec-1.6.0.crate) = 87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50 diff --git a/devel/py-pydantic-core/files/patch-pyproject.toml b/devel/py-pydantic-core/files/patch-pyproject.toml index aa3f7b96b7cf..db9b048a3f1f 100644 --- a/devel/py-pydantic-core/files/patch-pyproject.toml +++ b/devel/py-pydantic-core/files/patch-pyproject.toml @@ -1,9 +1,10 @@ ---- pyproject.toml.orig 2023-05-25 03:43:54 UTC +--- pyproject.toml.orig 2023-06-30 10:08:47 UTC +++ pyproject.toml -@@ -1,5 +1,5 @@ +@@ -1,6 +1,6 @@ [build-system] --requires = ['maturin>=0.15,<0.16', 'typing_extensions'] -+requires = ['maturin>=0.13', 'typing_extensions'] - build-backend = 'maturin' - - [project] + requires = [ +- 'maturin>=1,<2', ++ 'maturin>=0.13,<2', + 'typing-extensions >=4.6.0; platform_python_implementation != "PyPy"', + 'typing-extensions >=4.6.0,<4.7.0; platform_python_implementation == "PyPy"' + ] diff --git a/devel/py-pydantic-core/pkg-descr b/devel/py-pydantic-core/pkg-descr index 1e293dab7543..9edfb47b9aa9 100644 --- a/devel/py-pydantic-core/pkg-descr +++ b/devel/py-pydantic-core/pkg-descr @@ -1,4 +1,5 @@ -pydantic-core provides the core functionality for pydantic. The package is -currently a work in progress and subject to significant change. There is, as -yet, no integration with pydantic, so schemas can only be defined via -dictionaries. +Pydantic-core provides the core functionality for pydantic validation and +serialization. + +Pydantic-core is currently around 17x faster than pydantic v1. See +tests/benchmarks/ for details.