Skip to content

Commit

Permalink
Loosen OpenTelemetry dependency version constraint (#216)
Browse files Browse the repository at this point in the history
* Loosen OpenTelemetry dependency version constraint

When using the datacontract-cli as a library dependency, OpenTelemetry
may well be already a dependency of the dependee. The previous
dependency constraint allowed only other patch versions of OpenTelemetry
to be used. However, other minor versions should also be compatible.

As such, the dependency constraints for the OpenTelemetry OTLP exporters
have been loosened to allow minor version upgrades.

* Add setuptools dependency

Soda requires the `distutils` module. As this has been removed with
Python 3.12, `setuptools` is required as a drop-in replacement.

* Update pyproject.toml

---------

Co-authored-by: jochenchrist <[email protected]>
  • Loading branch information
janhicken and jochenchrist authored May 27, 2024
1 parent ed64a90 commit 5017f5c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ dependencies = [
"soda-core-snowflake>=3.3.1,<3.4.0",
"soda-core-spark[databricks]>=3.3.1,<3.4.0",
"soda-core-spark-df>=3.3.1,<3.4.0",
# remove setuptools when https://github.com/sodadata/soda-core/issues/2091 is resolved
"setuptools>=60",
"snowflake-connector-python[pandas]>=3.6,<3.11",
"duckdb==0.10.2",
"fastjsonschema~=2.19.1",
"python-dotenv~=1.0.0",
"s3fs==2024.3.1",
"rdflib==7.0.0",
"avro==1.11.3",
"opentelemetry-exporter-otlp-proto-grpc~=1.16.0",
"opentelemetry-exporter-otlp-proto-http~=1.16.0",
"opentelemetry-exporter-otlp-proto-grpc~=1.16",
"opentelemetry-exporter-otlp-proto-http~=1.16",
"deltalake~=0.17.0",
"boto3>=1.34.41,<1.34.99",
"botocore>=1.34.41,<1.34.99",
Expand Down

0 comments on commit 5017f5c

Please sign in to comment.