dbt-oss 2.0.0.dev30__tar.gz → 2.0.0rc2__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.
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dbt-oss
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0rc2
|
|
4
4
|
Summary: Build analytics the way engineers build applications
|
|
5
|
-
Requires-Python: >=3.
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Requires-Dist: mashumaro[msgpack]>=3.14
|
|
6
7
|
License: Apache-2.0
|
|
7
8
|
Classifier: Programming Language :: Rust
|
|
8
9
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -8,6 +8,8 @@ Uses only the stdlib plus ``packaging`` (declared in pyproject build-requires).
|
|
|
8
8
|
|
|
9
9
|
import hashlib
|
|
10
10
|
import json
|
|
11
|
+
import os
|
|
12
|
+
import sys
|
|
11
13
|
import time
|
|
12
14
|
import urllib.error
|
|
13
15
|
import urllib.request
|
|
@@ -43,6 +45,37 @@ def _select_wheel():
|
|
|
43
45
|
)
|
|
44
46
|
|
|
45
47
|
|
|
48
|
+
def _emit_notice():
|
|
49
|
+
"""Print the manifest's install-time notice, if it carries one.
|
|
50
|
+
|
|
51
|
+
pip and uv run the build backend as a subprocess and only surface its output
|
|
52
|
+
when the build *fails*, so stderr alone would hide this from a normal
|
|
53
|
+
install. Writing to the controlling terminal as well is best-effort: with no
|
|
54
|
+
tty (CI, redirected output, Windows with no console) it just falls through to
|
|
55
|
+
stderr, where `-v` and the pip log still pick it up. Both land under `-v`,
|
|
56
|
+
which is better than the notice going unseen.
|
|
57
|
+
"""
|
|
58
|
+
notice = _MANIFEST.get("notice")
|
|
59
|
+
if not notice:
|
|
60
|
+
return
|
|
61
|
+
text = "\n" + notice.rstrip("\n") + "\n"
|
|
62
|
+
sys.stderr.write(text)
|
|
63
|
+
sys.stderr.flush()
|
|
64
|
+
try:
|
|
65
|
+
with open(
|
|
66
|
+
"CONOUT$" if os.name == "nt" else "/dev/tty",
|
|
67
|
+
"w",
|
|
68
|
+
encoding="utf-8",
|
|
69
|
+
errors="replace",
|
|
70
|
+
) as tty:
|
|
71
|
+
# uv repaints its progress lines over whatever sits at the cursor,
|
|
72
|
+
# clobbering the tail of the notice; the trailing blanks give that
|
|
73
|
+
# repaint something other than the text to clear.
|
|
74
|
+
tty.write(text + "\n\n\n")
|
|
75
|
+
except (OSError, ValueError):
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
|
|
46
79
|
def _fetch(url):
|
|
47
80
|
last = None
|
|
48
81
|
for attempt in range(1, _RETRIES + 1):
|
|
@@ -60,6 +93,7 @@ def _fetch(url):
|
|
|
60
93
|
|
|
61
94
|
|
|
62
95
|
def build_wheel(wheel_directory, config_settings=None, metadata_directory=None):
|
|
96
|
+
_emit_notice()
|
|
63
97
|
entry = _select_wheel()
|
|
64
98
|
filename = entry["filename"]
|
|
65
99
|
url = "{base}/{file}".format(base=_MANIFEST["base_url"].rstrip("/"), file=filename)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dbt-oss",
|
|
3
|
+
"version": "2.0.0rc2",
|
|
4
|
+
"base_url": "https://github.com/dbt-labs/dbt-core/releases/download/v2.0.0-rc.2",
|
|
5
|
+
"wheels": {
|
|
6
|
+
"macosx_10_12_x86_64": {
|
|
7
|
+
"filename": "dbt_oss-2.0.0rc2-cp311-abi3-macosx_10_12_x86_64.whl",
|
|
8
|
+
"sha256": "e217e22552e50847458d088e9ba994f041ca3f9318ac082cf6ac020e10077dc3"
|
|
9
|
+
},
|
|
10
|
+
"macosx_11_0_arm64": {
|
|
11
|
+
"filename": "dbt_oss-2.0.0rc2-cp311-abi3-macosx_11_0_arm64.whl",
|
|
12
|
+
"sha256": "4af114191bcb4d669b6de8e2d09d434fde79cac631c2fd3005de60870cd5d48f"
|
|
13
|
+
},
|
|
14
|
+
"manylinux_2_28_aarch64": {
|
|
15
|
+
"filename": "dbt_oss-2.0.0rc2-cp311-abi3-manylinux_2_28_aarch64.whl",
|
|
16
|
+
"sha256": "c758013b96ad4e4b9378a881513337cced66ef69be1cfbe253b17c0540675007"
|
|
17
|
+
},
|
|
18
|
+
"manylinux_2_28_x86_64": {
|
|
19
|
+
"filename": "dbt_oss-2.0.0rc2-cp311-abi3-manylinux_2_28_x86_64.whl",
|
|
20
|
+
"sha256": "a11fcd5a52e6dec9481a81ce983b30c730bf55a54520ccebacf60754ecaa754f"
|
|
21
|
+
},
|
|
22
|
+
"win_amd64": {
|
|
23
|
+
"filename": "dbt_oss-2.0.0rc2-cp311-abi3-win_amd64.whl",
|
|
24
|
+
"sha256": "f88ea9aa05a42e78f07281ffdfe3a7be6570d0049c56bf59e9da22d46d880fcd"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dbt-oss",
|
|
3
|
-
"version": "2.0.0.dev30",
|
|
4
|
-
"base_url": "https://github.com/dbt-labs/dbt-core/releases/download/v2.0.0-dev.30",
|
|
5
|
-
"wheels": {
|
|
6
|
-
"macosx_10_12_x86_64": {
|
|
7
|
-
"filename": "dbt_oss-2.0.0.dev30-cp311-abi3-macosx_10_12_x86_64.whl",
|
|
8
|
-
"sha256": "ddb2e768eabdb6aa807e9b2d814e9fbcf81c9557ccfae50b4d938be409b80957"
|
|
9
|
-
},
|
|
10
|
-
"macosx_11_0_arm64": {
|
|
11
|
-
"filename": "dbt_oss-2.0.0.dev30-cp311-abi3-macosx_11_0_arm64.whl",
|
|
12
|
-
"sha256": "9550f5cc35e0e51d3186350a07f8d1a3477b38cd7bd8f4c2b497c8394891e8f9"
|
|
13
|
-
},
|
|
14
|
-
"manylinux_2_28_aarch64": {
|
|
15
|
-
"filename": "dbt_oss-2.0.0.dev30-cp311-abi3-manylinux_2_28_aarch64.whl",
|
|
16
|
-
"sha256": "923f625cdc7f2c42dddc5a77bb7a9018460769ec7553a49b4ed515ab88a6a7da"
|
|
17
|
-
},
|
|
18
|
-
"manylinux_2_28_x86_64": {
|
|
19
|
-
"filename": "dbt_oss-2.0.0.dev30-cp311-abi3-manylinux_2_28_x86_64.whl",
|
|
20
|
-
"sha256": "427e0947e78057708e9ea967248581d9c872ad2da416428ea144d847a216e2f8"
|
|
21
|
-
},
|
|
22
|
-
"win_amd64": {
|
|
23
|
-
"filename": "dbt_oss-2.0.0.dev30-cp311-abi3-win_amd64.whl",
|
|
24
|
-
"sha256": "57f1f0ff3205556a83b364e05ebd24422c149c8edc377fa6d6e570c4f123a2a3"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|