Changes between Version 15 and Version 17 of Ticket #29500


Ignore:
Timestamp:
Sep 8, 2020, 5:29:56 AM (2 years ago)
Author:
Matthias Köppe
Comment:

New commits:

8aa6fd9build/bin/sage-dist-helpers (sdh_pip_install): Build a wheel, store it

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29500

    • Property Summary changed from Install all Python packages via pip wheel, create PEP 503 simple repository for wheels to Install all Python packages via pip wheel, store wheels in $SAGE_LOCAL/var/lib/sage/wheels
    • Property Branch changed from to u/mkoeppe/install_all_python_packages_via_pip_wheel__create_pep_503_simple_repository_for_wheels
    • Property Commit changed from to 8aa6fd96607c207a0f9563c583978cd50ddc52a7
  • Ticket #29500 – Description

    v15 v17  
    1111Users can create virtual environments and install the wheels built by the Sage distribution into them, using standard tools such as `pip install --find-links`.
    1212
    13 Optionally, we can create a PEP 503 compliant Simple Repository index in `$SAGE_SPKG_WHEELS`. Then users can create their virtual environment using tools such as `pipenv` `[[source]]` or `pip install --index-url`.
     13In this ticket, we keep using the DESTDIR staging mechanism also for the installation of the package from the wheel. This can be changed later -- to remove the problems described in #29585 -- by just holding the pip lock (if it is at all still necessary after the major pip upgrades in the 9.2 series) during the wheel installation (step 2).
    1414
    15 In this ticket, we keep using the DESTDIR staging mechanism also for the installation of the package from the wheel. This can be changed later -- to remove the problems described in #29585 -- by just holding the pip lock (if it is at all still necessary after the major pip upgrades in the 9.2 series) during the wheel installation (step 2).
     15Follow-up: #30527 Create PEP 503 simple repository for wheels built during installation
    1616
    1717-------
     
    2121 - https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages
    2222
    23  - https://github.com/pytorch/pytorch/issues/25639 "Implement pep 503 Simple Repository API for deployment"
    24 
    25  - https://pypi.org/project/piprepo/ - create PEP 503 package repo
    26 
    27  - https://stackoverflow.com/questions/45744937/how-do-install-packages-from-a-local-python-package-index
    28 
    29  - https://pipenv-fork.readthedocs.io/en/latest/advanced.html#specifying-package-indexes
    30 
    3123 - https://pip.pypa.io/en/stable/reference/pip_cache/