- 03 Feb, 2020 1 commit
-
-
Jérome Perrin authored
Only setup.py test understands tests_require
-
- 02 Feb, 2020 4 commits
-
-
Jérome Perrin authored
If buildout needs to generate scripts, then this argument is required, otherwise, there will be an error in buildout. The following happened with python3.6 and zc.buildout 2.7.1+slapos001: Traceback (most recent call last): File "slapos.buildout/src/zc/buildout/buildout.py", line 2240, in main getattr(buildout, command)(args) File "slapos.buildout/src/zc/buildout/buildout.py", line 643, in install self._install_parts(install_args) File "slapos.buildout/src/zc/buildout/buildout.py", line 658, in _install_parts self._setup_directories() File "slapos.rebootstrap/slapos/rebootstrap/__init__.py", line 37, in wrapper return getattr(self, attr)(*args, **kw) File "slapos.rebootstrap/slapos/rebootstrap/__init__.py", line 72, in _setup_directories setup_script(new_bin, self.wanted_python) File "slapos.rebootstrap/slapos/rebootstrap/bootstrap.py", line 31, in setup_script python, File "slapos.buildout/src/zc/buildout/easy_install.py", line 1313, in scripts sname = os.path.join(dest, sname) File "python3/lib/python3.6/posixpath.py", line 80, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType
-
Jérome Perrin authored
> Changed in version 3.3: Added follow_symlinks argument. Now returns path > to the newly created file.
-
Jérome Perrin authored
[pylint] Anomalous backslash in string: '\S'. String constant might be missing an r prefix.
-
Jérome Perrin authored
and add the <BLANKLINES> where needed.
-
- 10 Dec, 2019 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 10 Oct, 2019 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
With shared builds, it's now possible that the [python2.7] part that is providing executable for this buildout does not need to install any part and makes the interpreter available since recipe initialisation. This is causing an error during the overriden method computing part signature, because parts are not installed yet: An internal error occurred due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "zc/buildout/buildout.py", line 2242, in main getattr(buildout, command)(args) File "zc/buildout/buildout.py", line 638, in install self._install_parts(install_args) File "zc/buildout/buildout.py", line 704, in _install_parts self._compute_part_signatures(install_parts) File "slapos/rebootstrap/__init__.py", line 37, in wrapper return getattr(self, attr)(*args, **kw) File "slapos/rebootstrap/__init__.py", line 95, in _compute_part_signatures installed_part_options[part]['__buildout_signature__'] KeyError: 'already_installed_python' To support that case, tolerate that parts are can be not installed yet at this point. /reviewed-on nexedi/slapos.rebootstrap!1
-
- 06 Jun, 2017 1 commit
-
-
Julien Muchembled authored
-
- 05 Jun, 2017 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 30 May, 2017 1 commit
-
-
Julien Muchembled authored
- Work entirely in-place, even to switch to a different version of Python. - Update bin/buildout to immediately use the wanted Python on subsequent buildout runs. For SlapOS, the second point is required to have the instanciation done with the built Python.
-
- 05 May, 2017 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 15 Mar, 2017 5 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 13 Mar, 2017 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 09 Nov, 2016 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 18 Aug, 2016 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Preserve bin-directory is required to while regenerate bin/buildout on the right location.
-
Rafael Monnerat authored
-
- 30 Jun, 2016 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 10 Jun, 2016 8 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 20 Oct, 2015 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
* Same parts directory as the normal buildout is used so that we can build faster and also make the code simpler. * Python part is now specified by `python` parameter in `buildout` section. * Restart automatically with the original python when running python part is removed.
-
- 24 Jun, 2011 1 commit
-
-
Łukasz Nowak authored
-