-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when using PassthroughEnv #347
Comments
Thank you for catching this! The idea in #298 was to, essentially, do what The fix would be here: nox-poetry/src/nox_poetry/sessions.py Lines 200 to 201 in 1afc0a0
I'd be fine with switching to the private API, and passing There have also been thoughts about using just a single requirements file for all sessions. I think we don't need per-session requirements files anymore. Edit: Opened #350 for this. |
Fix released in 0.8.5, could you give it a spin? |
I have confirmed that this is fixed. |
Thank you! |
Starting in v0.8.2, using
@nox_poetry.session(venv_backend='none')
causes a crash. This was introduced in #298 and is caused by accessing the nonexistantlocation
attribute of thePassthroughEnv
object in_PoetrySession.export_requirements
.Example script:
Example error message:
The text was updated successfully, but these errors were encountered: