dbt-oss 2.0.0.dev30__tar.gz → 2.0.0rc1__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.
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.1
2
+ Name: dbt-oss
3
+ Version: 2.0.0rc1
4
+ Requires-Python: >=3.11
5
+ Requires-Dist: mashumaro[msgpack]>=3.14
@@ -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.0rc1",
4
+ "base_url": "https://github.com/dbt-labs/dbt-core/releases/download/v2.0.0-rc.1",
5
+ "wheels": {
6
+ "macosx_10_12_x86_64": {
7
+ "filename": "dbt_oss-2.0.0rc1-cp311-abi3-macosx_10_12_x86_64.whl",
8
+ "sha256": "a67c1a39c5b258eaee9d7c5726daeceee441453b72dbd9e3930474eb48051ed6"
9
+ },
10
+ "macosx_11_0_arm64": {
11
+ "filename": "dbt_oss-2.0.0rc1-cp311-abi3-macosx_11_0_arm64.whl",
12
+ "sha256": "1d5fede441ea18051eb9ba7bada3e67fd45bc5fb6d5197953a7698f6d70c67fa"
13
+ },
14
+ "manylinux_2_28_aarch64": {
15
+ "filename": "dbt_oss-2.0.0rc1-cp311-abi3-manylinux_2_28_aarch64.whl",
16
+ "sha256": "9bfd7f6a01945428a1013deb698dfc4626dc152d5a7637dcc67bddc17bec183a"
17
+ },
18
+ "manylinux_2_28_x86_64": {
19
+ "filename": "dbt_oss-2.0.0rc1-cp311-abi3-manylinux_2_28_x86_64.whl",
20
+ "sha256": "2b7fb54ab1e17a70734a8355f96eacad509a0a993eea8dec068c92b97fdee37b"
21
+ },
22
+ "win_amd64": {
23
+ "filename": "dbt_oss-2.0.0rc1-cp311-abi3-win_amd64.whl",
24
+ "sha256": "4d13eeac9290d0c01a52ddec3bcbb4174be73d6a03e06a9edb268c933f8a5c7a"
25
+ }
26
+ }
27
+ }
@@ -5,5 +5,8 @@ backend-path = ["."]
5
5
 
6
6
  [project]
7
7
  name = "dbt-oss"
