From 8b2139727e1e1c96fbff74353857c870b96ef497 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 29 May 2025 08:49:38 -0700 Subject: [PATCH] add README comments about poetry upgrades --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 9313a6f88..c8a2e44c5 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,22 @@ you'll be set with an upgraded version of Python. _If you're not sure about the details of your current virtual environment, you can run `poetry env info` to get more information. If you've been using `pyenv` for everything, you can also see all available virtual environments with `pyenv virtualenvs`._ + +#### Poetry upgrades #### + +If you are doing a new project setup, then after you install poetry you need to install the export plugin + +```sh +poetry self add poetry-plugin-export +``` + +If you are upgrading from poetry 1.8.5, you need to do this: + +```sh +curl -sSL https://install.python-poetry.org | python3 - --version 2.1.3 +poetry self add poetry-export-plugin +``` + #### Updating the .env file for Login.gov To configure the application for Login.gov, you will need to update the following environment variables in the .env file: