Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use protobuf >=5.0,<=6.0 #10969

Merged
merged 12 commits into from
Nov 19, 2024
6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20241104-110509.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: Upgrade protobuf
time: 2024-11-04T11:05:09.433244-05:00
custom:
Author: gshank
Issue: "10658"
12 changes: 11 additions & 1 deletion core/dbt/events/core_types_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
# with major versions in each new minor version of dbt-core.
"click>=8.0.2,<9.0",
"networkx>=2.3,<4.0",
"protobuf>=4.0.0,<5",
"protobuf>=5.0,<6.0",
"requests<3.0.0", # should match dbt-common
"snowplow-tracker>=1.0.2,<2.0",
# ----
Expand Down
6 changes: 3 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
git+https://github.com/dbt-labs/dbt-adapters.git@main
git+https://github.com/dbt-labs/dbt-adapters.git@upgrade_protobuf
git+https://github.com/dbt-labs/dbt-adapters.git@main#subdirectory=dbt-tests-adapter
git+https://github.com/dbt-labs/dbt-common.git@main
git+https://github.com/dbt-labs/dbt-common.git@upgrade_protobuf
git+https://github.com/dbt-labs/dbt-postgres.git@main
# black must match what's in .pre-commit-config.yaml to be sure local env matches CI
mikealfare marked this conversation as resolved.
Show resolved Hide resolved
black==24.3.0
Expand Down Expand Up @@ -32,7 +32,7 @@ types-docutils
types-PyYAML
types-Jinja2
types-mock
types-protobuf>=4.0.0,<5.0.0
types-protobuf>=5.0,<6.0
types-pytz
types-requests
types-setuptools
Expand Down
Loading