question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing pypy3 failed with "Error: IS_WINDOWS is not defined"

See original GitHub issue

Describe the bug

https://github.com/pyca/cryptography/pull/5652/checks?check_run_id=1571744687

      - name: Setup python
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.PYTHON.VERSION }}

->

Error: IS_WINDOWS is not defined

Which version of the action are you using?

  • v1
  • v2
  • Some other tag (such as v2.0.1 or master)

Environment

  • self-hosted
  • Linux
  • Windows
  • Mac

If applicable, please specify if you’re using a container

Python Versions

pypy3

Run/Repo Url https://github.com/pyca/cryptography/pull/5652/checks?check_run_id=1571744687

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:21
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
konradpabjancommented, Dec 18, 2020

The new v2.2.1 release has the correct fixes and the v2 tag has been updated

There was a small merge conflict between multiple PRs related to webpack and dist/index.js that our tests didn’t catch 😞 Sorry folks

4reactions
maxim-lobanovcommented, Dec 18, 2020

Hello everyone! Yes, it looks like regression related to 2.2.0 release. Pull-request with fix https://github.com/actions/setup-python/pull/172 will be merged soon.

As a workaround, I suggest using new syntax for PyPy:

pypy-2.7
pypy-3.6
pypy-3.7
pypy-3.7-v7.3.3

See more examples in https://github.com/actions/setup-python#specifying-a-pypy-version

2.2.0 release was directed to add support for new PyPy syntax to allow installing PyPy on-flight and specifying exact version. But looks like we got regression in old syntax: https://github.com/actions/setup-python/pull/169

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit ...
My OS is Windows 10 x64 and I have Python 3.6.4, PyPy 6.0.0 and Visual C++ 2017 14.10 installed. I had had a...
Read more >
NumPy install or import problem [Windows10] - PyPy - Heptapod
I've installed C++ and now I get UnicodeDecodeError: 'charmap' codec can't decode byte 0x88 in position 1247: character maps to <undefined> ...
Read more >
Nixpkgs 22.11 manual - NixOS
Nix expressions describe how to build packages from source and are collected in the nixpkgs repository. Also included in the collection are Nix...
Read more >
Frequently Asked Questions - PyPy documentation
The simplest solution is to use virtualenv (as documented here). Then enter (activate) the virtualenv and type: pypy -mpip install xyz . If...
Read more >
2021-April.txt - Python mailing list
https://docs.python.org/3/library/pwd.html >>> >>> Failing that, ... 54 3 How to set up a 'listening' Unix domain socket 55 3 pygame "font not intialized" ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found