envd 0.4.1__tar.gz → 1.0.0a2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of envd might be problematic. Click here for more details.

Files changed (303) hide show
  1. envd-1.0.0a2/.GIT_TAG_INFO +1 -0
  2. {envd-0.4.1 → envd-1.0.0a2}/.goreleaser.yaml +2 -1
  3. {envd-0.4.1 → envd-1.0.0a2}/CHANGELOG.md +36 -0
  4. {envd-0.4.1 → envd-1.0.0a2}/Makefile +3 -31
  5. {envd-0.4.1 → envd-1.0.0a2}/PKG-INFO +49 -42
  6. {envd-0.4.1 → envd-1.0.0a2}/README.md +45 -35
  7. {envd-0.4.1 → envd-1.0.0a2}/base-images/remote-cache/build.envd +19 -6
  8. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v0/__init__.py +6 -0
  9. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v0/config.py +6 -0
  10. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v0/install.py +6 -0
  11. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v0/io.py +6 -0
  12. {envd-0.4.1/envd/api/v1 → envd-1.0.0a2/envd/api/v0}/runtime.py +2 -2
  13. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v1/__init__.py +1 -7
  14. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v1/config.py +0 -6
  15. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v1/install.py +0 -6
  16. {envd-0.4.1 → envd-1.0.0a2}/envd/api/v1/io.py +0 -6
  17. {envd-0.4.1 → envd-1.0.0a2}/envd.egg-info/PKG-INFO +49 -42
  18. {envd-0.4.1 → envd-1.0.0a2}/envd.egg-info/SOURCES.txt +0 -45
  19. {envd-0.4.1 → envd-1.0.0a2}/go.mod +33 -32
  20. {envd-0.4.1 → envd-1.0.0a2}/go.sum +776 -86
  21. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/app.go +1 -1
  22. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/debug.go +0 -1
  23. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/interactive.go +18 -12
  24. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/builder_test.go +2 -2
  25. {envd-0.4.1 → envd-1.0.0a2}/pkg/envd/docker.go +1 -1
  26. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/manager.go +1 -1
  27. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/graph.go +3 -3
  28. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/util.go +2 -2
  29. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/compile.go +20 -2
  30. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/conda.go +4 -3
  31. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/julia.go +0 -9
  32. envd-1.0.0a2/pkg/lang/ir/v1/julia.sh +22 -0
  33. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/python.go +7 -8
  34. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/r.go +12 -14
  35. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/system.go +2 -94
  36. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/version/version.go +16 -15
  37. {envd-0.4.1 → envd-1.0.0a2}/setup.py +3 -6
  38. envd-0.4.1/.GIT_TAG_INFO +0 -1
  39. envd-0.4.1/base-images/.dockerignore +0 -2
  40. envd-0.4.1/base-images/build.sh +0 -47
  41. envd-0.4.1/base-images/julia1.8rc1-ubuntu22.04.Dockerfile +0 -98
  42. envd-0.4.1/base-images/r4.2.Dockerfile +0 -46
  43. envd-0.4.1/pkg/lang/frontend/starlark/v0/config/config.go +0 -248
  44. envd-0.4.1/pkg/lang/frontend/starlark/v0/config/const.go +0 -29
  45. envd-0.4.1/pkg/lang/frontend/starlark/v0/install/const.go +0 -25
  46. envd-0.4.1/pkg/lang/frontend/starlark/v0/install/install.go +0 -204
  47. envd-0.4.1/pkg/lang/frontend/starlark/v0/interpreter.go +0 -209
  48. envd-0.4.1/pkg/lang/frontend/starlark/v0/interpreter_test.go +0 -29
  49. envd-0.4.1/pkg/lang/frontend/starlark/v0/io/io.go +0 -70
  50. envd-0.4.1/pkg/lang/frontend/starlark/v0/runtime/runtime.go +0 -238
  51. envd-0.4.1/pkg/lang/frontend/starlark/v0/starlark_suite_test.go +0 -27
  52. envd-0.4.1/pkg/lang/frontend/starlark/v0/testdata/test.envd +0 -8
  53. envd-0.4.1/pkg/lang/frontend/starlark/v0/universe/universe.go +0 -141
  54. envd-0.4.1/pkg/lang/frontend/starlark/v1/builtin/builtin.go +0 -20
  55. envd-0.4.1/pkg/lang/frontend/starlark/v1/data/const.go +0 -21
  56. envd-0.4.1/pkg/lang/frontend/starlark/v1/data/rule.go +0 -54
  57. envd-0.4.1/pkg/lang/frontend/starlark/v1/data/util.go +0 -53
  58. envd-0.4.1/pkg/lang/frontend/starlark/v1/io/const.go +0 -20
  59. envd-0.4.1/pkg/lang/frontend/starlark/v1/runtime/const.go +0 -24
  60. envd-0.4.1/pkg/lang/frontend/starlark/v1/universe/const.go +0 -25
  61. envd-0.4.1/pkg/lang/ir/v0/cache.go +0 -32
  62. envd-0.4.1/pkg/lang/ir/v0/checker.go +0 -79
  63. envd-0.4.1/pkg/lang/ir/v0/compile.go +0 -375
  64. envd-0.4.1/pkg/lang/ir/v0/conda.go +0 -161
  65. envd-0.4.1/pkg/lang/ir/v0/consts.go +0 -42
  66. envd-0.4.1/pkg/lang/ir/v0/custom.go +0 -80
  67. envd-0.4.1/pkg/lang/ir/v0/editor.go +0 -120
  68. envd-0.4.1/pkg/lang/ir/v0/editor_test.go +0 -97
  69. envd-0.4.1/pkg/lang/ir/v0/fs.go +0 -25
  70. envd-0.4.1/pkg/lang/ir/v0/git.go +0 -45
  71. envd-0.4.1/pkg/lang/ir/v0/install-conda.sh +0 -24
  72. envd-0.4.1/pkg/lang/ir/v0/install-mamba.sh +0 -15
  73. envd-0.4.1/pkg/lang/ir/v0/interface.go +0 -312
  74. envd-0.4.1/pkg/lang/ir/v0/julia.go +0 -104
  75. envd-0.4.1/pkg/lang/ir/v0/python.go +0 -220
  76. envd-0.4.1/pkg/lang/ir/v0/r.go +0 -96
  77. envd-0.4.1/pkg/lang/ir/v0/shell.go +0 -124
  78. envd-0.4.1/pkg/lang/ir/v0/supervisor.go +0 -120
  79. envd-0.4.1/pkg/lang/ir/v0/system.go +0 -307
  80. envd-0.4.1/pkg/lang/ir/v0/types.go +0 -95
  81. envd-0.4.1/pkg/lang/ir/v0/user.go +0 -80
  82. envd-0.4.1/pkg/lang/ir/v0/util.go +0 -146
  83. envd-0.4.1/pkg/lang/ir/v0/util_test.go +0 -78
  84. envd-0.4.1/pkg/lang/ir/v1/julia.sh +0 -17
  85. {envd-0.4.1 → envd-1.0.0a2}/.all-contributorsrc +0 -0
  86. {envd-0.4.1 → envd-1.0.0a2}/.editorconfig +0 -0
  87. {envd-0.4.1 → envd-1.0.0a2}/.gitignore +0 -0
  88. {envd-0.4.1 → envd-1.0.0a2}/.golangci.yml +0 -0
  89. {envd-0.4.1 → envd-1.0.0a2}/.lycheeignore +0 -0
  90. {envd-0.4.1 → envd-1.0.0a2}/.pre-commit-config.yaml +0 -0
  91. {envd-0.4.1 → envd-1.0.0a2}/.vscode/launch.json +0 -0
  92. {envd-0.4.1 → envd-1.0.0a2}/CODEOWNERS +0 -0
  93. {envd-0.4.1 → envd-1.0.0a2}/CODE_OF_CONDUCT.md +0 -0
  94. {envd-0.4.1 → envd-1.0.0a2}/LICENSE +0 -0
  95. {envd-0.4.1 → envd-1.0.0a2}/MANIFEST.in +0 -0
  96. {envd-0.4.1 → envd-1.0.0a2}/OWNERS +0 -0
  97. {envd-0.4.1 → envd-1.0.0a2}/base-images/envd/build.sh +0 -0
  98. {envd-0.4.1 → envd-1.0.0a2}/base-images/envd/envd-daemonless.Dockerfile +0 -0
  99. {envd-0.4.1 → envd-1.0.0a2}/base-images/envd/envd.Dockerfile +0 -0
  100. {envd-0.4.1 → envd-1.0.0a2}/base-images/envd-sshd/envd-sshd.Dockerfile +0 -0
  101. {envd-0.4.1 → envd-1.0.0a2}/base-images/envd-starship/envd-starship.Dockerfile +0 -0
  102. {envd-0.4.1 → envd-1.0.0a2}/base-images/remote-cache/build-and-push-remote-cache.sh +0 -0
  103. {envd-0.4.1 → envd-1.0.0a2}/cmd/envd/main.go +0 -0
  104. {envd-0.4.1 → envd-1.0.0a2}/cmd/envd-sshd/main.go +0 -0
  105. {envd-0.4.1/envd/api/v0 → envd-1.0.0a2/envd/api/v1}/runtime.py +0 -0
  106. {envd-0.4.1 → envd-1.0.0a2}/envd/api.go +0 -0
  107. {envd-0.4.1 → envd-1.0.0a2}/envd.egg-info/dependency_links.txt +0 -0
  108. {envd-0.4.1 → envd-1.0.0a2}/envd.egg-info/not-zip-safe +0 -0
  109. {envd-0.4.1 → envd-1.0.0a2}/envd.egg-info/top_level.txt +0 -0
  110. {envd-0.4.1 → envd-1.0.0a2}/lychee.toml +0 -0
  111. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/bootstrap.go +0 -0
  112. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/build/build.go +0 -0
  113. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/build.go +0 -0
  114. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/completion.go +0 -0
  115. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/const.go +0 -0
  116. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/context.go +0 -0
  117. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/context_create.go +0 -0
  118. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/context_ls.go +0 -0
  119. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/context_rm.go +0 -0
  120. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/context_use.go +0 -0
  121. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/debug_llb.go +0 -0
  122. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/destroy.go +0 -0
  123. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/env.go +0 -0
  124. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/env_describe.go +0 -0
  125. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/env_ls.go +0 -0
  126. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/exec.go +0 -0
  127. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/data.go +0 -0
  128. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/json/context.go +0 -0
  129. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/json/env.go +0 -0
  130. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/json/image.go +0 -0
  131. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/json/print.go +0 -0
  132. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/json/version.go +0 -0
  133. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/table/context.go +0 -0
  134. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/table/env.go +0 -0
  135. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/table/image.go +0 -0
  136. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/formatter/table/version.go +0 -0
  137. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/image.go +0 -0
  138. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/image_describe.go +0 -0
  139. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/image_prune.go +0 -0
  140. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/image_prune_test.go +0 -0
  141. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/image_remove.go +0 -0
  142. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/init.go +0 -0
  143. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/login.go +0 -0
  144. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/pause.go +0 -0
  145. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/prune.go +0 -0
  146. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/reference.go +0 -0
  147. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/resume.go +0 -0
  148. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/run.go +0 -0
  149. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/telemetry/reporter.go +0 -0
  150. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/template/julia.envd +0 -0
  151. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/template/r.envd +0 -0
  152. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/top.go +0 -0
  153. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/up.go +0 -0
  154. {envd-0.4.1 → envd-1.0.0a2}/pkg/app/version.go +0 -0
  155. {envd-0.4.1 → envd-1.0.0a2}/pkg/autocomplete/bash.go +0 -0
  156. {envd-0.4.1 → envd-1.0.0a2}/pkg/autocomplete/fish.go +0 -0
  157. {envd-0.4.1 → envd-1.0.0a2}/pkg/autocomplete/zsh.go +0 -0
  158. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/build.go +0 -0
  159. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/build_func.go +0 -0
  160. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/builder.go +0 -0
  161. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/builder_suite_test.go +0 -0
  162. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/dep_check.go +0 -0
  163. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/err.go +0 -0
  164. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/types.go +0 -0
  165. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/util.go +0 -0
  166. {envd-0.4.1 → envd-1.0.0a2}/pkg/builder/util_test.go +0 -0
  167. {envd-0.4.1 → envd-1.0.0a2}/pkg/buildkitd/buildkitd.go +0 -0
  168. {envd-0.4.1 → envd-1.0.0a2}/pkg/buildkitd/mock/mock.go +0 -0
  169. {envd-0.4.1 → envd-1.0.0a2}/pkg/buildkitd/print.go +0 -0
  170. {envd-0.4.1 → envd-1.0.0a2}/pkg/config/config.go +0 -0
  171. {envd-0.4.1 → envd-1.0.0a2}/pkg/data/datasource.go +0 -0
  172. {envd-0.4.1 → envd-1.0.0a2}/pkg/data/envd.go +0 -0
  173. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/client.go +0 -0
  174. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/docker/docker.go +0 -0
  175. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/docker/docker_suite_test.go +0 -0
  176. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/docker/docker_test.go +0 -0
  177. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/docker/label.go +0 -0
  178. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/nerdctl/buildkit.go +0 -0
  179. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/nerdctl/nerdctl.go +0 -0
  180. {envd-0.4.1 → envd-1.0.0a2}/pkg/driver/stats_type.go +0 -0
  181. {envd-0.4.1 → envd-1.0.0a2}/pkg/editor/vscode/types.go +0 -0
  182. {envd-0.4.1 → envd-1.0.0a2}/pkg/editor/vscode/util.go +0 -0
  183. {envd-0.4.1 → envd-1.0.0a2}/pkg/editor/vscode/vscode.go +0 -0
  184. {envd-0.4.1 → envd-1.0.0a2}/pkg/editor/vscode/vscode_suite_test.go +0 -0
  185. {envd-0.4.1 → envd-1.0.0a2}/pkg/editor/vscode/vscode_test.go +0 -0
  186. {envd-0.4.1 → envd-1.0.0a2}/pkg/envd/docker_test.go +0 -0
  187. {envd-0.4.1 → envd-1.0.0a2}/pkg/envd/engine.go +0 -0
  188. {envd-0.4.1 → envd-1.0.0a2}/pkg/envd/envdserver.go +0 -0
  189. {envd-0.4.1 → envd-1.0.0a2}/pkg/envd/factory.go +0 -0
  190. {envd-0.4.1 → envd-1.0.0a2}/pkg/envd/types.go +0 -0
  191. {envd-0.4.1 → envd-1.0.0a2}/pkg/flag/consts.go +0 -0
  192. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/auth.go +0 -0
  193. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/auth_test.go +0 -0
  194. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/cache.go +0 -0
  195. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/config.go +0 -0
  196. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/context.go +0 -0
  197. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/context_test.go +0 -0
  198. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/data.go +0 -0
  199. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/home_suite_test.go +0 -0
  200. {envd-0.4.1 → envd-1.0.0a2}/pkg/home/manager_test.go +0 -0
  201. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/interpreter.go +0 -0
  202. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/mock/mock.go +0 -0
  203. {envd-0.4.1/pkg/lang/frontend/starlark/v0 → envd-1.0.0a2/pkg/lang/frontend/starlark/v1}/builtin/builtin.go +0 -0
  204. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/config/config.go +0 -0
  205. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/config/const.go +0 -0
  206. {envd-0.4.1/pkg/lang/frontend/starlark/v0 → envd-1.0.0a2/pkg/lang/frontend/starlark/v1}/data/const.go +0 -0
  207. {envd-0.4.1/pkg/lang/frontend/starlark/v0 → envd-1.0.0a2/pkg/lang/frontend/starlark/v1}/data/rule.go +0 -0
  208. {envd-0.4.1/pkg/lang/frontend/starlark/v0 → envd-1.0.0a2/pkg/lang/frontend/starlark/v1}/data/util.go +0 -0
  209. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/install/const.go +0 -0
  210. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/install/install.go +0 -0
  211. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/interpreter.go +0 -0
  212. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/interpreter_test.go +0 -0
  213. {envd-0.4.1/pkg/lang/frontend/starlark/v0 → envd-1.0.0a2/pkg/lang/frontend/starlark/v1}/io/const.go +0 -0
  214. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/io/io.go +0 -0
  215. {envd-0.4.1/pkg/lang/frontend/starlark/v0 → envd-1.0.0a2/pkg/lang/frontend/starlark/v1}/runtime/const.go +0 -0
  216. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/runtime/runtime.go +0 -0
  217. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/starlark_suite_test.go +0 -0
  218. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/testdata/test.envd +0 -0
  219. {envd-0.4.1/pkg/lang/frontend/starlark/v0 → envd-1.0.0a2/pkg/lang/frontend/starlark/v1}/universe/const.go +0 -0
  220. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/frontend/starlark/v1/universe/universe.go +0 -0
  221. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/types.go +0 -0
  222. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/cache.go +0 -0
  223. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/checker.go +0 -0
  224. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/consts.go +0 -0
  225. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/editor.go +0 -0
  226. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/editor_test.go +0 -0
  227. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/fs.go +0 -0
  228. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/get_conda.sh +0 -0
  229. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/git.go +0 -0
  230. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/install_conda.sh +0 -0
  231. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/interface.go +0 -0
  232. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/shell.go +0 -0
  233. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/supervisor.go +0 -0
  234. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/types.go +0 -0
  235. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/user.go +0 -0
  236. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/util.go +0 -0
  237. {envd-0.4.1 → envd-1.0.0a2}/pkg/lang/ir/v1/util_test.go +0 -0
  238. {envd-0.4.1 → envd-1.0.0a2}/pkg/metrics/collector.go +0 -0
  239. {envd-0.4.1 → envd-1.0.0a2}/pkg/metrics/docker_collector.go +0 -0
  240. {envd-0.4.1 → envd-1.0.0a2}/pkg/metrics/helper.go +0 -0
  241. {envd-0.4.1 → envd-1.0.0a2}/pkg/metrics/model.go +0 -0
  242. {envd-0.4.1 → envd-1.0.0a2}/pkg/metrics/widget.go +0 -0
  243. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/compileui/display.go +0 -0
  244. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/compileui/mock/mock.go +0 -0
  245. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/compileui/term.go +0 -0
  246. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/compileui/term_windows.go +0 -0
  247. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/compileui/trace.go +0 -0
  248. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/compileui/types.go +0 -0
  249. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/mode/mode.go +0 -0
  250. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/progressui/display.go +0 -0
  251. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/progressui/display_test.go +0 -0
  252. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/progressui/printer.go +0 -0
  253. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/progressui/term.go +0 -0
  254. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/progressui/term_windows.go +0 -0
  255. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/progresswriter/printer.go +0 -0
  256. {envd-0.4.1 → envd-1.0.0a2}/pkg/progress/progresswriter/writer.go +0 -0
  257. {envd-0.4.1 → envd-1.0.0a2}/pkg/remote/sshd/os.go +0 -0
  258. {envd-0.4.1 → envd-1.0.0a2}/pkg/remote/sshd/sshd.go +0 -0
  259. {envd-0.4.1 → envd-1.0.0a2}/pkg/shell/install.sh +0 -0
  260. {envd-0.4.1 → envd-1.0.0a2}/pkg/shell/zsh.go +0 -0
  261. {envd-0.4.1 → envd-1.0.0a2}/pkg/shell/zsh_suite_test.go +0 -0
  262. {envd-0.4.1 → envd-1.0.0a2}/pkg/shell/zsh_test.go +0 -0
  263. {envd-0.4.1 → envd-1.0.0a2}/pkg/shell/zshrc +0 -0
  264. {envd-0.4.1 → envd-1.0.0a2}/pkg/ssh/config/entry.go +0 -0
  265. {envd-0.4.1 → envd-1.0.0a2}/pkg/ssh/config/key.go +0 -0
  266. {envd-0.4.1 → envd-1.0.0a2}/pkg/ssh/config/ssh_config.go +0 -0
  267. {envd-0.4.1 → envd-1.0.0a2}/pkg/ssh/config/ssh_config_suite_test.go +0 -0
  268. {envd-0.4.1 → envd-1.0.0a2}/pkg/ssh/config/ssh_config_test.go +0 -0
  269. {envd-0.4.1 → envd-1.0.0a2}/pkg/ssh/copy.go +0 -0
  270. {envd-0.4.1 → envd-1.0.0a2}/pkg/ssh/ssh.go +0 -0
  271. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/client.go +0 -0
  272. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/config.go +0 -0
  273. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/device.go +0 -0
  274. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/event.go +0 -0
  275. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/file.go +0 -0
  276. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/folder.go +0 -0
  277. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/install.go +0 -0
  278. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/syncthing.go +0 -0
  279. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/syncthing_test.go +0 -0
  280. {envd-0.4.1 → envd-1.0.0a2}/pkg/syncthing/util.go +0 -0
  281. {envd-0.4.1 → envd-1.0.0a2}/pkg/types/container.go +0 -0
  282. {envd-0.4.1 → envd-1.0.0a2}/pkg/types/envd.go +0 -0
  283. {envd-0.4.1 → envd-1.0.0a2}/pkg/types/label.go +0 -0
  284. {envd-0.4.1 → envd-1.0.0a2}/pkg/types/types_suite_test.go +0 -0
  285. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/buildkitutil/buildkit.go +0 -0
  286. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/buildkitutil/buildkit_test.go +0 -0
  287. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/envutil/env.go +0 -0
  288. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/envutil/env_test.go +0 -0
  289. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/fileutil/file.go +0 -0
  290. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/fileutil/file_test.go +0 -0
  291. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/fileutil/namegenerator.go +0 -0
  292. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/netutil/netutil.go +0 -0
  293. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/netutil/netutil_test.go +0 -0
  294. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/osutil/wsl.go +0 -0
  295. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/runtimeutil/runtimeutil.go +0 -0
  296. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/starlarkutil/stringslice.go +0 -0
  297. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/starlarkutil/stringslice_test.go +0 -0
  298. {envd-0.4.1 → envd-1.0.0a2}/pkg/util/ziputil/unzip.go +0 -0
  299. {envd-0.4.1 → envd-1.0.0a2}/pkg/version/version.go +0 -0
  300. {envd-0.4.1 → envd-1.0.0a2}/pyproject.toml +0 -0
  301. {envd-0.4.1 → envd-1.0.0a2}/scripts/envd-daemonless.sh +0 -0
  302. {envd-0.4.1 → envd-1.0.0a2}/setup.cfg +0 -0
  303. {envd-0.4.1 → envd-1.0.0a2}/typos.toml +0 -0
