Mercurial > hg-stable
comparison rust/hgcli/pyoxidizer.bzl @ 47212:95950dc832cf
pyoxidizer: pin Python to 3.8
Newer versions of PyOxidizer use version 3.9 by default. As part of
upgrading PyOxidizer, we want to pin the version at 3.8 so we can
compare differences more easily.
Differential Revision: https://phab.mercurial-scm.org/D10679
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 06 May 2021 16:13:33 -0700 |
parents | 3e18a29deec9 |
children | 9438e9b7321a |
comparison
equal
deleted
inserted
replaced
47211:3e18a29deec9 | 47212:95950dc832cf |
---|---|
6 RUN_CODE = "import hgdemandimport; hgdemandimport.enable(); from mercurial import dispatch; dispatch.run()" | 6 RUN_CODE = "import hgdemandimport; hgdemandimport.enable(); from mercurial import dispatch; dispatch.run()" |
7 | 7 |
8 set_build_path(ROOT + "/build/pyoxidizer") | 8 set_build_path(ROOT + "/build/pyoxidizer") |
9 | 9 |
10 def make_distribution(): | 10 def make_distribution(): |
11 return default_python_distribution() | 11 return default_python_distribution(python_version = "3.8") |
12 | 12 |
13 def make_distribution_windows(): | 13 def make_distribution_windows(): |
14 return default_python_distribution(flavor = "standalone_dynamic") | 14 return default_python_distribution(flavor = "standalone_dynamic") |
15 | 15 |
16 def resource_callback(policy, resource): | 16 def resource_callback(policy, resource): |