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

Add pip packages to conda environments, add missing conda.txt files #33613

Closed
mkoeppe opened this issue Mar 31, 2022 · 76 comments
Closed

Add pip packages to conda environments, add missing conda.txt files #33613

mkoeppe opened this issue Mar 31, 2022 · 76 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Mar 31, 2022

We have a number of pip-installable optional packages, for which there is no conda package.

Here we add a mechanism to add such packages using a pip: line
in src/environment-optional.yml and src/environment-dev.yml (#33740).

We also add lots of conda.txt files.

To test, follow the instructions in https://doc.sagemath.org/html/en/installation/conda.html#using-conda-to-provide-all-dependencies-for-the-sage-library-experimental
using src/environment-optional.yml or src/environment-dev.yml

(A use case for the pip line in src/environment-dev.yml is #34524: Pip package git_trac_command.)

CC: @tobiasdiez @dimpase @isuruf @saraedum @slel @yuan-zhou

Component: porting

Author: Matthias Koeppe

Branch/Commit: 0e4a696

Reviewer: Dima Pasechnik

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

@mkoeppe mkoeppe added this to the sage-9.6 milestone Mar 31, 2022
@mkoeppe mkoeppe changed the title gitpod: Install sage-trac-command gitpod: Install git-trac-command Mar 31, 2022
@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 31, 2022

comment:3

(Without #33589) I also get

(sage-sh) gitpod@sagemath-sagetracmirror-72wwexpcfmb:sagetrac-mirror$ git trac checkout 33608
Loading ticket #33608...
Checking out Trac #33608 remote branch u/klee/33608 -> local branch t/33608/33608...
Traceback (most recent call last):
    STDERR: Warning: Permanently added the ECDSA host key for IP address '104.197.143.230' to the list of known hosts.
    STDERR: Load key "/home/gitpod/.ssh/id_rsa": invalid format
    STDERR: git@trac.sagemath.org: Permission denied (publickey).
    STDERR: fatal: Could not read from remote repository.
    STDERR: 
    STDERR: Please make sure you have the correct access rights
    STDERR: and the repository exists.

@tobiasdiez
Copy link
Contributor

comment:4

Did you followed the steps outlined in sage's gitpod docs to add the ssh key?

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 31, 2022

Dependencies: #33589

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 31, 2022

comment:5

No. In #33589 we should make sure that fetching can be done without these steps.

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 31, 2022

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 31, 2022

Author: Matthias Koeppe

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 31, 2022

Last 10 new commits:

a5d10a2Fix typo
4950bcfAdd fallback to github mirror
c235eadDisable pushing to github
40d1e23Always disable pushing to origin
89591c4Remove wrong trac from prebuild
3d450f3Update docs
e9035aeSilence semi-expected errors during (pre)build
8432e1dMerge #33589
8aaaf07build/pkgs/python3/distros/debian.txt: New
eacd393docker/.gitpod.Dockerfile: Install pip for system python, install git-trac-command

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 31, 2022

Commit: eacd393

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 31, 2022

Changed commit from eacd393 to 3f71861

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 31, 2022

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

3f71861docker/.gitpod.Dockerfile: hardcode python3-pip

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 31, 2022

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

866a833docker/.gitpod.Dockerfile: Run apt-get update first

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 31, 2022

Changed commit from 3f71861 to 866a833

@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 17, 2022
@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title gitpod: Install git-trac-command Script package git_trac_command May 16, 2022
@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented May 16, 2022

Changed dependencies from #33589 to #33740, #33851

@mkoeppe
Copy link
Member Author

mkoeppe commented May 16, 2022

Changed dependencies from #33740, #33851 to #33740, #33822, #33851

@mkoeppe mkoeppe changed the title Script package git_trac_command Pip package git_trac_command May 16, 2022
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2022

Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:

ccbc21abootstrap, bootstrap-conda, src/doc/bootstrap: Use build/bin/sage-package directly
4560895src/doc/Makefile: Remove explicit use of SAGE_ROOT and the top-level sage script
7759f3cGenerate en/reference/repl/options.txt at build time, not bootstrap time
58ab878bootstrap-conda: Fix typo, generate->generating to match messages from bootstrap
12ea8cebuild/pkgs/_develop/distros: Add packages providing gpgconf
238b7bbbuild/pkgs/_develop/distros: Add packages providing ssh
01a126cMerge #33851
a74ccaabuild/pkgs/git_trac_command: New
e28f6d9build/pkgs/_develop/dependencies: Add git_trac_command
d2b8c4ebootstrap-conda: Also generate pip: lines

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2022

Changed commit from 866a833 to d2b8c4e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 17, 2022

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

ffde371bootstrap-conda: Do not include packages that declare SAGERUNTIME as a dependency

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 17, 2022

Changed commit from d2b8c4e to ffde371

@mkoeppe mkoeppe changed the title Pip package git_trac_command, add pip packages to conda environments Pip package git_trac_command, add pip packages to conda environments, add missing conda.txt files Aug 6, 2022
@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 24, 2022

Changed dependencies from #34263, #34274 to #34263, #34274, #33851

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 24, 2022

Changed commit from 6d06720 to 175a758

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 24, 2022

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

3f6660bbootstrap-conda: Write an additional comment
04045d3build/pkgs/_develop/dependencies: Add pytest, pytest_xdist
0856a00bootstrap-conda: Write an additional comment (fixup)
8f17c11bootstrap-conda: Rewrite using fewer redirects
15598c5build/pkgs/_develop/distros: Add packages providing gpgconf
eab7c56build/pkgs/_develop/distros: Add packages providing ssh
6592b38README.md: All developers should install _bootstrap packages
2e96172src/doc/bootstrap: Generate *-develop.txt
c96c7c5src/doc/en/installation/source.rst: Include *-develop.txt and *-recommended.txt
175a758Merge #33851

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 24, 2022

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

6dfc583build/pkgs/_develop/dependencies: Add git_trac_command

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 24, 2022

Changed commit from 175a758 to 6dfc583

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 12, 2022

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

d90b64cRevert "build/pkgs/git_trac_command: New"

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 12, 2022

Changed commit from 6dfc583 to d90b64c

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title Pip package git_trac_command, add pip packages to conda environments, add missing conda.txt files Add pip packages to conda environments, add missing conda.txt files Sep 12, 2022
@mkoeppe

This comment has been minimized.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 12, 2022

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

0e4a696Merge tag '9.7.rc1' into t/33613/gitpod__install_git_trac_command

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 12, 2022

Changed commit from d90b64c to 0e4a696

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 12, 2022

Changed dependencies from #34263, #34274, #33851 to none

@mkoeppe

This comment has been minimized.

@dimpase
Copy link
Member

dimpase commented Sep 16, 2022

Reviewer: Dima Pasechnik

@dimpase
Copy link
Member

dimpase commented Sep 16, 2022

comment:62

this should be merged soon.

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 16, 2022

comment:63

Thank you!

@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@vbraun
Copy link
Member

vbraun commented Sep 20, 2022

Changed branch from u/mkoeppe/gitpod__install_git_trac_command to 0e4a696

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