2022-04-24 13:07:52 +00:00
|
|
|
Install this version from pip with:
|
2022-01-08 17:56:37 +00:00
|
|
|
|
fix: scriv error during github release
See:
https://github.com/overhangio/tutor/actions/runs/5260213022/jobs/9506811909#step:9:33
`scriv github-release --repo=overhangio/tutor` causes the following
error:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.16/x64/bin/scriv", line 8, in
<module>
sys.exit(cli())
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py",
line 1130, in __call__
return self.main(*args, **kwargs)
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py",
line 1055, in main
rv = self.invoke(ctx)
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py",
line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py",
line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/click/core.py",
line 760, in invoke
return __callback(*args, **kwargs)
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/scriv/ghrel.py",
line 99, in github_release
config=scriv.config,
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/jinja2/environment.py",
line 1301, in render
self.environment.handle_exception()
File
"/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/jinja2/environment.py",
line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 3, in top-level template code
TypeError: 'Version' object is not subscriptable
2023-06-14 07:38:07 +00:00
|
|
|
pip install "tutor[full]=={{ version.vtext[1:] }}"
|
2022-01-08 17:56:37 +00:00
|
|
|
|
2022-04-24 13:07:52 +00:00
|
|
|
Or download the compiled binaries:
|
2019-04-22 13:14:46 +00:00
|
|
|
|
2023-01-17 10:58:39 +00:00
|
|
|
sudo curl -L "https://github.com/overhangio/tutor/releases/download/{{ version }}/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
|
2019-07-23 15:20:19 +00:00
|
|
|
sudo chmod 0755 /usr/local/bin/tutor
|
2019-04-22 13:14:46 +00:00
|
|
|
|
2019-11-22 08:31:26 +00:00
|
|
|
See the [installation docs](https://docs.tutor.overhang.io/install.html) for more installation options and instructions.
|
2019-04-22 13:14:46 +00:00
|
|
|
|
2020-03-16 17:12:24 +00:00
|
|
|
## Changes
|
2022-11-29 11:43:22 +00:00
|
|
|
|
2023-01-17 10:58:39 +00:00
|
|
|
{{ body }}
|