- 30 Jul, 2024 9 commits
-
-
Thomas Gambier authored
After the change in https://lab.nexedi.com/nexedi/slapos.core/-/blob/2b80692d62b3dbd9e67d70d6143f180fc2f155fc/slapos/util.py#L449-453, there is now a KeyError message if the serialisation is not found. The theia test was actively checking there is no "Error" in the output log hence it was now failing. Adding a software.cfg.json prevents this error and the test is happy.
-
Thomas Gambier authored
wendelin.core 2.0.alpha3.post22 supports being installed by newest version of pip/setuptools See nexedi/slapos!1602 (comment 212191)
-
Xavier Thompson authored
The rapid-cdn software.cfg manually downloads/copies a setup.py and a software.py into a folder and then installs it as a develop egg. Installing a develop-egg creates a .egg-info or a .dist-info into the source folder. In rapid-cdn/software.cfg an update-command resulted in the folder being deleted and recreated on every update for no gain. This also deleted the .egg-info or .dist-info, breaking the develop egg installation. With the zc.buildout 3.0.1+slapos003 release, zc.recipe.egg:develop is now able to detect such cases and trigger the reinstallation of the .egg-info or .dist-info. Still, this update-command remains the cause of useless computations.
-
Xavier Thompson authored
Test that slapos-testing compiles and instantiates for each Python version (software.cfg, software-py2.cfg, software-py3next.cfg).
-
Xavier Thompson authored
Donwgrade scipy to be compatible with the version of numpy pinned in software/monitor - itself downgraded to be compatible with the version of statsmodels currently pinned to 0.11.1. Upgrading this will first require adjusting the code in slapos.toolbox that uses statsmodels, as the next version has breaking changes in the API.
-
Xavier Thompson authored
Version up scipy=1.12.0 because scipy 1.8.1 is not compatible with Python 3.11.
-
Xavier Thompson authored
This is a generalisation of macro.pythonpath.eggs which allows paths from eggs to be placed into any environment variable, and provides a way to specify subpaths for each egg from the egg location. Like macro.pythonpath.eggs, the environment variable is placed in an environment section at install time after the eggs are installed and before the environment section is read by the section which uses it. ``` [environment-section] PATH = some/path [modify-environment] <= macro.variable.eggs variable = ANY_VARIABLE eggs = blue_egg yellow_egg red_egg subpaths = blue_egg subpath/specific/to/blue yellow_egg subpath/specific/to/yellow [section-that-uses-environment] recipe = zc.recipe.egg:custom environment = environment-section depends = ${modify-environment:recipe} ```
-
Xavier Thompson authored
-
Xavier Thompson authored
-
- 29 Jul, 2024 1 commit
-
-
Rafael Monnerat authored
allOf implies that all (both) schemas should be valid, but additionalProperties false wont allow it, since it become multually invalid. (You can validate only one or None) Just use $ref to expand the list, it end up with the expected outcome reducing complexity. Note: kvm wasn't using additionalProperties false but it was changed because it makes it future proof, in case we set it (we should set).
-
- 25 Jul, 2024 3 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Logs for the whole process shall be formatted in the same way, so define it once in global section.
-
Łukasz Nowak authored
Long request lines result with truncated logs, which leads to impossibility to debug cluster. Maximize the log lines emitted by haproxy, and follow up this withing accompanying rsyslogd. Allow very long, but still much smaller, URI logging.
-
- 24 Jul, 2024 1 commit
-
-
Rafael Monnerat authored
-
- 22 Jul, 2024 1 commit
-
-
Thomas Gambier authored
-
- 19 Jul, 2024 2 commits
-
-
Thomas Gambier authored
-
Kazuhiko Shiozaki authored
-
- 17 Jul, 2024 1 commit
-
-
Thomas Gambier authored
-
- 16 Jul, 2024 2 commits
-
-
Xavier Thompson authored
-
Ivan Tyagov authored
-
- 15 Jul, 2024 10 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 12 Jul, 2024 5 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Carlos Ramos Carreño authored
Compiling libuuid was failing with the following error: ```c libuuid/src/gen_uuid.c: In function 'uuid_generate_time_generic': libuuid/src/gen_uuid.c:536:33: error: initializer element is not constant THREAD_LOCAL int cache_size = cs_min; ``` The error was previously detected, and a fix was provided in 52abdf6a , where the GCC minimum version was increased to 8 (GCC version 8 supports using const-declared variables as constant expressions in some cases). Unfortunately, the solution did not work as the `min_version` field of the `[gcc]` section was being overwritten by its value in `component/defaults.cfg`. This is because `util-linux` (where libuuid config is located) is a transient dependence of `defaults.cfg` through `python3`. Luckily, the error is already [patched upstream](https://github.com/util-linux/util-linux/commit/07e5c29d501c19e7af84fecb5915e0f9f94cb49f) in version 2.40.1, so we can just upgrade the library to the latest version instead (2.40.2), which we do here. As part of the upgrade we disable the new tools added to the package, as we do not use them: liblastlog2, pam-lastlog2 and exch. Otherwise the compilation would fail with the following message: ``` configure: error: liblastlog2 selected, but required sqlite3 library not available ``` See merge request nexedi/slapos!1609
-
- 11 Jul, 2024 2 commits
-
-
Thomas Gambier authored
We can't use key of type dss anymore. This is a fixup of aae4a7c0.
-
Thomas Gambier authored
We can't generate key of type dsa anymore. This is a fixup of aae4a7c0.
-
- 09 Jul, 2024 3 commits
-
-
Thomas Gambier authored
-
Nicolas Wavrant authored
This reverts commit 5f4833c0.
-
Jérome Perrin authored
-