Joey Armstrong | e6a9991 | 2023-09-15 14:47:51 -0400 | [diff] [blame^] | 1 | # Howto create a python 3.10+ patch |
| 2 | |
| 3 | 1) Checkout voltha-docs |
| 4 | 2) cd voltha-docs |
| 5 | 3) Create a virtual environment: |
| 6 | - make venv (default python version) |
| 7 | - make venv-activate-patched (for python v3.10+) |
| 8 | 4) make patch-init |
| 9 | 5) modify the file to be patched beneath staging/${relative_path_to_patch} |
| 10 | 6) 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 |
| 14 | 7) Verify |
| 15 | o make sterile |
| 16 | o make venv |
| 17 | 8) Validate |
| 18 | o make lint |
| 19 | o make test |
| 20 | |
| 21 | # [EOF] |