Skip to content

Support Visual Studio 2012 #61258

Closed
Closed

Description

@cowwoc
mannequin
BPO 17056
Nosy @tjguk, @tpn, @briancurtin, @zware, @zooba
Superseder
  • bpo-22919: Update PCBuild for VS 2015
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2014-12-31.20:52:10.033>
    created_at = <Date 2013-01-27.23:52:19.351>
    labels = ['type-feature', 'OS-windows', 'build']
    title = 'Support Visual Studio 2012'
    updated_at = <Date 2014-12-31.20:52:10.032>
    user = 'https://bugs.python.org/cowwoc'

    bugs.python.org fields:

    activity = <Date 2014-12-31.20:52:10.032>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-12-31.20:52:10.033>
    closer = 'steve.dower'
    components = ['Build', 'Windows']
    creation = <Date 2013-01-27.23:52:19.351>
    creator = 'cowwoc'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 17056
    keywords = []
    message_count = 6.0
    messages = ['180808', '180810', '180826', '180828', '223037', '233270']
    nosy_count = 7.0
    nosy_names = ['tim.golden', 'trent', 'brian.curtin', 'BreamoreBoy', 'zach.ware', 'steve.dower', 'cowwoc']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '22919'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17056'
    versions = ['Python 3.5']

    Activity

    1. cowwoc commented on Jan 27, 2013

      cowwocmannequin
      MannequinAuthor

      msvc9compiler needs to check for the VS110COMNTOOLS environment variable in order to support Visual Studio 2012. Currently it complains "cannot find vcvarsall.bat".

      The following workaround works for now:

      SET VS90COMNTOOLS=%VS110COMNTOOLS%

    2. added
      buildThe build process and cross-build
      type-featureA feature request or enhancement
      on Jan 27, 2013
    3. briancurtin commented on Jan 28, 2013

      @briancurtin
      Member

      This change can only happen on 3.4.

    4. cowwoc commented on Jan 28, 2013

      cowwocmannequin
      MannequinAuthor

      Why? :)

      I ask because all the application I depend upon only run against Python 2.x (Rhodecode, Mercurial, etc). I'd love for them to upgrade but it's not really in my control.

      Has there been some sort of policy change within Python to stop supporting 2.x?

    5. briancurtin commented on Jan 28, 2013

      @briancurtin
      Member

      This is a feature request and new features are only being added on the 3.x line. The next feature release will be 3.4.

    6. zooba commented on Jul 14, 2014

      @zooba
      Member

      msvc9compiler should not look for any versions of MSVC other than 9.0, since extensions built using other versions will be subtly (or dramatically) incompatible with Python unless you also rebuild Python itself with the same MSVC version.

      You can set DISTUTILS_USE_SDK=1 and run from the VS 2012 Developer Command Prompt (or otherwise configure your environment) if you are willing to accept the risk, but ensure you test the built extension thoroughly.

      Hopefully, 3.5 will switch to the next version of MSVC (14) and will be able to detect and use all later releases, so this particular problem won't exist in the future. There's nothing we can/will do for 2.x at this stage.

    7. BreamoreBoy commented on Dec 31, 2014

      BreamoreBoymannequin
      Mannequin

      Can this be closed as essentially a duplicate of bpo-22919 which targets Visual Studio 2015?

    8. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsbuildThe build process and cross-buildtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions