summaryrefslogtreecommitdiffstats
path: root/docs/python-support.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/python-support.md')
-rw-r--r--docs/python-support.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/python-support.md b/docs/python-support.md
index af19cd05..35806de7 100644
--- a/docs/python-support.md
+++ b/docs/python-support.md
@@ -28,5 +28,20 @@ The master branch will require Python 3.6 at a minimum.
28If the system has an older version of Python 3, then users will have to select 28If the system has an older version of Python 3, then users will have to select
29the legacy Python 2 branch instead. 29the legacy Python 2 branch instead.
30 30
31### repo hooks
31 32
33Projects that use [repo hooks] run on independent schedules.
34They might migrate to Python 3 earlier or later than us.
35To support them, we'll probe the shebang of the hook script and if we find an
36interpreter in there that indicates a different version than repo is currently
37running under, we'll attempt to reexec ourselves under that.
38
39For example, a hook with a header like `#!/usr/bin/python2` will have repo
40execute `/usr/bin/python2` to execute the hook code specifically if repo is
41currently running Python 3.
42
43For more details, consult the [repo hooks] documentation.
44
45
46[repo hooks]: ./repo-hooks.md
32[repo launcher]: ../repo 47[repo launcher]: ../repo