Patchwork [2,of,2,STABLE] automation: upload Python 3.9 Windows wheels

login
register
mail settings
Submitter Gregory Szorc
Date Oct. 22, 2020, 5:53 a.m.
Message ID <54547c147016fb6393da.1603346018@ubuntu-vm-main>
Download mbox | patch
Permalink /patch/47504/
State Accepted
Headers show

Comments

Gregory Szorc - Oct. 22, 2020, 5:53 a.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1603345995 25200
#      Wed Oct 21 22:53:15 2020 -0700
# Branch stable
# Node ID 54547c147016fb6393dac5a0644095ecbb3fe796
# Parent  f79d3b740a342aa2478c2962997b0eb21bfc40f3
automation: upload Python 3.9 Windows wheels

We are producing these. We should be publishing them.

Patch

diff --git a/contrib/automation/hgautomation/windows.py b/contrib/automation/hgautomation/windows.py
--- a/contrib/automation/hgautomation/windows.py
+++ b/contrib/automation/hgautomation/windows.py
@@ -127,6 +127,8 @@  WHEEL_FILENAME_PYTHON37_X86 = 'mercurial
 WHEEL_FILENAME_PYTHON37_X64 = 'mercurial-{version}-cp37-cp37m-win_amd64.whl'
 WHEEL_FILENAME_PYTHON38_X86 = 'mercurial-{version}-cp38-cp38-win32.whl'
 WHEEL_FILENAME_PYTHON38_X64 = 'mercurial-{version}-cp38-cp38-win_amd64.whl'
+WHEEL_FILENAME_PYTHON39_X86 = 'mercurial-{version}-cp39-cp39-win32.whl'
+WHEEL_FILENAME_PYTHON39_X64 = 'mercurial-{version}-cp39-cp39-win_amd64.whl'
 
 EXE_FILENAME_PYTHON2_X86 = 'Mercurial-{version}-x86-python2.exe'
 EXE_FILENAME_PYTHON2_X64 = 'Mercurial-{version}-x64-python2.exe'
@@ -471,6 +473,8 @@  def resolve_wheel_artifacts(dist_path: p
         dist_path / WHEEL_FILENAME_PYTHON37_X64.format(version=version),
         dist_path / WHEEL_FILENAME_PYTHON38_X86.format(version=version),
         dist_path / WHEEL_FILENAME_PYTHON38_X64.format(version=version),
+        dist_path / WHEEL_FILENAME_PYTHON39_X86.format(version=version),
+        dist_path / WHEEL_FILENAME_PYTHON39_X64.format(version=version),
     )
 
 
@@ -482,6 +486,8 @@  def resolve_all_artifacts(dist_path: pat
         dist_path / WHEEL_FILENAME_PYTHON37_X64.format(version=version),
         dist_path / WHEEL_FILENAME_PYTHON38_X86.format(version=version),
         dist_path / WHEEL_FILENAME_PYTHON38_X64.format(version=version),
+        dist_path / WHEEL_FILENAME_PYTHON39_X86.format(version=version),
+        dist_path / WHEEL_FILENAME_PYTHON39_X64.format(version=version),
         dist_path / EXE_FILENAME_PYTHON2_X86.format(version=version),
         dist_path / EXE_FILENAME_PYTHON2_X64.format(version=version),
         dist_path / EXE_FILENAME_PYTHON3_X86.format(version=version),