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: notebook spkg installation hangs in pip dependency resolution #32945

Closed
mkoeppe opened this issue Nov 28, 2021 · 20 comments
Closed

Cygwin: notebook spkg installation hangs in pip dependency resolution #32945

mkoeppe opened this issue Nov 28, 2021 · 20 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Nov 28, 2021

INFO: pip is looking at multiple versions of pyrsistent to determine which version is compatible with other requirements. This could take a while.
Processing /opt/sage-cc60cfebc4576fed8b01f0fc487271bdee3cefed/var/lib/sage/wheels/pyrsistent-0.18.0-cp38-cp38-cygwin_3_3_2_x86_64.whl
INFO: pip is looking at multiple versions of pygments to determine which version is compatible with other requirements. This could take a while.
Processing /opt/sage-cc60cfebc4576fed8b01f0fc487271bdee3cefed/var/lib/sage/wheels/Pygments-2.10.0-py3-none-any.whl
INFO: pip is looking at multiple versions of pandocfilters to determine which version is compatible with other requirements. This could take a while.
Processing /opt/sage-cc60cfebc4576fed8b01f0fc487271bdee3cefed/var/lib/sage/wheels/pandocfilters-1.4.3-py3-none-any.whl
INFO: pip is looking at multiple versions of pyrsistent to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while.
Processing /opt/sage-cc60cfebc4576fed8b01f0fc487271bdee3cefed/var/lib/sage/wheels/attrs-21.2.0-py2.py3-none-any.whl
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: pip is looking at multiple versions of pygments to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jsonschema to determine which version is compatible with other requirements. This could take a while.
Processing /opt/sage-cc60cfebc4576fed8b01f0fc487271bdee3cefed/var/lib/sage/wheels/jsonschema-3.2.0-py2.py3-none-any.whl
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. 
...

Unchanged after the IPython/Jupyter upgrade #32930.

We use upstream PR: pypa/pip#10574, backported to the current stable pip.

Depends on #32671

CC: @slel @dimpase @jhpalmieri

Component: build

Author: Matthias Koeppe

Branch/Commit: f8400f7

Reviewer: Dima Pasechnik

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

@mkoeppe mkoeppe added this to the sage-9.5 milestone Nov 28, 2021
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 28, 2021

comment:1

@slel, do you see this in the logs of notebook also in your local build?

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 28, 2021

comment:2

There are some upcoming changes to pip that might fix this issue https://github.com/pypa/pip/pull/10574/files

https://pip.pypa.io/en/latest/news/

@slel
Copy link
Member

slel commented Nov 28, 2021

comment:3

No such thing in logs/pkgs/notebook-6.4.3.log here.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 28, 2021

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 28, 2021

Commit: 28e4fc6

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 28, 2021

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 28, 2021

New commits:

28e4fc6build/pkgs/pip/patches: Add upstream PR 10574

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 28, 2021

Dependencies: #32671

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 28, 2021

Changed commit from 28e4fc6 to f8400f7

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 28, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

1b6ac2cbuild/pkgs/pip/patches/10574.patch: Backport to 21.3.1
d3a6fc3build/pkgs/pip: Update to 21.3.1
5b001a2build/bin/sage-dist-helpers: Remove '--use-feature=in-tree-build' (default since pip 21.3)
f1f4759build/pkgs/distlib: Update to 0.3.3
760ff09Merge #32751
f8400f7Merge #32671

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 29, 2021

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 29, 2021

Author: Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 29, 2021

comment:9

This fixes the problem, as can be seen in https://github.com/mkoeppe/sage/runs/4349318130?check_suite_focus=true

@mkoeppe

This comment has been minimized.

@dimpase
Copy link
Member

dimpase commented Dec 2, 2021

comment:13

not yet released pip, where this megapatch is from, is dropping python 3.6.

Can we either follow the suit, or make this patch cygwin only?

@slel
Copy link
Member

slel commented Dec 2, 2021

comment:14

We dropped support for Python 3.6 in #30551.

Dropping support for Python 3.7 is #32937.

@dimpase
Copy link
Member

dimpase commented Dec 2, 2021

Changed reviewer from https://github.com/mkoeppe/sage/actions/runs/1513836884 to Dima Pasechnik

@dimpase
Copy link
Member

dimpase commented Dec 2, 2021

comment:15

OK, cool.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 2, 2021

comment:16

Thanks!

@vbraun
Copy link
Member

vbraun commented Dec 12, 2021

@vbraun vbraun closed this as completed in 1f1ebc3 Dec 12, 2021
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

4 participants