File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 3
3
This changelog only contains breaking and/or significant changes manually introduced to this repository (using Pull Requests).
4
4
All image manifests can be found in [ the wiki] ( https://github.com/jupyter/docker-stacks/wiki ) .
5
5
6
+ ## 2025-03-12
7
+
8
+ Affected: all images.
9
+
10
+ - ** Non-breaking:** Add ` conda ` and ` mamba ` version taggers ([ #2251 ] ( https://github.com/jupyter/docker-stacks/pull/2251 ) ).
11
+
6
12
## 2025-02-21
7
13
8
14
Affected: all images.
Original file line number Diff line number Diff line change 13
13
from tagging .taggers .tagger_interface import TaggerInterface
14
14
from tagging .taggers .ubuntu_version import UbuntuVersionTagger
15
15
from tagging .taggers .versions import (
16
+ CondaVersionTagger ,
16
17
JavaVersionTagger ,
17
18
JuliaVersionTagger ,
18
19
JupyterHubVersionTagger ,
19
20
JupyterLabVersionTagger ,
20
21
JupyterNotebookVersionTagger ,
22
+ MambaVersionTagger ,
21
23
PythonMajorMinorVersionTagger ,
22
24
PythonVersionTagger ,
23
25
PytorchVersionTagger ,
@@ -43,6 +45,8 @@ class ImageDescription:
43
45
UbuntuVersionTagger (),
44
46
PythonMajorMinorVersionTagger (),
45
47
PythonVersionTagger (),
48
+ MambaVersionTagger (),
49
+ CondaVersionTagger (),
46
50
],
47
51
manifests = [CondaEnvironmentManifest (), AptPackagesManifest ()],
48
52
),
Original file line number Diff line number Diff line change @@ -36,6 +36,18 @@ def tag_value(container: Container) -> str:
36
36
return full_version [: full_version .rfind ("." )]
37
37
38
38
39
+ class MambaVersionTagger (TaggerInterface ):
40
+ @staticmethod
41
+ def tag_value (container : Container ) -> str :
42
+ return "mamba-" + _get_program_version (container , "mamba" )
43
+
44
+
45
+ class CondaVersionTagger (TaggerInterface ):
46
+ @staticmethod
47
+ def tag_value (container : Container ) -> str :
48
+ return "conda-" + _get_program_version (container , "conda" ).split ()[1 ]
49
+
50
+
39
51
class JupyterNotebookVersionTagger (TaggerInterface ):
40
52
@staticmethod
41
53
def tag_value (container : Container ) -> str :
You can’t perform that action at this time.
0 commit comments