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

Installing pywin32-ctypes fails on windows-latest with Python 3.8+ #1078

Closed
andy-maier opened this issue Dec 11, 2022 · 0 comments · Fixed by #1079 or #1080
Closed

Installing pywin32-ctypes fails on windows-latest with Python 3.8+ #1078

andy-maier opened this issue Dec 11, 2022 · 0 comments · Fixed by #1079 or #1080

Comments

@andy-maier
Copy link
Member

andy-maier commented Dec 11, 2022

Installation of pywin32-ctypes fails on windows-latest with Python 3.8,3.9,3.10 with:

INFO: pip is looking at multiple versions of pywin32-ctypes to determine which version is compatible with other requirements. This could take a while.
Collecting pywin32-ctypes!=0.1.0,!=0.1.1
  Downloading pywin32-ctypes-0.1.2.tar.gz (24 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  python setup.py egg_info did not run successfully.
  exit code: 1
  
  [1 lines of output]
  error in pywin32-ctypes setup command: use_2to3 is invalid.
  [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

This was from today's test run on Python 3.8: https://github.com/zhmcclient/python-zhmcclient/actions/runs/3666135441/jobs/6197669174

I did not analyze why it started failing just this week. The week before, the same test run succeeded on Python 3.8:

Collecting pywin32-ctypes!=0.1.0,!=0.1.1
  Downloading pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)

Test run: https://github.com/zhmcclient/python-zhmcclient/actions/runs/3610424073/jobs/6084221588

Created jaraco/keyring#612 to follow up in keyring.

This issue is to circumvent the issue.

@andy-maier andy-maier self-assigned this Dec 11, 2022
@andy-maier andy-maier added this to the 1.6.0 milestone Dec 11, 2022
@andy-maier andy-maier changed the title Installing pywin32-ctypes fails on windows-latest with Pyhton 3.8+ Installing pywin32-ctypes fails on windows-latest with Python 3.8+ Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment