Skip to content

Commit 5c8edc3

Browse files
fix: mark cloud/notification deps as optional, update CI to install integrations extra
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
1 parent a4c320c commit 5c8edc3

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/run-precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
# mainly needed so mypy will have the dependencies it needs
1919
- name: Install elementary
20-
run: pip install -e .
20+
run: pip install -e ".[integrations]"
2121

2222
- name: Install dev requirements
2323
run: pip install -r dev-requirements.txt

.github/workflows/test-warehouse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ jobs:
216216
# using ".[vertica]" would re-resolve dbt-vertica's deps and downgrade
217217
# dbt-core to ~=1.8. Install elementary without the adapter extra.
218218
if [ "${{ inputs.warehouse-type }}" = "vertica" ]; then
219-
pip install "."
219+
pip install ".[integrations]"
220220
else
221-
pip install ".[${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks') || inputs.warehouse-type }}]"
221+
pip install ".[${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks') || inputs.warehouse-type }},integrations]"
222222
fi
223223
224224
- name: Write dbt profiles

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ tabulate = ">= 0.9.0"
4040
tenacity = ">=8.0,<10.0"
4141
pytz = ">= 2025.1"
4242

43+
boto3 = {version = "<2.0.0", optional = true}
44+
google-cloud-storage = {version = ">=2.4,<3.2", optional = true}
45+
slack-sdk = {version = ">=3.20.1,<4.0.0", optional = true}
46+
azure-storage-blob = {version = ">=12.11.0", optional = true}
47+
pymsteams = {version = ">=0.2.2,<1.0.0", optional = true}
48+
4349
dbt-snowflake = {version = ">=1.8,<2.0.0", optional = true}
4450
dbt-bigquery = {version = ">=1.8,<2.0.0", optional = true}
4551
dbt-redshift = {version = ">=1.8,<2.0.0", optional = true}
@@ -55,11 +61,6 @@ dbt-fabric = {version = ">=1.8,<2.0.0", optional = true}
5561
dbt-fabricspark = {version = ">=1.8,<2.0.0", optional = true}
5662
dbt-sqlserver = {version = ">=1.8,<2.0.0", optional = true}
5763
dbt-vertica = {version = ">=1.8,<2.0.0", optional = true}
58-
boto3 = {version = "<2.0.0", optional = true}
59-
google-cloud-storage = {version = ">=2.4,<3.2", optional = true}
60-
azure-storage-blob = {version = ">=12.11.0", optional = true}
61-
slack-sdk = {version = ">=3.20.1,<4.0.0", optional = true}
62-
pymsteams = {version = ">=0.2.2,<1.0.0", optional = true}
6364

6465
[tool.poetry.extras]
6566
snowflake = ["dbt-snowflake"]
@@ -83,6 +84,7 @@ gcs = ["google-cloud-storage"]
8384
azure = ["azure-storage-blob"]
8485
slack = ["slack-sdk"]
8586
teams = ["pymsteams"]
87+
integrations = ["boto3", "google-cloud-storage", "azure-storage-blob", "slack-sdk", "pymsteams"]
8688

8789
# dbt-fabricspark is excluded due to broken upstream dependencies (azure-cli pre-release pins).
8890
# dbt-vertica is excluded because it pins dbt-core==1.8.5, forcing the entire resolution to dbt 1.8.

0 commit comments

Comments
 (0)