Skip to content

Commit eae96dd

Browse files
committed
Restore the original pytest version range
1 parent 7892659 commit eae96dd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ prompt-toolkit = ">=3.0.0,<4.0.0"
3737
pyrsistent = ">=0.18.0,<1.0.0"
3838
typing-extensions = ">=4.7.0,<5.0.0"
3939

40-
pytest = { version = ">=8.4.0,<9.0.0", optional = true }
40+
pytest = { version = ">=7.0.0,<9.0.0", optional = true }
4141
pygments = { version = ">=2.9.0,<3.0.0", optional = true }
4242

4343
[tool.poetry.group.dev.dependencies]
4444
black = ">=24.0.0"
4545
docutils = "*"
4646
isort = "*"
4747
pygments = "*"
48-
pytest = ">=8.4.0,<9.0.0"
48+
pytest = ">=7.0.0,<9.0.0"
4949
pytest-pycharm = "*"
5050
# Ensure the Sphinx version remains synchronized with docs/requirements.txt
5151
# to maintain consistent output during both development and publishing on

src/basilisp/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,8 @@ def test(
748748
# `basilisp` declares the testrunner as a pytest plugin, so
749749
# pytest tries to import it for assertion rewriting. Since
750750
# it's already imported, pytest emits a warning. As rewriting
751-
# isn't needed, we ignore it.
751+
# isn't needed, we ignore it. (Requires pytest >=8.4.0 to take
752+
# effect)
752753
extra = [
753754
"-W",
754755
"ignore:Module already imported so cannot be rewritten; basilisp:pytest.PytestAssertRewriteWarning",

0 commit comments

Comments
 (0)