Skip to content

Commit

Permalink
chore: update pdm.lock file witht the lock targets (#4911)
Browse files Browse the repository at this point in the history
* chore: update pdm.lock file witht the lock targets

Signed-off-by: Frost Ming <[email protected]>

* fix: update lock

Signed-off-by: Frost Ming <[email protected]>

* fix tests

Signed-off-by: Frost Ming <[email protected]>

* fix new sdk tests

Signed-off-by: Frost Ming <[email protected]>

---------

Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming authored Aug 13, 2024
1 parent 5621a23 commit 6e7875a
Show file tree
Hide file tree
Showing 5 changed files with 1,304 additions and 4,192 deletions.
6 changes: 0 additions & 6 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@

@nox.session(python=PYTHON_VERSIONS, name="unit")
def run_unittest(session: nox.Session):
if session.python == "3.12":
session.env["PDM_LOCKFILE"] = "pdm.py312.lock"
session.run("pdm", "sync", "-G", "grpc,io,testing", external=True)
session.run(*TEST_ARGS, "-n", "auto", "tests/unit")

Expand Down Expand Up @@ -76,8 +74,6 @@ def run_framework_integration_test(session: nox.Session, framework: str):
@nox.session(name="e2e-testing", python=PYTHON_VERSIONS)
@nox.parametrize("suite", ["bento_server_http", "bento_server_grpc", "bento_new_sdk"])
def run_e2e_test(session: nox.Session, suite: str):
if session.python == "3.12":
session.env["PDM_LOCKFILE"] = "pdm.py312.lock"
session.run("pdm", "sync", "-G", "io,testing", external=True)
test_folder = os.path.join("tests/e2e", suite)
requirements = os.path.join(test_folder, "requirements.txt")
Expand All @@ -88,8 +84,6 @@ def run_e2e_test(session: nox.Session, suite: str):

@nox.session(name="e2e-monitoring", python=PYTHON_VERSIONS)
def run_e2e_monitoring_test(session: nox.Session):
if session.python == "3.12":
session.env["PDM_LOCKFILE"] = "pdm.py312.lock"
session.run("pdm", "sync", "-G", "io,testing,monitor-otlp", external=True)
test_folder = "examples/monitoring/task_classification"
session.install("-r", os.path.join(test_folder, "requirements.txt"))
Expand Down
Loading

0 comments on commit 6e7875a

Please sign in to comment.