Read about our upcoming Code of Conduct on this issue

packaging: extract pre-computed version when running from plain tarball

The tarballs created by setup.py are not including the usual archive
markers that `hg archive` leaves, so the rewrite of the version number
computation actually left the empty version string around. This meant
that installations from PyPI would use 0.0.0 as version string.

Differential Revision: https://phab.mercurial-scm.org/D10502

--HG--
branch : stable
14 jobs for 5.8rc1 in 33 minutes and 9 seconds (queued for 3 seconds)
latest
Status Name Job ID Coverage
  Tests
failed checks-py2 #188395

00:05:59

failed checks-py3 #188396

00:04:25

passed rust-cargo-test-py2 #188397

00:01:31

passed rust-cargo-test-py3 #188398

00:02:48

passed test-py2 #188399

00:26:29

passed test-py2-chg #188406

00:27:09

passed test-py2-pure #188401

00:24:35

passed test-py2-rust #188403

00:28:14

passed test-py3 #188400

00:19:34

passed test-py3-chg #188407

00:07:26

passed test-py3-pure #188402

00:22:46

passed test-py3-rhg #188405

00:21:33

passed test-py3-rust #188404

00:15:31

 
  Phabricator
skipped phabricator-refresh #188408
 
Name Stage Failure
failed
checks-py3 Tests
  0.004  14.025 260.070   8.340  14.021   test-check-config.t
0.002 14.570 273.940 8.650 14.568 test-check-module-imports.t
0.008 29.795 302.540 9.020 29.787 test-check-pyflakes.t
0.000 33.436 334.940 9.490 33.435 test-check-code.t
0.025 58.637 391.310 10.540 58.612 test-check-pylint.t
0.030 153.128 723.490 31.580 153.098 test-check-cargo-lock.t
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
checks-py2 Tests
  0.026  45.803  54.180  20.510  45.777   test-check-config.t
0.023 49.290 80.140 21.420 49.267 test-check-module-imports.t
0.071 49.574 319.850 25.050 49.503 test-check-format.t
0.035 73.618 367.710 26.240 73.582 test-check-pyflakes.t
0.002 76.882 420.900 27.630 76.880 test-check-code.t
0.047 134.083 525.380 29.780 134.036 test-check-pylint.t
0.054 218.902 1017.980 55.240 218.848 test-check-cargo-lock.t
Cleaning up file based variables
ERROR: Job failed: exit code 1