pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-mercurial



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Dec  1 07:48:15 UTC 2026

Modified Files:
        pkgsrc/devel/py-mercurial: Makefile distinfo version.mk

Log Message:
py-mercurial: update to 7.2.5.

(I couldn't get HGZSTDPOLICY=system to do anything.)

Changes in 7.2.5:

This release fixes security issues in the vendored zstd library
used by all builds and in the dependencies of the Rust extensions.

Note that some packaged versions of Mercurial use the system's
zstd, which is hopefully patched. Mercurial 7.2 added support for
HGZSTDPOLICY=system if you want to switch to the system one (see
hg help environment.HGZSTDPOLICY).

Security

    Upgrade the vendored zstd to 1.6.0 for CVE-2026-124851
    (62da765eb74a)

    rust: upgrade zstd to 1.6.0 for CVE-2026-124851 and RUSTSEC-2026-0391,
    RUSTSEC-2026-0395 to RUSTSEC-2026-0406 (8085ca21083d)

    rust: upgrade dependencies with security advisories (d5381e5de884)

Better checks of incoming data

server.validate is now the clear option to check the integrity of
incoming data, at the cost of extra processing. Here are more
details:

    Add a storage.revlog.validate-incoming-content option to check
    the content of every incoming revision against its node id.
    This only applies to incoming bundles: stream clones and some
    extensions may still skip validation (7faacae20434)

    server.validate now enables storage.revlog.validate-incoming-content
    by default unless it is explicitly disabled, which can further
    slow down unbundling on servers using it (cfdfa04b728a)

    The preexisting storage.revlog.validate-delta-base is refocused
    on validating the local content used during bundle ingestion.
    For historical reasons, it still enables
    storage.revlog.validate-incoming-content unless that option is
    set explicitly (7faacae20434)

    Speed up unbundling with storage.revlog.validate-delta-base
    (65a5fe0f06bf + 712a5b3e1b6f)

    Fix the error message when applying a corrupt bundle (b6e9fab712b0)

Bug fixes

    rebase: keep the filelog ancestry of both sides when rebasing
    a merge. Files that the destination did not touch used to be
    recorded as descending from the second parent only, making
    annotate incorrect (851f240301e5)

    dirstate: fix a crash on update of files of 2 GiB or more
    (c0765d7ca84c)

    Fix pushes over HTTP hanging when authentication is requested
    mid-request (dcb006ad7550)

    Fix stale head information in branchmap v3 (6bf2b1b5f089)

    Keep the branchmap in "pure" topo-mode after destroying revisions
    (7d3f31934ee2)

    Fix hg debug-repair-issue6528 on filelogs with long names
    (8de96775477c)

    templater: make localdate(date) use the offset in effect at
    that date (c7bdca99cf23)

    Fix ui attributes like ui.verbose not following config overrides,
    and show the full description in histedit's first curses patch
    view (723c44287974 + 1273cb20b682)

    chg: honor the client's umask with the Rust extensions and
    detect changes to RUST_LOG (b26c13e71f01 + 1d35604a0469)

    convert: warn again about non-UTF-8 Subversion file URLs on
    Python 3.12+ (89441355f952)

    perf: abort the fncache commands on repositories without fncache
    (45713bd17396)

Changegroup v4 and delta-info (experimental)

    Fix copy metadata being lost when converting from changegroup
    v4, causing issue6528 (dc0887723930)

    Fix the Python check for the metadata flag of delta-info filelogs
    (4fd31a43b832)

    Fix reading changegroup v4 bundles as repositories (hg incoming,
    pulling from a strip backup, ...) (e9fea427e4b4 + af42298da2c4)

    Fix a server crash on push after a changegroup v4 pull
    (54382c41f659)

    Reject changegroup versions not supported by the repository
    (d698622a7615)

    lfs and remotefilelog shallow repositories no longer advertize
    support for changegroup v4 (054d23cfee5f + 684459c4a41c)

    Fix hg debugbundle --all crashing on changegroup v4 full texts
    (cb8bb1e3c2bb)

rhg

    Ignore ui.formatted in plain mode (479d64b7f923)

    Confirm purge when extensions.purge is disabled with !
    (541f10bde531)

Platforms and packaging

    Support for Python 3.15 with wheels for all platforms, and with
    OpenSSL 4.0

    Windows installers are built and tested again

    --pure builds no longer need a C compiler (3d099089598b)

Miscellaneous

    convert: add a convert.p4.enable option to disable the Perforce
    source (87a54a421fb1)

    Many help text fixes and improvements

    The Windows and macOS CI have been reworked to be more easily
    maintainable

    A bunch of fixes and improvements to the test runner and CI
    stability


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 pkgsrc/devel/py-mercurial/Makefile
cvs rdiff -u -r1.158 -r1.159 pkgsrc/devel/py-mercurial/distinfo
cvs rdiff -u -r1.71 -r1.72 pkgsrc/devel/py-mercurial/version.mk

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-mercurial/Makefile
diff -u pkgsrc/devel/py-mercurial/Makefile:1.114 pkgsrc/devel/py-mercurial/Makefile:1.115
--- pkgsrc/devel/py-mercurial/Makefile:1.114    Fri Oct  9 10:23:35 2026
+++ pkgsrc/devel/py-mercurial/Makefile  Tue Dec  1 07:48:15 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2026/10/09 10:23:35 adam Exp $
+# $NetBSD: Makefile,v 1.115 2026/12/01 07:48:15 wiz Exp $
 #
 # Changelog sometimes at: https://mercurial-scm.org/news
 
@@ -18,6 +18,10 @@ TOOL_DEPENDS+=       ${PYPKGPREFIX}-setuptools
 TEST_DEPENDS+= ${PYPKGPREFIX}-pip>=0:../../devel/py-pip
 TEST_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 
+# FIXME: supposed to switch to system zstandard, but even with that, still compiles its own
+#DEPENDS+=     ${PYPKGPREFIX}-zstandard>=0.25.0:../../archivers/py-zstandard
+#MAKE_ENV+=    HGZSTDPOLICY=system
+
 USE_TOOLS+=    gmake msgfmt
 
 CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=600     # msg_control
@@ -31,8 +35,8 @@ PYTHON_SELF_CONFLICT= yes
 .include "version.mk"
 
 USE_TOOLS+=    bash:test
-# Test status as of 7.2.2 as !root
-# Ran 985 tests, 84 skipped, 9 failed.
+# Test status as of 7.2.5 as !root
+# Ran 994 tests, 84 skipped, 8 failed.
 # Failed test-copies-chain-merge.t#pull: timed out
 # Failed test-copies-chain-merge.t#pull-upgrade: timed out
 # Failed test-copies-chain-merge.t#push: timed out
@@ -41,7 +45,6 @@ USE_TOOLS+=   bash:test
 # Failed test-copies-chain-merge.t#upgraded: timed out
 # Failed test-copies-chain-merge.t#upgraded-parallel: timed out
 # Failed test-revlog-mmapindex.t: output changed
-# Failed test-revset.t: timed out
 
 .if make(test)
 # tries to build/install wheel

Index: pkgsrc/devel/py-mercurial/distinfo
diff -u pkgsrc/devel/py-mercurial/distinfo:1.158 pkgsrc/devel/py-mercurial/distinfo:1.159
--- pkgsrc/devel/py-mercurial/distinfo:1.158    Fri Oct  9 10:23:35 2026
+++ pkgsrc/devel/py-mercurial/distinfo  Tue Dec  1 07:48:15 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.158 2026/10/09 10:23:35 adam Exp $
+$NetBSD: distinfo,v 1.159 2026/12/01 07:48:15 wiz Exp $
 
-BLAKE2s (mercurial-7.2.4.tar.gz) = 78339e0b691c4f61551bb0e915f2fe622825b6a9fc74c343ddebfa774bea7a56
-SHA512 (mercurial-7.2.4.tar.gz) = 3875fba0dc52a80ff3dfc299be14c9e5976f7e836829d43021d08d76fac6c3971b849ead54fc0fa3a28df7181fe5edfa41e50fb93acf10bbeb4b9ba8354c6434
-Size (mercurial-7.2.4.tar.gz) = 9304061 bytes
+BLAKE2s (mercurial-7.2.5.tar.gz) = dac79cf9594c7987716efc8829a0b15576683aca4d903118b885502277f3340b
+SHA512 (mercurial-7.2.5.tar.gz) = 06c391c1940c738421352df3ad2f53f29e082dd413ab9074985998d912b239b4d6d0568d5a46d30372b5abda0f5bf716f5ca7880ae5df535256b51e1d79466a2
+Size (mercurial-7.2.5.tar.gz) = 9414757 bytes
 SHA1 (patch-setup.py) = 112e63c39af177bc3051eff17a826f0ecf02659e

Index: pkgsrc/devel/py-mercurial/version.mk
diff -u pkgsrc/devel/py-mercurial/version.mk:1.71 pkgsrc/devel/py-mercurial/version.mk:1.72
--- pkgsrc/devel/py-mercurial/version.mk:1.71   Fri Oct  9 10:23:35 2026
+++ pkgsrc/devel/py-mercurial/version.mk        Tue Dec  1 07:48:15 2026
@@ -1,5 +1,5 @@
-# $NetBSD: version.mk,v 1.71 2026/10/09 10:23:35 adam Exp $
+# $NetBSD: version.mk,v 1.72 2026/12/01 07:48:15 wiz Exp $
 #
 # please also update devel/rhg when changing the version number
 
-VERSION=       7.2.4
+VERSION=       7.2.5



Home | Main Index | Thread Index | Old Index