ctypes.util.find_library("c") fails in Python 3.6

Bug #1785467 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloudbase-init
Fix Released
Medium
Alessandro Pilotti

Bug Description

Python 3.6 and above use the VC140 which is based on the new MSFT universal runtime:
https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/

As a result, ctypes.util.find_library("c") fails on Windows with recent Python versions.

Changed in cloudbase-init:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Alessandro Pilotti (alexpilotti)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cloudbase-init (master)

Fix proposed to branch: master
Review: https://review.openstack.org/588967

Changed in cloudbase-init:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cloudbase-init (master)

Reviewed: https://review.openstack.org/588967
Committed: https://git.openstack.org/cgit/openstack/cloudbase-init/commit/?id=0368124b54873133488b95af8e472721d6f9436d
Submitter: Zuul
Branch: master

commit 0368124b54873133488b95af8e472721d6f9436d
Author: Alessandro Pilotti <email address hidden>
Date: Sun Aug 5 13:59:05 2018 +0300

    Fix CRT DLL loading on Windows in Python 3.6

    ctypes.util.find_library("c") returns None in Python 3.6.

    Change-Id: I1918ae53a8712220b973edfdcdcd54e612f21c94
    Closes-Bug: #1785467

Changed in cloudbase-init:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.