Skip to content

Commit

Permalink
Don't install cryptography_vectors 2x in local nox (#10406)
Browse files Browse the repository at this point in the history
Now that it's a part of the test extras, we were installing it twice, once from PyPI and once from local. Don't do that.
  • Loading branch information
alex committed Feb 17, 2024
1 parent 8f9d79d commit 6643f54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,15 @@ def rust(session: nox.Session) -> None:
@nox.session
def local(session):
pyproject_data = load_pyproject_toml()
test_dependencies = pyproject_data["project"]["optional-dependencies"][
"test"
]
test_dependencies.remove("cryptography_vectors")
install(
session,
*pyproject_data["build-system"]["requires"],
*pyproject_data["project"]["optional-dependencies"]["pep8test"],
*pyproject_data["project"]["optional-dependencies"]["test"],
*test_dependencies,
*pyproject_data["project"]["optional-dependencies"]["ssh"],
*pyproject_data["project"]["optional-dependencies"]["nox"],
"flit",
Expand Down

0 comments on commit 6643f54

Please sign in to comment.