{"repo":"cjolowicz/nox-poetry","free":true,"listed":false,"github":"https://github.com/cjolowicz/nox-poetry","clone":"git clone https://github.com/cjolowicz/nox-poetry.git","description":"Use Poetry inside Nox sessions","language":"Python","stars":170,"topics":["python","testing","automation"],"license":"MIT","category":"workflow-automation","readme_excerpt":"nox-poetry [ ][pypi ] [ ][python version] [ ][license] [ ][read the docs] [ ][tests] [ ][codecov] [pypi ]: https://pypi.org/project/nox-poetry/ [python version]: https://pypi.org/project/nox-poetry [read the docs]: https://nox-poetry.readthedocs.io/ [tests]: https://github.com/cjolowicz/nox-poetry/actions?workflow=Tests [codecov]: https://app.codecov.io/gh/cjolowicz/nox-poetry Use [Poetry] inside [Nox] sessions This package provides a drop-in replacement for the nox.session decorator, and for the nox.Session object passed to user-defined session functions. This enables session.install to install packages at the versions specified in the Poetry lock file. Disclaimer: This project is not affiliated with Nox, and not an official Nox plugin. Installation Install nox-poetry from the Python Package Index: Important: This package must be installed into the same environment that Nox is run from. If you installed Nox using [pipx], use the following command to install this package into the same environment: nox-poetry relies on functionality from poetry-export-plugin , which is bundled by default in Poetry 1, but not in Poetry = 2. In Poetry 2, define it as a required plugin in your pyproject.toml : Requirements - Python 3.10+ - Poetry = 1.8.0 You need to have a Poetry installation on your system. nox-poetry uses Poetry via its command-line interface. Usage Import the @session decorator from nox poetry instead of nox . There is nothing else you need to do. The session.install method au","default_branch":null,"files":null,"tree":[],"storefront":"/r/cjolowicz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cjolowicz/nox-poetry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}