Mercurial 7.0rc0

/!\ These are the release notes for a release candidate version of Mercurial, anything /!\ and everything is subject to change.

Packaging Changes

The 7.0 release is the first to be compliant with PEP 517.

This required an overhaul of the Mercurial packaging: packagers should pay extra attention to this release and report any issues they might encounter with the new system.

In practice, this means that Mercurial's setup.py can no longer be called directly. Instead, one should build the Mercurial package using PyPA's build package (https://github.com/pypa/build). In the general case, this will take care of the build dependencies, but packagers might want to explicitly manage them. Currently the build depends on:

The Makefile no longer offers a build target. We now use BuildTools 2022 when building Windows packages.

Other Backwards Compatibility Changes

New Features

New Experimental Features

Bug Fixes

Rust

[1] Both rust-cpython and PyO3 bridges are present in this release in case users need to switch back (by changing every importrust call) in case something went really wrong in the translation. The rust-cpython code will be removed entirely in Mercurial 7.1.

Miscellaneous

Release7.0 (last edited 2025-02-28 22:57:17 by Pierre-YvesDavid)