Python

  • We use pyenv to manage python versions on our systems.
  • We use pipx for installing cli apps.
  • We use poetry, nox and nox-poetry to manage dependencies and automate our testing. This stack is also used in our CI workflows.

Even though all of the tools are very well documented, there are things that you need to do once in a while that can be hard to remember.

The following is therefore a list of usefull things to know which is not easily found in the documentation.

Update pyenv in order to install newer python:

% pyenv update

List all packages and version-information:

% pipx runpip nox list

Uninstall a package previously injected:

% pipx runpip nox uninstall nox-poetry

References

Method definitions Status Code Definitions
JSON Patch