Mercurial > forks > mercurial
changeset 53278:2af8c5560b99 stable
run-tests: create the venv where hg is installed without `pip`
Otherwise, the test venv ends up with the default `pip` 22.0.4 and `setuptools`
58.1.0 when run with Python 3.9, which is too old to build Mercurial, and the
test run fails during the editable installation phase. This happens even when
the base Python install has been updated to have the latest versions of these
packages. This started out using `--upgrade-deps`, because I assume that
missing here was an oversight (`make local` upgrades the dependencies in the
venv it creates). But this avoids some extra network fetching, and output
changes in `test-run-tests.t`. We don't see this in CI because it's not an
issue when it is fed a wheel.
This also fixes the issue that we have seen in CI, where there is no
`--config-settings` option on `pip` on the default branch.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 21 May 2025 11:49:25 -0400 |
parents | 3c04ec0aa369 |
children | 6f6d492a6bd3 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff