aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

WRITEME: pip install doesn't upgrade to the latest doc_gen

Open Laren-AWS opened this issue 6 months ago • 0 comments

The recent change to use doc_gen in WRITEME causes WRITEME to stick at an old version of -tools. WRITEME looks for services.yaml in /site-packages/aws-doc-sdk-examples-tools/config/services.yaml, which doesn't update even when you run python -m pip install -r requirements.txt I think because it finds it is the same version based on the version in setup.py in -tools (which is at 0.0.1).

This SO post says you have to update the version in setup.py in -tools so that pip sees it as a new version and maybe also update the GitHub URL in requirements.txt to point to the latest tag?

Until this is fixed, the workaround is to uninstall/reinstsall aws-doc-sdk-examples-tools in your venv to get the latest updates.

Laren-AWS avatar Aug 23 '24 18:08 Laren-AWS