Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
/tmp/build_root/environment/ uses python 2.7 #109
Comments
|
@ewdurbin can you review? It looks like python: python3 is the answer. |
|
yes, that should work but will not recreate the virtualenv. FWIW the distro we're running for docs will provide us with python 3.4 I'll open a PR with what I think would be a good first step |
|
@ewdurbin I did see adding python3-dev, that makes sense. Thank you for taking a look! |
|
Thanks! @ewdurbin And thanks for mentionning it's Python 3.4, I just tested and blurb is not compatible with Python 3.4 due to (at least) a |
|
@ewdurbin We tried to make blurb work in Python 3.4 (python/core-workflow#170), but we encontred an old bug that has been fixed now (python/core-workflow#171). So we're unsure what's the easiest way... either try to patch, either accept the bug, either upgrade the machine. Is there a chance docs.iad1.psf.io can get an upgrade? |
|
@JulienPalard we should be able to pull a more recent release via PPA, I'll check into it. |
|
Since python/docsbuild-scripts@90ed1d0 the python3.6 venv is used and it works, thanks.
|
The docsbuild venv, from https://github.com/python/psf-salt/blob/master/salt/docs/init.sls#L38 runs python 2.7.
It's only used to run sphinx (not the docsbuild script itself) and I always (by "mistake") built it using "python3 -m venv" when building locally and it always worked perfectly, so the upgrade looks safe.
However as I almost never used salt, I'm still unsure salt is able to upgrade this cleanly, according to the docs a
- python: python3may be enough, if someone knows...