hydra-python 0.16.1__tar.gz → 0.17.1__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.
- {hydra_python-0.16.1 → hydra_python-0.17.1}/.gitignore +22 -10
- {hydra_python-0.16.1 → hydra_python-0.17.1}/PKG-INFO +3 -3
- {hydra_python-0.16.1 → hydra_python-0.17.1}/README.md +1 -1
- hydra_python-0.17.1/build/main/digest.json +55 -0
- {hydra_python-0.16.1 → hydra_python-0.17.1}/pyproject.toml +2 -2
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/dsl/python/environment.py +151 -1
- hydra_python-0.17.1/src/main/python/hydra/dsl/python/names.py +157 -0
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/dsl/python/syntax.py +2222 -2
- hydra_python-0.17.1/src/main/python/hydra/dsl/python/utils.py +507 -0
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/python/coder.py +968 -529
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/python/environment.py +22 -1
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/python/language.py +20 -11
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/python/names.py +86 -38
- hydra_python-0.17.1/src/main/python/hydra/python/pyproject.py +33 -0
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/python/serde.py +511 -102
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/python/syntax.py +840 -2
- hydra_python-0.17.1/src/main/python/hydra/python/testing.py +99 -0
- {hydra_python-0.16.1 → hydra_python-0.17.1}/src/main/python/hydra/python/utils.py +181 -45
- hydra_python-0.16.1/src/main/python/hydra/python/testing.py +0 -83
- {hydra_python-0.16.1 → hydra_python-0.17.1}/LICENSE +0 -0
- {hydra_python-0.16.1 → hydra_python-0.17.1}/NOTICE +0 -0
|
@@ -21,10 +21,14 @@ dist-newstyle/
|
|
|
21
21
|
stack.yaml.lock
|
|
22
22
|
*.cabal
|
|
23
23
|
|
|
24
|
-
# Java / Gradle
|
|
24
|
+
# Java / Gradle. Path-anchored (not a bare "build") so this can never swallow
|
|
25
|
+
# a module-namespace directory literally named "build" (e.g. the
|
|
26
|
+
# hydra.build.* family under dist/json/, #416) -- it only matches the
|
|
27
|
+
# specific Gradle output roots below.
|
|
25
28
|
.gradle
|
|
26
29
|
gradle.properties
|
|
27
|
-
build
|
|
30
|
+
/packages/hydra-java/build/
|
|
31
|
+
/heads/java/json-driver/build/
|
|
28
32
|
|
|
29
33
|
# IDEs
|
|
30
34
|
.bsp/
|
|
@@ -77,18 +81,23 @@ docs/work/
|
|
|
77
81
|
# Exception within the tracked dist/haskell/ tree (#418): the hand-written
|
|
78
82
|
# distribution-package content that sync-haskell.sh OVERLAYS from its canonical
|
|
79
83
|
# home under the top-level overlay/haskell/ tree is NOT committed — it would
|
|
80
|
-
# duplicate the canonical source
|
|
81
|
-
#
|
|
84
|
+
# duplicate the canonical source. (Removing dist/haskell/ from SCM entirely is
|
|
85
|
+
# deferred; see #376.) The canonical copies under overlay/haskell/ ARE tracked.
|
|
82
86
|
# - hydra umbrella package (entirely copied)
|
|
83
87
|
dist/haskell/hydra/
|
|
84
|
-
# - hydra-kernel hand-written runtime (copied from
|
|
88
|
+
# - hydra-kernel hand-written runtime (copied from overlay/haskell/hydra-kernel/;
|
|
89
|
+
# relocated to the Hydra.Overlay.Haskell.* namespace in #501)
|
|
85
90
|
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Settings.hs
|
|
86
91
|
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Kernel.hs
|
|
87
|
-
dist/haskell/hydra-kernel/src/main/haskell/Hydra/
|
|
88
|
-
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Dsl/Literals.hs
|
|
89
|
-
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Dsl/Meta/Common.hs
|
|
92
|
+
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Overlay/
|
|
90
93
|
# - hydra-kernel hand-written test bridge (overlaid from overlay/haskell/.../src/test/)
|
|
91
94
|
dist/haskell/hydra-kernel/src/test/haskell/Hydra/Test/TestEnv.hs
|
|
95
|
+
dist/haskell/hydra-kernel/src/test/haskell/Hydra/Test/DefaultImplGraph.hs
|
|
96
|
+
# - hydra-pg / hydra-typescript hand-written DSL helpers (overlaid from
|
|
97
|
+
# overlay/haskell/hydra-{pg,typescript}/; relocated to the
|
|
98
|
+
# Hydra.Overlay.Haskell.* namespace in #501/#556)
|
|
99
|
+
dist/haskell/hydra-pg/src/main/haskell/Hydra/Overlay/
|
|
100
|
+
dist/haskell/hydra-typescript/src/main/haskell/Hydra/Overlay/
|
|
92
101
|
|
|
93
102
|
dist/clojure/
|
|
94
103
|
dist/common-lisp/
|
|
@@ -116,8 +125,11 @@ dist/haskell/*/.test-input-hash.txt
|
|
|
116
125
|
# file is a cache miss, never a correctness problem. Tracking digests
|
|
117
126
|
# previously caused merge conflicts on every cross-branch merge because
|
|
118
127
|
# the hashes always diverged. See #379. The matching root-level cache
|
|
119
|
-
# directory is dist/json/build/ (universe digest).
|
|
120
|
-
dist/**/build/
|
|
128
|
+
# directory is dist/json/build/ (universe digest). Depth-anchored
|
|
129
|
+
# (rather than dist/**/build/) so it can never swallow a module-namespace
|
|
130
|
+
# directory literally named "build" (e.g. the hydra.build.* family, #416).
|
|
131
|
+
dist/json/build/
|
|
132
|
+
dist/*/*/build/
|
|
121
133
|
|
|
122
134
|
# Other
|
|
123
135
|
*.log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hydra-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.17.1
|
|
4
4
|
Summary: Python support for Hydra
|
|
5
5
|
Project-URL: Homepage, https://github.com/CategoricalData/hydra
|
|
6
6
|
Project-URL: Repository, https://github.com/CategoricalData/hydra
|
|
@@ -9,7 +9,7 @@ License: Apache-2.0
|
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
License-File: NOTICE
|
|
11
11
|
Requires-Python: >=3.12
|
|
12
|
-
Requires-Dist: hydra-kernel==0.
|
|
12
|
+
Requires-Dist: hydra-kernel==0.17.1
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
15
|
# Hydra-Python
|
|
@@ -133,7 +133,7 @@ Hydra's Python code is split across three locations
|
|
|
133
133
|
|
|
134
134
|
- **Python kernel overlay** ([`overlay/python/hydra-kernel/src/main/python/`](https://github.com/CategoricalData/hydra/tree/main/overlay/python/hydra-kernel/src/main/python))
|
|
135
135
|
— hand-written Python kernel runtime, overlaid onto `dist/python/hydra-kernel/`
|
|
136
|
-
by `bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
136
|
+
by `heads/python/bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
137
137
|
- `hydra/lib/` — primitive function implementations
|
|
138
138
|
- `hydra/dsl/` — DSL utilities (FrozenDict, Maybe, ...)
|
|
139
139
|
- `hydra/python/util/` — `ConsList`, `Lazy`, `PersistentMap`, `PersistentSet`
|
|
@@ -119,7 +119,7 @@ Hydra's Python code is split across three locations
|
|
|
119
119
|
|
|
120
120
|
- **Python kernel overlay** ([`overlay/python/hydra-kernel/src/main/python/`](https://github.com/CategoricalData/hydra/tree/main/overlay/python/hydra-kernel/src/main/python))
|
|
121
121
|
— hand-written Python kernel runtime, overlaid onto `dist/python/hydra-kernel/`
|
|
122
|
-
by `bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
122
|
+
by `heads/python/bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
123
123
|
- `hydra/lib/` — primitive function implementations
|
|
124
124
|
- `hydra/dsl/` — DSL utilities (FrozenDict, Maybe, ...)
|
|
125
125
|
- `hydra/python/util/` — `ConsList`, `Lazy`, `PersistentMap`, `PersistentSet`
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"digestFormatVersion": 1,
|
|
3
|
+
"moduleFormatVersion": 1,
|
|
4
|
+
"generator": "fac2cd88719cd8aa",
|
|
5
|
+
"generation": {
|
|
6
|
+
"generatorId": "fac2cd88719cd8aa",
|
|
7
|
+
"mode": "published",
|
|
8
|
+
"hydraVersion": "0.17.0",
|
|
9
|
+
"revision": "68f5773dae-dirty",
|
|
10
|
+
"timestamp": "2026-07-10T23:43:07Z",
|
|
11
|
+
"host": "python"
|
|
12
|
+
},
|
|
13
|
+
"selfHash": "2e7e5a8f53bbb9198075728dc87c31624a25d245bc3cd02fff6ef77157e90091",
|
|
14
|
+
"depHash:hydra-kernel": "8067c7a989a8f25c7823410c00e40eba302a0380f864dc28ff303581ac8c100f",
|
|
15
|
+
"inputs": {
|
|
16
|
+
"hydra.python.coder": { "kind": "Other", "hash": "dc2b9ad0a0fc5cada2f82ff850db14db1368447c62a20e0846c9fca136e84309" },
|
|
17
|
+
"hydra.python.environment": { "kind": "Other", "hash": "e14b76188ef4da15c8f011740ed2751e9b55cd0e13f9d9e9d6917cb644526ac9" },
|
|
18
|
+
"hydra.python.language": { "kind": "Other", "hash": "78fb867a1d0fa6654f46f5d9fd72c2c5607d2934b7c7fbd5f5d830786b4ad91e" },
|
|
19
|
+
"hydra.python.names": { "kind": "Other", "hash": "85e048a96cf966e2280c6ed8f74d9d801d34e8a983e04de1ab3fb73e168d97f8" },
|
|
20
|
+
"hydra.python.pyproject": { "kind": "Other", "hash": "249512648b2b008db234ee348a72056d4d625cfeb0a80d8caacbda95002569a2" },
|
|
21
|
+
"hydra.python.serde": { "kind": "Other", "hash": "56c35209fc8428472299facbb972ce2d63863a4a970714f9b34d34c2af08159c" },
|
|
22
|
+
"hydra.python.syntax": { "kind": "Other", "hash": "88a9154b48fd429f06efa0ba8981bdf12af3fed4de5a057b3304fadc623dbc19" },
|
|
23
|
+
"hydra.python.testing": { "kind": "Other", "hash": "624c33ec2714b57c2d5917c03b590088c210dd5b27b5f3ae78d0476e9f11859b" },
|
|
24
|
+
"hydra.python.utils": { "kind": "Other", "hash": "3f374ef5605f94725379aded1afcb0b5fe5ea84a4e78dd2b0bbc649d0ec672c6" },
|
|
25
|
+
"jsonContent:hydra/dsl/python/environment.json": { "kind": "Other", "hash": "670d83127f7a308b11a577e3481eb9926d366a1046ab99a5e1578b0bf72159c4" },
|
|
26
|
+
"jsonContent:hydra/dsl/python/names.json": { "kind": "Other", "hash": "244d73ec6a140f89bafcbb87dc8570a09f50151508aa0443708e7070749be876" },
|
|
27
|
+
"jsonContent:hydra/dsl/python/syntax.json": { "kind": "Other", "hash": "a99b94b1f3e542d606da15fd6dafa32d858ce7d71ba02f7b21d8bb4881daa4e3" },
|
|
28
|
+
"jsonContent:hydra/dsl/python/utils.json": { "kind": "Other", "hash": "5464cb8e1db43a03b98327746b668050f4159a90f13ce5334c32e6d7dbbceb4c" },
|
|
29
|
+
"jsonContent:hydra/python/coder.json": { "kind": "Other", "hash": "08474252a6c6d5f46df96fd8d2800324e65a04eb610572475cadc07aaacd9f58" },
|
|
30
|
+
"jsonContent:hydra/python/environment.json": { "kind": "Other", "hash": "b5bc63f7d18f47262c90738cb793098f88a97376fd52088b3c8661c1d9ea5cbd" },
|
|
31
|
+
"jsonContent:hydra/python/language.json": { "kind": "Other", "hash": "221e68d68030945db181fdd079be4ff619cb4cd1ad5d4b72b4e70f2aa1bd5230" },
|
|
32
|
+
"jsonContent:hydra/python/names.json": { "kind": "Other", "hash": "593cbc7e36735c0d92e34df76e17e4adc949e593e84bcf697b3163b2209a7b1a" },
|
|
33
|
+
"jsonContent:hydra/python/pyproject.json": { "kind": "Other", "hash": "c94de46f1615e6e82d2f706d01ef04293373f6241a9a42882bb394d51b4f7f53" },
|
|
34
|
+
"jsonContent:hydra/python/serde.json": { "kind": "Other", "hash": "fc154ee28315726ae77a0036d7c83c6481fed08fa9464138730ff702dd5b0434" },
|
|
35
|
+
"jsonContent:hydra/python/syntax.json": { "kind": "Other", "hash": "8dc3a26ac927fa338b273c9deee6317906977a2deec4c2df1e44ff0bbe0a64cd" },
|
|
36
|
+
"jsonContent:hydra/python/testing.json": { "kind": "Other", "hash": "ea1cbdd469bb2fc8bac0445d75df3d97f832f86ec460bacc06056a6f8f5bfb8a" },
|
|
37
|
+
"jsonContent:hydra/python/utils.json": { "kind": "Other", "hash": "19fcf00beab2f029d765d9212ae2b8be4327ef84aa54702dc55dbe620eba74dc" },
|
|
38
|
+
"jsonContent:manifest.json": { "kind": "Other", "hash": "3f94b521766d042381d7bee84596308ea4e35c7e8fb45f8fd8338a8dbe27a0ac" }
|
|
39
|
+
},
|
|
40
|
+
"outputs": {
|
|
41
|
+
"hydra/dsl/python/environment.py": { "kind": "TargetFile", "hash": "b209619140e3be5a139672944bed98f4de87b6ca48ab93981722d158fde1f424" },
|
|
42
|
+
"hydra/dsl/python/names.py": { "kind": "TargetFile", "hash": "3733bed7b32e56239c4c2dd5a748e66ee0f5b9eff629687648a5ebe232508a93" },
|
|
43
|
+
"hydra/dsl/python/syntax.py": { "kind": "TargetFile", "hash": "5fe1c0c739cdac68d1b90d768153e23ebe7c805bafb96ac698a95425e2d7d7b5" },
|
|
44
|
+
"hydra/dsl/python/utils.py": { "kind": "TargetFile", "hash": "fbf8522b1d5c64eb570027d579b512caf7ae3853f010b4e4666746df6d262812" },
|
|
45
|
+
"hydra/python/coder.py": { "kind": "TargetFile", "hash": "c5761e616bd8efc7c1aff800be8f606b1d4b91f8cd27cf1d5ca376873cedc679" },
|
|
46
|
+
"hydra/python/environment.py": { "kind": "TargetFile", "hash": "240979735f3a2d479403834c1a4d7a16f060ad447eb4f3b05fbb2db591d7ad0b" },
|
|
47
|
+
"hydra/python/language.py": { "kind": "TargetFile", "hash": "7ea0c3a6015ec1de92aebeed0963c1af9f3b70c8d57815e477c528c795383604" },
|
|
48
|
+
"hydra/python/names.py": { "kind": "TargetFile", "hash": "da24e2a2622692b875e55987179397f23d243ceb2311572befada3da95fddd7c" },
|
|
49
|
+
"hydra/python/pyproject.py": { "kind": "TargetFile", "hash": "1f9001d8d2273d4783105e099b874c273ce520b58456f9b447cb8d5e9a6a37d7" },
|
|
50
|
+
"hydra/python/serde.py": { "kind": "TargetFile", "hash": "c8f437960117837fd1c0db1300f343e1defb644e0239d4c8ceba9ee8d5e24eeb" },
|
|
51
|
+
"hydra/python/syntax.py": { "kind": "TargetFile", "hash": "24a72af882b47d80cc930f16f51a3e9c1a71c9d8da47a921829f40e847459fca" },
|
|
52
|
+
"hydra/python/testing.py": { "kind": "TargetFile", "hash": "f4e37636391d0abc27a7d722554ded2e8ac7ae8a11f513cb24822d7cdbca4fe7" },
|
|
53
|
+
"hydra/python/utils.py": { "kind": "TargetFile", "hash": "afb0cb6952a26e4be51d8b650e69d793334c37243ab42b910a93c96eaa8ad99b" }
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
[project]
|
|
15
15
|
name = "hydra-python"
|
|
16
|
-
version = "0.
|
|
16
|
+
version = "0.17.1"
|
|
17
17
|
description = "Python support for Hydra"
|
|
18
18
|
readme = "README.md"
|
|
19
19
|
requires-python = ">=3.12"
|
|
@@ -22,7 +22,7 @@ authors = [
|
|
|
22
22
|
{ name = "Joshua Shinavier", email = "josh@fortytwo.net" },
|
|
23
23
|
]
|
|
24
24
|
dependencies = [
|
|
25
|
-
"hydra-kernel == 0.
|
|
25
|
+
"hydra-kernel == 0.17.1",
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.urls]
|