Special case nox -e local for maturin (#11203)

This is way faster.
This commit is contained in:
Alex Gaynor 2024-07-06 12:26:37 -04:00 committed by GitHub
parent 5039dba01c
commit fe5b0240b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -294,14 +294,11 @@ def local(session):
"noxfile.py",
)
install(
session,
# Needed until https://github.com/astral-sh/uv/issues/2152 is fixed
"--reinstall-package",
"cryptography",
"--refresh-package",
"cryptography",
".",
session.run(
"maturin",
"develop",
"--release",
"--uv",
)
if session.posargs: