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

Commit 627e2db

Browse files
further rework nox prerelease dep setup
1 parent 97ddc8a commit 627e2db

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

noxfile.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -593,32 +593,24 @@ def prerelease(session: nox.sessions.Session, tests_path, extra_pytest_options=(
593593
# PyArrow prerelease packages are published to an alternative PyPI host.
594594
# https://arrow.apache.org/docs/python/install.html#installing-nightly-packages
595595
session.install(
596+
"--no-deps",
597+
"--upgrade",
596598
"--extra-index-url",
597599
"https://pypi.fury.io/arrow-nightlies/",
598-
"--prefer-binary",
599-
"--pre",
600-
"--upgrade",
601600
"pyarrow",
602-
"--prefer-binary",
603-
"--pre",
604-
"--upgrade",
605601
# We exclude each version individually so that we can continue to test
606602
# some prerelease packages. See:
607603
# https://github.com/googleapis/python-bigquery-dataframes/pull/268#discussion_r1423205172
608604
# "pandas!=2.1.4, !=2.2.0rc0, !=2.2.0, !=2.2.1",
609605
"pandas",
610606
# Workaround https://github.com/googleapis/python-db-dtypes-pandas/issues/178
611-
"--no-deps",
612607
"db-dtypes",
613608
# Ensure we catch breaking changes in the client libraries early.
614-
"--upgrade",
615609
"git+https://github.com/googleapis/python-bigquery.git#egg=google-cloud-bigquery",
616610
"--upgrade",
617611
"-e",
618612
"git+https://github.com/googleapis/google-cloud-python.git#egg=google-cloud-bigquery-storage&subdirectory=packages/google-cloud-bigquery-storage",
619-
"--upgrade",
620613
"git+https://github.com/googleapis/python-bigquery-pandas.git#egg=pandas-gbq",
621-
"--no-deps",
622614
)
623615

624616
# Print out prerelease package versions.

0 commit comments

Comments
 (0)