Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI builds are failing with "IS_WINDOWS is not defined" error #8170

Closed
antonblr opened this issue Dec 18, 2020 · 2 comments
Closed

CI builds are failing with "IS_WINDOWS is not defined" error #8170

antonblr opened this issue Dec 18, 2020 · 2 comments
Labels
type: infrastructure improvement to development/releases/CI structure

Comments

@antonblr
Copy link
Member

e.g. see https://github.com/pytest-dev/pytest/runs/1571751504

Run actions/setup-python@v2
  with:
    python-version: pypy3
    token: ***
Error: IS_WINDOWS is not defined

This is a known issue with the latest setup-python release - actions/setup-python#171

A temporary workaround would be to pin GH action version to the latest stable (v2.1.4). I'll open a PR, but let's keep this issue open until actions/setup-python is fixed to revert the change.

@antonblr antonblr added the type: infrastructure improvement to development/releases/CI structure label Dec 18, 2020
@hugovk
Copy link
Member

hugovk commented Dec 18, 2020

Looks like the fix has been released now, want to retry?

@asottile
Copy link
Member

via #8171 / #8172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: infrastructure improvement to development/releases/CI structure
Projects
None yet
Development

No branches or pull requests

3 participants