makefiles/patches/README.md
Howto create a python 3.10+ patch
- Checkout voltha-docs
- cd voltha-docs
- Create a virtual environment:
- make venv (default python version)
- make venv-activate-patched (for python v3.10+)
- make patch-init
- modify the file to be patched beneath staging/${relative_path_to_patch}
- make patch-create PATCH_PATH=${relative_path_to_patch} o This will create patches/${relative_path_to_patch}/patch o make patch-create PATCH_PATH=lib/python3.10/site-packages/sphinx/util/typing.py lib/python3.10/site-packages/sphinx/util/typing/patch
- Verify o make sterile o make venv
- Validate o make lint o make test
[EOF]