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

configure/make: Generate SAGE_ROOT/requirements-using-local-wheels.txt #32616

Open
mkoeppe opened this issue Oct 3, 2021 · 12 comments · May be fixed by #37448
Open

configure/make: Generate SAGE_ROOT/requirements-using-local-wheels.txt #32616

mkoeppe opened this issue Oct 3, 2021 · 12 comments · May be fixed by #37448

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Oct 3, 2021

This file is for setting up a separate venv, for example for installing a stable snapshot of what is in the current source tree.

Variant 1

  • just add --no-index --find-links=SAGE_ROOT/venv/var/lib/sage/wheels/ to the contents of src/requirements.txt

  • adds sagelib (always source location, but not editable)

  • if configure --enable-editable is in use, uses source locations (but not editable) for packages like sage_setup, sage_conf instead of wheels

Variant 1b

Variant 2

We can also add a convenience script sage --venv /SOME/DIRECTORY for creating and populating the venv

Depends on #33817

CC: @tobiasdiez

Component: build

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

@mkoeppe mkoeppe added this to the sage-9.5 milestone Oct 3, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented Oct 12, 2021

Changed dependencies from #32442 to #32442, #32672

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title bootstrap: Generate src/requirements-using-local-wheels.txt bootstrap, configure: Generate SAGE_ROOT/requirements-using-local-wheels.txt Dec 6, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 27, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title bootstrap, configure: Generate SAGE_ROOT/requirements-using-local-wheels.txt configure/make: Generate SAGE_ROOT/requirements-using-local-wheels.txt Dec 28, 2021
@mkoeppe

This comment has been minimized.

@slel
Copy link
Member

slel commented Dec 29, 2021

comment:8

Remove dependency on #32442, see #29039 comment:163.

@slel
Copy link
Member

slel commented Dec 29, 2021

Changed dependencies from #32442, #32672 to #32672

@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 7, 2022
@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 27, 2022

Changed dependencies from #32672 to #33817

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Jan 29, 2023
@mkoeppe mkoeppe removed this from the sage-10.0 milestone Apr 30, 2023
@mkoeppe mkoeppe linked a pull request Feb 24, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants