blob: ffdc30fd224ff15edc46d1fd3ad44f47af8ba94c [file] [log] [blame]
Joey Armstrong6f63edf2024-01-12 11:30:08 -05001# Howto create a python 3.10+ patch
2
31) Checkout voltha-docs
42) cd voltha-docs
53) Create a virtual environment:
6 - make venv (default python version)
7 - make venv-activate-patched (for python v3.10+)
84) make patch-init
95) modify the file to be patched beneath staging/${relative_path_to_patch}
106) make patch-create PATCH_PATH=${relative_path_to_patch}
11 o This will create patches/${relative_path_to_patch}/patch
12 o make patch-create PATCH_PATH=lib/python3.10/site-packages/sphinx/util/typing.py
13 lib/python3.10/site-packages/sphinx/util/typing/patch
147) Verify
15 o make sterile
16 o make venv
178) Validate
18 o make lint
19 o make test
20
21# [EOF]