Issue 31957: [Windows] PCbuild error: A numeric comparison was attempted (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/76138

classification

Title: [Windows] PCbuild error: A numeric comparison was attempted
Type: compile error Stage: resolved
Components: Build, Windows Versions: Python 3.7, Python 3.6

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Priority: normal Keywords: patch

Created on 2017-11-06 11:17 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 4298 merged steve.dower,2017-11-06 19:54
PR 4300 merged python-dev,2017-11-06 20:52
Messages (6)
msg305631 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-11-06 11:17
http://buildbot.python.org/all/#/builders/58/builds/110 Build started 11/4/2017 7:30:21 PM. Project "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj" on node 1 (KillPython target(s)). D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\python.props(77,31): error MSB4086: A numeric comparison was attempted on "$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)" that evaluates to "" instead of a number, in condition "$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) >= '10.0.15063'". [D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj] Done Building Project "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj" (KillPython target(s)) -- FAILED. Build FAILED. It's likely a regression caused by one of these commits: * 0d2a9088d16826343344b04461c8be44b4008710 * aed08562220974b5c67371b908f23caa1be07e38
msg305632 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-11-06 11:18
Compilation also failed on AMD64 Windows8 3.x: http://buildbot.python.org/all/#/builders/32/builds/118
msg305633 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-11-06 11:18
Windows8 error: D:\buildarea\3.x.bolen-windows8\build\PCbuild\python.props(76,31): error MSB4086: A numeric comparison was attempted on "$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)" that evaluates to "" instead of a number, in condition "$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) >= '10.0.15063'". [D:\buildarea\3.x.bolen-windows8\build\PCbuild\pythoncore.vcxproj]
msg305675 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2017-11-06 20:52
New changeset 30f4fa456ef626ad7a92759f492ec7a268f7af4e by Steve Dower in branch 'master': bpo-31957: Fixes version detection. (#4298) https://github.com/python/cpython/commit/30f4fa456ef626ad7a92759f492ec7a268f7af4e
msg305685 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2017-11-06 23:05
New changeset a6ffec2e88437ed4fecb10cb359cf2fb64781e9a by Steve Dower (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31957: Fixes version detection. (GH-4298) (#4300) https://github.com/python/cpython/commit/a6ffec2e88437ed4fecb10cb359cf2fb64781e9a
msg305797 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-11-07 22:55
Thank you Steve for the quick fix!
History
Date User Action Args
2022-04-11 14:58:54 admin set github: 76138
2017-11-07 22:55:44 vstinner set status: open -> closedresolution: fixedmessages: + stage: patch review -> resolved
2017-11-06 23:05:00 steve.dower set messages: +
2017-11-06 20:52:23 python-dev set pull_requests: + <pull%5Frequest4263>
2017-11-06 20:52:11 steve.dower set messages: +
2017-11-06 19:54:48 steve.dower set keywords: + patchstage: needs patch -> patch reviewpull_requests: + <pull%5Frequest4260>
2017-11-06 19:39:22 steve.dower set assignee: steve.dowerstage: needs patchtype: compile errorversions: + Python 3.6
2017-11-06 11🔞34 vstinner set messages: +
2017-11-06 11🔞11 vstinner set messages: +
2017-11-06 11:17:26 vstinner create