Skip to content

Commit

Permalink
[SCHEMATIC-157] Make some dependencies required to avoid `schematic C…
Browse files Browse the repository at this point in the history
…LI` commands from potentially erroring when doing a pip install (#1540)

* Make otel flash non-optional

* Add dependencies as non-optional
  • Loading branch information
thomasyu888 authored Nov 14, 2024
1 parent 1e5da3c commit 39459e7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
30 changes: 15 additions & 15 deletions poetry.lock

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

12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,21 @@ pandarallel = "^1.6.4"
pyopenssl = {version = "^23.0.0", optional = true}
dataclasses-json = "^0.6.1"
pydantic = "^1.10.4"
connexion = {extras = ["swagger-ui"], version = "^2.8.0", optional = true}
Flask = {version = "2.1.3", optional = true}
Flask-Cors = {version = "^3.0.10", optional = true}
connexion = {extras = ["swagger-ui"], version = "^2.8.0"}
Flask = "2.1.3"
Flask-Cors = "^3.0.10"
uWSGI = {version = "^2.0.21", optional = true}
Jinja2 = {version = ">2.11.3", optional = true}
asyncio = "^3.4.3"
PyJWT = "^2.9.0"
opentelemetry-api = {version = ">=1.21.0", optional = true}
opentelemetry-sdk = {version = ">=1.21.0", optional = true}
opentelemetry-exporter-otlp-proto-http = {version="^1.0.0", optional = true}
opentelemetry-instrumentation-flask = {version=">=0.48b0", optional = true}
requests-oauth2client = {version=">=1.6.0", optional = true}
opentelemetry-instrumentation-flask = ">=0.48b0"
requests-oauth2client = ">=1.6.0"

[tool.poetry.extras]
api = ["connexion", "Flask", "Flask-Cors", "Jinja2", "pyopenssl", "opentelemetry-api", "opentelemetry-sdk", "opentelemetry-exporter-otlp-proto-http", "opentelemetry-instrumentation-flask", "requests-oauth2client"]
api = ["Jinja2", "pyopenssl", "opentelemetry-api", "opentelemetry-sdk", "opentelemetry-exporter-otlp-proto-http"]
aws = ["uWSGI"]

[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 39459e7

Please sign in to comment.