Opened 7 months ago

Closed 7 months ago

#32945 closed defect (fixed)

Cygwin: notebook spkg installation hangs in pip dependency resolution

Reported by: mkoeppe Owned by:
Priority: blocker Milestone: sage-9.5
Component: build Keywords:
Cc: slelievre, dimpase, jhpalmieri Merged in:
Authors: Matthias Koeppe Reviewers: Dima Pasechnik
Report Upstream: N/A Work issues:
Branch: f8400f7 (Commits, GitHub, GitLab) Commit: f8400f719f46f046cd12a781d6dc16f43e92a100
Dependencies: #32671 Stopgaps:

Status badges

Description (last modified by mkoeppe)

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: https://github.com/pypa/pip/pull/10574, backported to the current stable pip.

Change History (17)

comment:1 Changed 7 months ago by mkoeppe

  • Cc slelievre added

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

comment:2 Changed 7 months ago by mkoeppe

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/

Last edited 7 months ago by mkoeppe (previous) (diff)

comment:3 Changed 7 months ago by slelievre

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

comment:4 Changed 7 months ago by mkoeppe

  • Branch set to u/mkoeppe/cygwin__notebook_spkg_installation_hangs_in_pip_dependency_resolution

comment:5 Changed 7 months ago by mkoeppe

  • Commit set to 28e4fc6526ee0543cb94ac7481a68cd998281d8b
  • Reviewers set to https://github.com/mkoeppe/sage/actions/runs/1513635366

New commits:

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

comment:6 Changed 7 months ago by mkoeppe

  • Dependencies set to #32671

comment:7 Changed 7 months ago by git

  • Commit changed from 28e4fc6526ee0543cb94ac7481a68cd998281d8b to f8400f719f46f046cd12a781d6dc16f43e92a100

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

comment:8 Changed 7 months ago by mkoeppe

  • Reviewers changed from https://github.com/mkoeppe/sage/actions/runs/1513635366 to https://github.com/mkoeppe/sage/actions/runs/1513836884

comment:9 Changed 7 months ago by mkoeppe

  • Authors set to Matthias Koeppe
  • Status changed from new to needs_review

comment:10 Changed 7 months ago by mkoeppe

  • Description modified (diff)

comment:11 Changed 7 months ago by mkoeppe

  • Priority changed from critical to blocker

comment:12 Changed 7 months ago by mkoeppe

  • Cc dimpase jhpalmieri added

comment:13 Changed 7 months ago by dimpase

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?

comment:14 Changed 7 months ago by slelievre

We dropped support for Python 3.6 in #30551.

Dropping support for Python 3.7 is #32937.

comment:15 Changed 7 months ago by dimpase

  • Reviewers changed from https://github.com/mkoeppe/sage/actions/runs/1513836884 to Dima Pasechnik
  • Status changed from needs_review to positive_review

OK, cool.

comment:16 Changed 7 months ago by mkoeppe

Thanks!

comment:17 Changed 7 months ago by vbraun

  • Branch changed from u/mkoeppe/cygwin__notebook_spkg_installation_hangs_in_pip_dependency_resolution to f8400f719f46f046cd12a781d6dc16f43e92a100
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.