Skip to content

Commit 6795ed2

Browse files
authored
chore: pin pytest version (#358)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent 99ed6c3 commit 6795ed2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

noxfile.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030

3131
BLACK_VERSION = "black==22.3.0"
3232
ISORT_VERSION = "isort==5.12.0"
33+
34+
# pytest-retry is not yet compatible with pytest 8.x.
35+
# https://github.com/str0zzapreti/pytest-retry/issues/32
36+
PYTEST_VERSION = "pytest<8.0.0dev"
3337
SPHINX_VERSION = "sphinx==4.5.0"
3438
LINT_PATHS = ["docs", "bigframes", "tests", "third_party", "noxfile.py", "setup.py"]
3539

@@ -39,7 +43,7 @@
3943
UNIT_TEST_STANDARD_DEPENDENCIES = [
4044
"mock",
4145
"asyncmock",
42-
"pytest",
46+
PYTEST_VERSION,
4347
"pytest-cov",
4448
"pytest-asyncio",
4549
"pytest-mock",
@@ -55,7 +59,7 @@
5559
"jinja2",
5660
"mock",
5761
"openpyxl",
58-
"pytest",
62+
PYTEST_VERSION,
5963
"pytest-cov",
6064
"pytest-retry",
6165
"pytest-timeout",

0 commit comments

Comments
 (0)