Skip to content

MacOS builds use wrong python version #76

Closed

Description

@dafnevk

The Github workflows of my newly created python package use the wrong python version in the MacOS builds:

# Run actions/setup-python@v1
Successfully setup CPython (3.7.9)
1s
# Run which python
Python 2.7.18
/usr/local/bin/python

Activity

  1. dafnevk commented on Jan 29, 2021

    @dafnevk
    Author

    It seems related to this issue: actions/setup-python#132 .
    Was there a reason to include shell: bash -l {0} in the workflow file?
    If not, I would suggest to remove it.

  2. added this to the milestone on Apr 7, 2021
  3. fdiblen commented on Apr 7, 2021

    @fdiblen
    Member

    Consider switching to actions/setup-python@v2

  4. sverhoeven commented on Apr 7, 2021

    @sverhoeven
    Member

    Lets also make sure to use python3 instead of python

  5. added
    generated-package
    on Apr 14, 2021
  6. fdiblen commented on Apr 22, 2021

    @fdiblen
    Member

    fixed in #216

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

    generated-package

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions