title: How to use nox with poetry?
body: <p>I want to use <a href="https://github.com/theacodes/nox" rel="noreferrer">nox</a> in my project managed with <a href="https://github.com/python-poetry/poetry" rel="noreferrer">poetry</a>.</p>
  
  <p>What is not going well is that installing dev dependency in nox session.</p>
  
  <p>I have the <code>noxfile.py</code> as shown below:</p>
  
  <pre class="lang-py prettyprint-override"><code>import nox
  from nox.sessions import Session
  from pathlib import Path
  
  __dir__ = Path(__file__).parent.absolute()
  
  
  @nox.session(python=PYTHON)
  def test(session: Session):
      session.install(str(__dir__))  # I want to use dev dependency here
      session.run("pytest")
  </code></pre>
  
  <p>How can I install dev dependency in nox session?</p>