8
- version = "2.0.0.dev30"
9
- requires-python = ">=3.9"
8
+ version = "2.0.0rc1"
9
+ requires-python = ">=3.11"
10
+ dependencies = [
11
+ "mashumaro[msgpack]>=3.14",
12
+ ]
@@ -1,97 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: dbt-oss
3
- Version: 2.0.0.dev30
4
- Summary: Build analytics the way engineers build applications
5
- Requires-Python: >=3.9
6
- License: Apache-2.0
7
- Classifier: Programming Language :: Rust
8
- Classifier: Development Status :: 3 - Alpha
9
- Classifier: Operating System :: Microsoft :: Windows
10
- Classifier: Operating System :: MacOS :: MacOS X
11
- Classifier: Operating System :: POSIX :: Linux
12
- Classifier: Intended Audience :: Developers
13
- Classifier: Topic :: Software Development :: Build Tools
14
- Project-URL: Homepage, https://getdbt.com
15
- Project-URL: Repository, https://github.com/dbt-labs/dbt-core
16
- Project-URL: Issues, https://github.com/dbt-labs/dbt-core/issues
17
- Project-URL: Documentation, https://docs.getdbt.com
18
- Author-email: dbt Labs <info@dbtlabs.com>
19
- Description-Content-Type: text/markdown
20
-
21
- <p align="center">
22
- <img src="https://raw.githubusercontent.com/dbt-labs/dbt-core/fa1ea14ddfb1d5ae319d5141844910dd53ab2834/etc/dbt-core.svg" alt="dbt logo" width="750"/>
23
- </p>
24
-
25
- > [!WARNING]
26
- > **dbt Core v1 development has moved to the [`1.latest`](https://github.com/dbt-labs/dbt-core/tree/1.latest) branch.**
27
- > The `main` branch now hosts dbt Core v2.0 (beta) — a ground-up rewrite in Rust that is the foundation of the Fusion engine. If you're looking for the Python implementation of dbt Core, switch to [`1.latest`](https://github.com/dbt-labs/dbt-core/tree/1.latest).
28
-
29
- **[dbt](https://www.getdbt.com/)** enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
30
-
31
- ![architecture](https://raw.githubusercontent.com/dbt-labs/dbt-core/202cb7e51e218c7b29eb3b11ad058bd56b7739de/etc/dbt-transform.png)
32
-
33
- ## About dbt Core v2.0
34
-
35
- > 🚧 dbt Core v2.0 is in beta. Behavior, APIs, and on-disk formats may change before the stable release.
36
-
37
- dbt Core v2.0 is engineered for performance at scale — parsing, compiling, and running projects in a fraction of the time compared to v1. It's released under the Apache 2.0 license and is the foundation of the [Fusion engine](https://docs.getdbt.com/docs/fusion/about-fusion).
38
-
39
- The big shifts from v1:
40
-
41
- - **Faster** — parse and compile times are dramatically improved, especially on the largest dbt projects.
42
- - **Stricter** — a tightly-defined language specification enforces correctness at parse time.
43
- - **More scalable artifacts** — v2.0 produces Parquet artifacts that can be easily queried, joined, and analyzed to understand your dbt project. The artifacts encompass everything in the JSON artifacts (e.g. `manifest.json`), which continue to be produced for backwards compatibility.
44
- - **Easier to install** — distributed as a single self-contained binary, with no Python runtime or dependency management required.
45
- - **A completely revamped local documentation experience** — dbt docs is now powered by those new artifacts and capable of scaling to large projects.
46
-
47
- ### Supported operating systems and architectures
48
-
49
- dbt Core v2.0 and its drivers are compiled per operating system and architecture.
50
-
51
- Legend:
52
- * 🟢 — Supported today
53
- * 🟡 — Not yet supported
54
-
55
- | Operating system | x86-64 | ARM |
56
- |---|---|---|
57
- | macOS | 🟢 | 🟢 |
58
- | Linux | 🟢 | 🟢 |
59
- | Windows | 🟢 | 🟡 |
60
-
61
- ## Understanding dbt
62
-
63
- Analysts using dbt can transform their data by simply writing select statements, while dbt handles turning these statements into tables and views in a data warehouse.
64
-
65
- These select statements, or "models", form a dbt project. Models frequently build on top of one another – dbt makes it easy to [manage relationships](https://docs.getdbt.com/docs/ref) between models, and [visualize these relationships](https://docs.getdbt.com/docs/documentation), as well as assure the quality of your transformations through [testing](https://docs.getdbt.com/docs/testing).
66
-
67
- ![dbt dag](https://raw.githubusercontent.com/dbt-labs/dbt-core/6c6649f9129d5d108aa3b0526f634cd8f3a9d1ed/etc/dbt-dag.png)
68
-
69
- ## Getting started
70
-
71
- Start by choosing a distribution. dbt Core is the baseline distribution of dbt. Fusion extends dbt Core with additional SQL comprehension abilities. Both distributions are free to install and can run locally.
72
-
73
- - **If you need an Apache 2.0 licensed tool** and the ability to review every line of code inside of it, [install dbt Core](https://docs.getdbt.com/docs/local/install-dbt-core-v2?version=2.0).
74
- - **If you need a free CLI you can use locally**, [install Fusion](https://docs.getdbt.com/docs/local/install-dbt?version=2.0). It can do more than dbt Core out of the box and you can seamlessly enable other advanced features over time if you choose to.
75
-
76
- Regardless of the distribution you choose, each is part of a single framework with a single language specification, meaning your business logic is portable in both directions.
77
-
78
- Explore the [dbt platform](https://docs.getdbt.com/docs/cloud/about-cloud/dbt-cloud-features) for an enhanced collaboration experience.
79
- Read the [introduction](https://docs.getdbt.com/docs/introduction/) and [viewpoint](https://docs.getdbt.com/docs/about/viewpoint/)
80
-
81
- ## Join the dbt Community
82
-
83
- - Be part of the conversation in the [dbt Community Slack](http://community.getdbt.com/)
84
- - Read more on the [dbt Community Discourse](https://discourse.getdbt.com)
85
-
86
- ## Reporting bugs and contributing code
87
-
88
- - Want to report a bug or request a feature? Let us know and open [an issue](https://github.com/dbt-labs/dbt-core/issues/new/choose)
89
- - Want to help us build dbt? Check out the [Contributing Guide](https://github.com/dbt-labs/dbt-core/blob/HEAD/CONTRIBUTING.md)
90
-
91
- ## Code of Conduct
92
-
93
- Everyone interacting in the dbt project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [dbt Code of Conduct](https://docs.getdbt.com/community/resources/code-of-conduct).
94
-
95
- ## License
96
-
97
- dbt Core is licensed under the [Apache License 2.0](LICENSE).
@@ -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
- }