@@ -0,0 +1 @@
1
+ v1.0.0-alpha.2
@@ -1,5 +1,6 @@
1
1
  # This is an example .goreleaser.yml file with some sensible defaults.
2
2
  # Make sure to check the documentation at https://goreleaser.com
3
+ version: 2
3
4
  before:
4
5
  hooks:
5
6
  - go mod tidy
@@ -60,7 +61,7 @@ archives:
60
61
  checksum:
61
62
  name_template: 'checksums.txt'
62
63
  snapshot:
63
- name_template: "{{ incpatch .Version }}-next"
64
+ version_template: "{{ incpatch .Version }}-next"
64
65
  changelog:
65
66
  use: github
66
67
  sort: asc
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.4.3 (2025-01-20)
4
+
5
+ * [72e3b49](https://github.com/tensorchord/envd/commit/72e3b495ab776b5ba524217099ed7a2c88cbd909) fix(ci): release on ubuntu with wheels from previous steps (#1960)
6
+
7
+ ### Contributors
8
+
9
+ * Keming
10
+
11
+ ## v0.4.2 (2025-01-20)
12
+
13
+ * [7f31185](https://github.com/tensorchord/envd/commit/7f311854f1103c9bf104bdcc3d2a7fa2a2168b25) feat: update pypi meta, fix macos upload (#1958)
14
+
15
+ ### Contributors
16
+
17
+ * Keming
18
+
19
+ ## v0.4.1 (2025-01-20)
20
+
21
+ * [f6d9fd2](https://github.com/tensorchord/envd/commit/f6d9fd280221de5ad4d0045e7e50755568ed3ff0) feat: use PyPI OIDC for release (#1957)
22
+
23
+ ### Contributors
24
+
25
+ * Keming
26
+
27
+ ## v0.4.0 (2025-01-20)
28
+
29
+ * [600e0df](https://github.com/tensorchord/envd/commit/600e0df522b773076fcc2f89600362e23ad4d223) fix: use ubuntu 22.04 for all the dind related tests (#1955)
30
+ * [e737022](https://github.com/tensorchord/envd/commit/e737022c3fe3af01f8bf391feca6e48b08e71753) feat: support fish shell (#1952)
31
+ * [1a54052](https://github.com/tensorchord/envd/commit/1a54052e339cb60e2f4efe04ffddd0ffc798af0f) feat: upgrade to ubuntu 22.04 (#1939)
32
+ * [5ad6168](https://github.com/tensorchord/envd/commit/5ad61681f6d7e699de69020d498f01e6d818eabe) feat: upgrade to python 3.11 (#1940)
33
+ * [1155c9a](https://github.com/tensorchord/envd/commit/1155c9ae53aca62e61584b49cef45b027b4b9557) docs(readme): fix github markdown callout (#1945)
34
+
35
+ ### Contributors
36
+
37
+ * Keming
38
+
3
39
  ## v0.3.47 (2025-01-09)
4
40
 
5
41
  * [95bb1c3](https://github.com/tensorchord/envd/commit/95bb1c37f177c6e6e4ba49d4429e6e8a1ebc6ea5) feat(cache): update cuda & cudnn version (#1943)
@@ -188,7 +188,6 @@ e2e-test:
188
188
  -X $(ROOT)/pkg/version.developmentFlag=true" \
189
189
  -race -v -timeout 20m -coverpkg=./pkg/... -coverprofile=e2e-coverage.out ./e2e
190
190
 
191
-
192
191
  e2e-cli-test:
193
192
  @go test -ldflags "-s -w -X $(ROOT)/pkg/version.version=$(VERSION) \
194
193
  -X $(ROOT)/pkg/version.buildDate=$(BUILD_DATE) \
@@ -196,7 +195,7 @@ e2e-cli-test:
196
195
  -X $(ROOT)/pkg/version.gitTreeState=$(GIT_TREE_STATE) \
197
196
  -X $(ROOT)/pkg/version.gitTag="$(shell git describe --tags --abbrev=0)" \
198
197
  -X $(ROOT)/pkg/version.developmentFlag=true" \
199
- -race -v -timeout 20m -coverpkg=./pkg/... -coverprofile=e2e-cli-coverage.out ./e2e/v0/cli
198
+ -race -v -timeout 20m -coverpkg=./pkg/... -coverprofile=e2e-cli-coverage.out ./e2e/cli
200
199
 
201
200
  e2e-lang-test:
202
201
  @go test -ldflags "-s -w -X $(ROOT)/pkg/version.version=$(VERSION) \
@@ -205,7 +204,7 @@ e2e-lang-test:
205
204
  -X $(ROOT)/pkg/version.gitTreeState=$(GIT_TREE_STATE) \
206
205
  -X $(ROOT)/pkg/version.gitTag="$(shell git describe --tags --abbrev=0)" \
207
206
  -X $(ROOT)/pkg/version.developmentFlag=true" \
208
- -race -v -timeout 20m -coverpkg=./pkg/... -coverprofile=e2e-lang-coverage.out ./e2e/v0/language
207
+ -race -v -timeout 20m -coverpkg=./pkg/... -coverprofile=e2e-lang-coverage.out ./e2e/language
209
208
 
210
209
  e2e-doc-test:
211
210
  @go test -ldflags "-s -w -X $(ROOT)/pkg/version.version=$(VERSION) \
@@ -214,34 +213,7 @@ e2e-doc-test:
214
213
  -X $(ROOT)/pkg/version.gitTreeState=$(GIT_TREE_STATE) \
215
214
  -X $(ROOT)/pkg/version.gitTag="$(shell git describe --tags --abbrev=0)" \
216
215
  -X $(ROOT)/pkg/version.developmentFlag=true" \
217
- -race -v -timeout 60m -coverpkg=./pkg/... -coverprofile=e2e-doc-coverage.out ./e2e/v0/docs
218
-
219
- e2e-cli-test-v1:
220
- @go test -ldflags "-s -w -X $(ROOT)/pkg/version.version=$(VERSION) \
221
- -X $(ROOT)/pkg/version.buildDate=$(BUILD_DATE) \
222
- -X $(ROOT)/pkg/version.gitCommit=$(GIT_COMMIT) \
223
- -X $(ROOT)/pkg/version.gitTreeState=$(GIT_TREE_STATE) \
224
- -X $(ROOT)/pkg/version.gitTag="$(shell git describe --tags --abbrev=0)" \
225
- -X $(ROOT)/pkg/version.developmentFlag=true" \
226
- -race -v -timeout 20m -coverpkg=./pkg/... -coverprofile=e2e-cli-v1-coverage.out ./e2e/v1/cli
227
-
228
- e2e-lang-test-v1:
229
- @go test -ldflags "-s -w -X $(ROOT)/pkg/version.version=$(VERSION) \
230
- -X $(ROOT)/pkg/version.buildDate=$(BUILD_DATE) \
231
- -X $(ROOT)/pkg/version.gitCommit=$(GIT_COMMIT) \
232
- -X $(ROOT)/pkg/version.gitTreeState=$(GIT_TREE_STATE) \
233
- -X $(ROOT)/pkg/version.gitTag="$(shell git describe --tags --abbrev=0)" \
234
- -X $(ROOT)/pkg/version.developmentFlag=true" \
235
- -race -v -timeout 20m -coverpkg=./pkg/... -coverprofile=e2e-lang-v1-coverage.out ./e2e/v1/language
236
-
237
- e2e-doc-test-v1:
238
- @go test -ldflags "-s -w -X $(ROOT)/pkg/version.version=$(VERSION) \
239
- -X $(ROOT)/pkg/version.buildDate=$(BUILD_DATE) \
240
- -X $(ROOT)/pkg/version.gitCommit=$(GIT_COMMIT) \
241
- -X $(ROOT)/pkg/version.gitTreeState=$(GIT_TREE_STATE) \
242
- -X $(ROOT)/pkg/version.gitTag="$(shell git describe --tags --abbrev=0)" \
243
- -X $(ROOT)/pkg/version.developmentFlag=true" \
244
- -race -v -timeout 60m -coverpkg=./pkg/... -coverprofile=e2e-doc-v1-coverage.out ./e2e/v1/docs
216
+ -race -v -timeout 60m -coverpkg=./pkg/... -coverprofile=e2e-doc-coverage.out ./e2e/docs
245
217
 
246
218
  clean: ## Clean the outputs and artifacts
247
219
  @-rm -vrf ${OUTPUT_DIR}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: envd
3
- Version: 0.4.1
3
+ Version: 1.0.0a2
4
4
  Summary: A development environment management tool for data scientists.
5
5
  Home-page: https://github.com/tensorchord/envd
6
6
  Author: TensorChord
@@ -11,12 +11,9 @@ Classifier: Topic :: Software Development :: Build Tools
11
11
  Classifier: Intended Audience :: Science/Research
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: Apache Software License
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Programming Language :: Python :: 3.10
16
- Classifier: Programming Language :: Python :: 3.11
17
- Classifier: Programming Language :: Python :: 3.12
18
- Classifier: Programming Language :: Python :: 3.13
19
- Requires-Python: >=3.6
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 2
16
+ Classifier: Programming Language :: Python :: 3
20
17
  Description-Content-Type: text/markdown
21
18
  License-File: LICENSE
22
19
 
@@ -59,10 +56,13 @@ Environments built with `envd` provide the following features out-of-the-box:
59
56
 
60
57
  ```python
61
58
  def build():
59
+ base(dev=True)
60
+ install.conda()
61
+ install.python()
62
62
  install.python_packages(name = [
63
63
  "numpy",
64
64
  ])
65
- shell("zsh")
65
+ shell("fish")
66
66
  config.jupyter()
67
67
  ```
68
68
 
@@ -114,7 +114,9 @@ Forget copy-pasting Dockerfile instructions - use envd to easily build functions
114
114
  envdlib = include("https://github.com/tensorchord/envdlib")
115
115
 
116
116
  def build():
117
- base(os="ubuntu22.04", language="python")
117
+ base(dev=True)
118
+ install.conda()
119
+ install.python()
118
120
  envdlib.tensorboard(host_port=8888)
119
121
  ```
120
122
 
@@ -198,13 +200,15 @@ The build manifest `build.envd` looks like:
198
200
 
199
201
  ```python title=build.envd
200
202
  def build():
201
- base(os="ubuntu22.04", language="python3")
203
+ base(dev=True)
204
+ install.conda()
205
+ install.python()
202
206
  # Configure the pip index if needed.
203
207
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
204
208
  install.python_packages(name = [
205
209
  "numpy",
206
210
  ])
207
- shell("zsh")
211
+ shell("fish")
208
212
  ```
209
213
 
210
214
  *Note that we use Python here as an example but please check out examples for other languages such as R and Julia [here](https://github.com/tensorchord/envd/tree/main/examples).*
@@ -217,29 +221,34 @@ cd envd-quick-start && envd up
217
221
 
218
222
  ```bash
219
223
  $ cd envd-quick-start && envd up
220
- [+] ⌚ parse build.envd and download/cache dependencies 2.8s ✅ (finished)
221
- => download oh-my-zsh 2.8s
222
- [+] 🐋 build envd environment 18.3s (25/25) ✅ (finished)
223
- => create apt source dir 0.0s
224
- => local://cache-dir 0.1s
225
- => => transferring cache-dir: 5.12MB 0.1s
226
- ...
227
- => pip install numpy 13.0s
228
- => copy /oh-my-zsh /home/envd/.oh-my-zsh 0.1s
229
- => mkfile /home/envd/install.sh 0.0s
230
- => install oh-my-zsh 0.1s
231
- => mkfile /home/envd/.zshrc 0.0s
232
- => install shell 0.0s
233
- => install PyPI packages 0.0s
234
- => merging all components into one 0.3s
235
- => => merging 0.3s
236
- => mkfile /home/envd/.gitconfig 0.0s
237
- => exporting to oci image format 2.4s
238
- => => exporting layers 2.0s
239
- => => exporting manifest sha256:7dbe9494d2a7a39af16d514b997a5a8f08b637f 0.0s
240
- => => exporting config sha256:1da06b907d53cf8a7312c138c3221e590dedc2717 0.0s
241
- => => sending tarball 0.4s
242
- envd-quick-start via Py v3.9.13 via 🅒 envd
224
+ [+] ⌚ parse build.envd and download/cache dependencies 6.2s ✅ (finished)
225
+ [+] build envd environment 19.0s (47/47) FINISHED
226
+ => CACHED [internal] setting pip cache mount permissions 0.0s
227
+ => docker-image://docker.io/tensorchord/envd-sshd-from-scratch:v0.4.3 2.3s
228
+ => => resolve docker.io/tensorchord/envd-sshd-from-scratch:v0.4.3 2.3s
229
+ => docker-image://docker.io/library/ubuntu:22.04 0.0s
230
+ ......
231
+ => [internal] pip install numpy 2.5s
232
+ => CACHED [internal] download fish shell 0.0s
233
+ => [internal] configure user permissions for /opt/conda 1.0s
234
+ => [internal] create dir for ssh key 0.5s
235
+ => [internal] install ssh keys 0.2s
236
+ => [internal] copy fish shell from the builder image 0.2s
237
+ => [internal] install fish shell 0.5s
238
+ ......
239
+ => [internal] create work dir: /home/envd/envd-quick-start 0.2s
240
+ => exporting to image 7.7s
241
+ => => exporting layers 7.7s
242
+ => => writing image sha256:464a0c12759d3d1732404f217d5c6e06d0ee4890cccd66391a608daf2bd314e4 0.0s
243
+ => => naming to docker.io/library/envd-quick-start:dev 0.0s
244
+ ------
245
+ > importing cache manifest from docker.io/tensorchord/python-cache:envd-v0.4.3:
246
+ ------
247
+ ⣽ [5/5] attach the environment [2s]
248
+ Welcome to fish, the friendly interactive shell
249
+ Type help for instructions on how to use fish
250
+
251
+ envd-quick-start on git master [!] via Py v3.11.11 via 🅒 envd as sudo
243
252
  ⬢ [envd]❯ # You are in the container-based environment!
244
253
  ```
245
254
 
@@ -249,13 +258,15 @@ Please edit the `build.envd` to enable jupyter notebook:
249
258
 
250
259
  ```python title=build.envd
251
260
  def build():
252
- base(os="ubuntu22.04", language="python3")
261
+ base(dev=True)
262
+ install.conda()
263
+ install.python()
253
264
  # Configure the pip index if needed.
254
265
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
255
266
  install.python_packages(name = [
256
267
  "numpy",
257
268
  ])
258
- shell("zsh")
269
+ shell("fish")
259
270
  config.jupyter()
260
271
  ```
261
272
 
@@ -271,7 +282,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
271
282
  ## Difference between v0 and v1
272
283
 
273
284
  > [!NOTE]
274
- > To use the `v1` config file, add `# syntax=v1` to the first line of your `build.envd` file.
285
+ > Start from `envd v1.0`, `v1` syntax is the default syntax for `build.envd` file.
275
286
 
276
287
  | Features | v0 | v1 |
277
288
  | --- | --- | --- |
@@ -281,11 +292,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
281
292
  | support serving | ⚠️ | ✅ |
282
293
  | support custom base image | ⚠️ | ✅ |
283
294
  | support installing multiple languages | ⚠️ | ✅ |
284
- | support `moby` builder | ❌ | ✅ <sup>[(a)](#v1-moby)</sup> |
285
-
286
- > [!NOTE]
287
- > <a name="v1-moby">(a)</a> To use the `moby` builder, you will need to create a new context with `envd context create --name moby-test --builder moby-worker --use`.
288
- > For more information about the `moby` builder, check the [issue-1693](https://github.com/tensorchord/envd/issues/1693).
295
+ | support `moby` builder | ❌ | ✅ |
289
296
 
290
297
  > [!IMPORTANT]
291
298
  > For more details, check the [upgrade to v1](https://envd.tensorchord.ai/guide/v1.html) doc.
@@ -37,10 +37,13 @@ Environments built with `envd` provide the following features out-of-the-box:
37
37
 
38
38
  ```python
39
39
  def build():
40
+ base(dev=True)
41
+ install.conda()
42
+ install.python()
40
43
  install.python_packages(name = [
41
44
  "numpy",
42
45
  ])
43
- shell("zsh")
46
+ shell("fish")
44
47
  config.jupyter()
45
48
  ```
46
49
 
@@ -92,7 +95,9 @@ Forget copy-pasting Dockerfile instructions - use envd to easily build functions
92
95
  envdlib = include("https://github.com/tensorchord/envdlib")
93
96
 
94
97
  def build():
95
- base(os="ubuntu22.04", language="python")
98
+ base(dev=True)
99
+ install.conda()
100
+ install.python()
96
101
  envdlib.tensorboard(host_port=8888)
97
102
  ```
98
103
 
@@ -176,13 +181,15 @@ The build manifest `build.envd` looks like:
176
181
 
177
182
  ```python title=build.envd
178
183
  def build():
179
- base(os="ubuntu22.04", language="python3")
184
+ base(dev=True)
185
+ install.conda()
186
+ install.python()
180
187
  # Configure the pip index if needed.
181
188
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
182
189
  install.python_packages(name = [
183
190
  "numpy",
184
191
  ])
185
- shell("zsh")
192
+ shell("fish")
186
193
  ```
187
194
 
188
195
  *Note that we use Python here as an example but please check out examples for other languages such as R and Julia [here](https://github.com/tensorchord/envd/tree/main/examples).*
@@ -195,29 +202,34 @@ cd envd-quick-start && envd up
195
202
 
196
203
  ```bash
197
204
  $ cd envd-quick-start && envd up
198
- [+] ⌚ parse build.envd and download/cache dependencies 2.8s ✅ (finished)
199
- => download oh-my-zsh 2.8s
200
- [+] 🐋 build envd environment 18.3s (25/25) ✅ (finished)
201
- => create apt source dir 0.0s
202
- => local://cache-dir 0.1s
203
- => => transferring cache-dir: 5.12MB 0.1s
204
- ...
205
- => pip install numpy 13.0s
206
- => copy /oh-my-zsh /home/envd/.oh-my-zsh 0.1s
207
- => mkfile /home/envd/install.sh 0.0s
208
- => install oh-my-zsh 0.1s
209
- => mkfile /home/envd/.zshrc 0.0s
210
- => install shell 0.0s
211
- => install PyPI packages 0.0s
212
- => merging all components into one 0.3s
213
- => => merging 0.3s
214
- => mkfile /home/envd/.gitconfig 0.0s
215
- => exporting to oci image format 2.4s
216
- => => exporting layers 2.0s
217
- => => exporting manifest sha256:7dbe9494d2a7a39af16d514b997a5a8f08b637f 0.0s
218
- => => exporting config sha256:1da06b907d53cf8a7312c138c3221e590dedc2717 0.0s
219
- => => sending tarball 0.4s
220
- envd-quick-start via Py v3.9.13 via 🅒 envd
205
+ [+] ⌚ parse build.envd and download/cache dependencies 6.2s ✅ (finished)
206
+ [+] build envd environment 19.0s (47/47) FINISHED
207
+ => CACHED [internal] setting pip cache mount permissions 0.0s
208
+ => docker-image://docker.io/tensorchord/envd-sshd-from-scratch:v0.4.3 2.3s
209
+ => => resolve docker.io/tensorchord/envd-sshd-from-scratch:v0.4.3 2.3s
210
+ => docker-image://docker.io/library/ubuntu:22.04 0.0s
211
+ ......
212
+ => [internal] pip install numpy 2.5s
213
+ => CACHED [internal] download fish shell 0.0s
214
+ => [internal] configure user permissions for /opt/conda 1.0s
215
+ => [internal] create dir for ssh key 0.5s
216
+ => [internal] install ssh keys 0.2s
217
+ => [internal] copy fish shell from the builder image 0.2s
218
+ => [internal] install fish shell 0.5s
219
+ ......
220
+ => [internal] create work dir: /home/envd/envd-quick-start 0.2s
221
+ => exporting to image 7.7s
222
+ => => exporting layers 7.7s
223
+ => => writing image sha256:464a0c12759d3d1732404f217d5c6e06d0ee4890cccd66391a608daf2bd314e4 0.0s
224
+ => => naming to docker.io/library/envd-quick-start:dev 0.0s
225
+ ------
226
+ > importing cache manifest from docker.io/tensorchord/python-cache:envd-v0.4.3:
227
+ ------
228
+ ⣽ [5/5] attach the environment [2s]
229
+ Welcome to fish, the friendly interactive shell
230
+ Type help for instructions on how to use fish
231
+
232
+ envd-quick-start on git master [!] via Py v3.11.11 via 🅒 envd as sudo
221
233
  ⬢ [envd]❯ # You are in the container-based environment!
222
234
  ```
223
235
 
@@ -227,13 +239,15 @@ Please edit the `build.envd` to enable jupyter notebook:
227
239
 
228
240
  ```python title=build.envd
229
241
  def build():
230
- base(os="ubuntu22.04", language="python3")
242
+ base(dev=True)
243
+ install.conda()
244
+ install.python()
231
245
  # Configure the pip index if needed.
232
246
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
233
247
  install.python_packages(name = [
234
248
  "numpy",
235
249
  ])
236
- shell("zsh")
250
+ shell("fish")
237
251
  config.jupyter()
238
252
  ```
239
253
 
@@ -249,7 +263,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
249
263
  ## Difference between v0 and v1
250
264
 
251
265
  > [!NOTE]
252
- > To use the `v1` config file, add `# syntax=v1` to the first line of your `build.envd` file.
266
+ > Start from `envd v1.0`, `v1` syntax is the default syntax for `build.envd` file.
253
267
 
254
268
  | Features | v0 | v1 |
255
269
  | --- | --- | --- |
@@ -259,11 +273,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
259
273
  | support serving | ⚠️ | ✅ |
260
274
  | support custom base image | ⚠️ | ✅ |
261
275
  | support installing multiple languages | ⚠️ | ✅ |
262
- | support `moby` builder | ❌ | ✅ <sup>[(a)](#v1-moby)</sup> |
263
-
264
- > [!NOTE]
265
- > <a name="v1-moby">(a)</a> To use the `moby` builder, you will need to create a new context with `envd context create --name moby-test --builder moby-worker --use`.
266
- > For more information about the `moby` builder, check the [issue-1693](https://github.com/tensorchord/envd/issues/1693).
276
+ | support `moby` builder | ❌ | ✅ |
267
277
 
268
278
  > [!IMPORTANT]
269
279
  > For more details, check the [upgrade to v1](https://envd.tensorchord.ai/guide/v1.html) doc.
@@ -1,32 +1,45 @@
1
1
  def build():
2
- base(os="ubuntu22.04", language="python3")
2
+ """default"""
3
+ base(dev=True)
4
+ install.conda()
5
+ install.python()
3
6
 
4
7
 
5
8
  def build_gpu_11_2():
6
9
  """tensorflow"""
7
- base(os="ubuntu22.04", language="python3")
10
+ base(dev=True)
11
+ install.conda()
12
+ install.python()
8
13
  install.cuda(version="11.2.2", cudnn="8")
9
14
 
10
15
 
11
16
  def build_gpu_11_3():
12
17
  """pytorch"""
13
- base(os="ubuntu22.04", language="python3")
18
+ base(dev=True)
19
+ install.conda()
20
+ install.python()
14
21
  install.cuda(version="11.3.1", cudnn="8")
15
22
 
16
23
 
17
24
  def build_gpu_11_6():
18
25
  """pytorch"""
19
- base(os="ubuntu22.04", language="python3")
26
+ base(dev=True)
27
+ install.conda()
28
+ install.python()
20
29
  install.cuda(version="11.6.2", cudnn="8")
21
30
 
22
31
 
23
32
  def build_gpu_11_8():
24
33
  """pytorch"""
25
- base(os="ubuntu20.04", language="python3")
34
+ base(dev=True)
35
+ install.conda()
36
+ install.python()
26
37
  install.cuda(version="11.8.0", cudnn="8")
27
38
 
28
39
 
29
40
  def build_gpu_12_3():
30
41
  """pytorch"""
31
- base(os="ubuntu20.04", language="python3")
42
+ base(dev=True)
43
+ install.conda()
44
+ install.python()
32
45
  install.cuda(version="12.3.2", cudnn="9")
@@ -19,6 +19,12 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
+
23
+ ::: warning
24
+ v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
25
+
26
+ If you want to use v0 syntax, try `pip install 'envd<1'`.
27
+ :::
22
28
  """
23
29
 
24
30
  from typing import List, Optional
@@ -19,6 +19,12 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
+
23
+ ::: warning
24
+ v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
25
+
26
+ If you want to use v0 syntax, try `pip install 'envd<1'`.
27
+ :::
22
28
  """
23
29
 
24
30
  from typing import List, Optional
@@ -19,6 +19,12 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
+
23
+ ::: warning
24
+ v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
25
+
26
+ If you want to use v0 syntax, try `pip install 'envd<1'`.
27
+ :::
22
28
  """
23
29
 
24
30
  from typing import List, Optional
@@ -19,6 +19,12 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
+
23
+ ::: warning
24
+ v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
25
+
26
+ If you want to use v0 syntax, try `pip install 'envd<1'`.
27
+ :::
22
28
  """
23
29
 
24
30
  from typing import Optional
@@ -21,9 +21,9 @@ Please update the python file there instead of directly editing file inside envd
21
21
  :::
22
22
 
23
23
  ::: warning
24
- Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
24
+ v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
25
25
 
26
- v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
26
+ If you want to use v0 syntax, try `pip install 'envd<1'`.
27
27
  :::
28
28
  """
29
29
 
@@ -19,12 +19,6 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
-
23
- ::: warning
24
- Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
25
-
26
- v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
27
- :::
28
22
  """
29
23
 
30
24
  from typing import List, Optional
@@ -47,7 +41,7 @@ def shell(name: str = "bash"):
47
41
  """Interactive shell
48
42
 
49
43
  Args:
50
- name (str): shell name (i.e. `zsh`, `bash`)
44
+ name (str): shell name (i.e. `zsh`, `bash`, `fish`)
51
45
  """
52
46
 
53
47
 
@@ -19,12 +19,6 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
-
23
- ::: warning
24
- Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
25
-
26
- v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
27
- :::
28
22
  """
29
23
 
30
24
  from typing import List, Optional
@@ -19,12 +19,6 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
-
23
- ::: warning
24
- Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
25
-
26
- v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
27
- :::
28
22
  """
29
23
 
30
24
  from typing import Optional, Sequence
@@ -19,12 +19,6 @@ Note that the documentation is automatically generated from [envd/api](https://g
19
19
  in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
20
20
  Please update the python file there instead of directly editing file inside envd-docs repo.
21
21
  :::
22
-
23
- ::: warning
24
- Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
25
-
26
- v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
27
- :::
28
22
  """
29
23
 
30
24
  from typing import Optional