Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pip==23.1.2
nox==2023.4.22
poetry==1.5.1
virtualenv==20.23.1
pip==24.1
nox==2024.4.15
poetry==1.8.3
virtualenv==20.26.3
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def safety(session: Session) -> None:
def mypy(session: Session) -> None:
"""Type-check using mypy."""
args = session.posargs or ["src", "tests", "docs/conf.py"]
session.install(".", "mypy", "pytest", "importlib-metadata")
session.install(".", "mypy", "pytest", "importlib-metadata", "poetry")
session.run("mypy", *args)
if not session.posargs and session.python == python_versions[0]:
session.run("mypy", f"--python-executable={sys.executable}", "noxfile.py")
Expand All @@ -168,7 +168,7 @@ def mypy(session: Session) -> None:
@session
@nox.parametrize(
"python,poetry",
[(python_versions[0], "1.0.10"), *((python, None) for python in python_versions)],
[(python_versions[0], "1.6.1"), *((python, None) for python in python_versions)],
)
def tests(session: Session, poetry: Optional[str]) -> None:
"""Run the test suite."""
Expand Down
Loading