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

cygwin python3 missing ensurepip #34088

Closed
mkoeppe opened this issue Jun 26, 2022 · 11 comments
Closed

cygwin python3 missing ensurepip #34088

mkoeppe opened this issue Jun 26, 2022 · 11 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Jun 26, 2022

https://github.com/mkoeppe/sage/runs/7056478444?check_suite_focus=true

configure:35118: checking for python3 >= 3.8.0, < 3.11.0 with modules sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl, ensurepip
configure:35803: result: 
configure:35832: checking ... whether /usr/bin/python3 is good
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.9/ensurepip/__init__.py", line 30, in <module>
    _SETUPTOOLS_VERSION = _get_most_recent_wheel_version("setuptools")
  File "/usr/lib/python3.9/ensurepip/__init__.py", line 27, in _get_most_recent_wheel_version
    return str(max(_wheels[pkg], key=distutils.version.LooseVersion))
ValueError: max() arg is an empty sequence
configure:36413: result: no, the version is in the supported range but cannot import one of the required modules: sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl, ensurepip

https://www.mail-archive.com/cygwin@cygwin.com/msg170799.html

One needs the packages python-pip-wheel and python-setuptools-wheel, which provide (very outdated) wheels

CC: @tscrim @slel

Component: porting: Cygwin

Author: Matthias Koeppe

Branch/Commit: d835afc

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/34088

@mkoeppe mkoeppe added this to the sage-9.7 milestone Jun 26, 2022
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 4, 2022

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 4, 2022

Commit: d835afc

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 4, 2022

New commits:

d835afcbuild/pkgs/python3/distros/cygwin.txt: Add packages needed for ensurepip

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 4, 2022

Author: Matthias Koeppe

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 4, 2022

@dimpase
Copy link
Member

dimpase commented Jul 6, 2022

Changed reviewer from https://github.com/sagemath/sagetrac-mirror/actions/runs/2612748980 to Dima Pasechnik

@dimpase
Copy link
Member

dimpase commented Jul 6, 2022

comment:8

lgtm

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 6, 2022

comment:9

Thanks!

@vbraun
Copy link
Member

vbraun commented Jul 9, 2022

Changed branch from u/mkoeppe/cygwin_python3_missing_ensurepip to d835afc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants