Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 829d77d

Browse files
fix nox empty deps install bug
1 parent e3c7937 commit 829d77d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

noxfile.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -613,17 +613,6 @@ def prerelease(session: nox.sessions.Session, tests_path, extra_pytest_options=(
613613
)
614614
already_installed.add("pandas")
615615

616-
# Try to avoid a cap on our SQLGlot so that bigframes
617-
# can be integrated with SQLMesh. See:
618-
# https://github.com/googleapis/python-bigquery-dataframes/issues/942
619-
# If SQLGlot introduces something that breaks us, lets file an issue
620-
# upstream and/or make sure we fix bigframes to work with it.
621-
session.install(
622-
"--upgrade",
623-
"git+https://github.com/tobymao/sqlglot.git#egg=sqlglot",
624-
)
625-
already_installed.add("sqlglot")
626-
627616
# Workaround https://github.com/googleapis/python-db-dtypes-pandas/issues/178
628617
session.install("--no-deps", "db-dtypes")
629618
already_installed.add("db-dtypes")
@@ -674,7 +663,8 @@ def prerelease(session: nox.sessions.Session, tests_path, extra_pytest_options=(
674663

675664
# We use --no-deps to ensure that pre-release versions aren't overwritten
676665
# by the version ranges in setup.py.
677-
session.install(*deps)
666+
if deps:
667+
session.install(*deps)
678668
session.install("--no-deps", "-e", ".")
679669

680670
# Print out prerelease package versions.

0 commit comments

Comments
 (0)