- 01 Sep, 2022 8 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Thomas Gambier authored
python3.8 can run only buildout versions greater than 2.7.1+slapos019 which restrict a lot the number of SR buildable by slapos. See merge request nexedi/slapos!1240
-
Jérome Perrin authored
this prevents ResourceWarning because this way the sockets are closed
-
Jérome Perrin authored
see commit e6deadaca7f4469ab32e028cdbb029acc9c7d3c3 from slapos.core: We fork a subprocess to serve requests, but the listening socket is bound in server constructor and inherited by subprocess. With this pattern, we have to explicitly close the socket from parent process to prevent the leak.
-
Jérome Perrin authored
Now that this test is python 3, test output has lots of warnings like this: software/caddy-frontend/test/test.py:305: ResourceWarning: unclosed file <_io.TextIOWrapper name='software/caddy-frontend/test/test_data/test.TestEnableHttp2ByDefaultFalseSlave.test00cluster_request_instance_parameter_dict.txt' mode='r' encoding='UTF-8'> test_data = open(test_data_file).read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback
-
Jérome Perrin authored
revert nexedi/slapos@fac8ceb5 now that mroonga install.sql is fixed See merge request nexedi/slapos!1242
-
- 31 Aug, 2022 12 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request nexedi/slapos!1238
-
Jérome Perrin authored
html5as-base, grafana and metabase are python3 software releases and we don't need to run these tests twice for python2 and python3.
-
Jérome Perrin authored
-
Jérome Perrin authored
This continues the changes from a576000f (software/html5as: serialize as json-in-xml, 2022-08-19) to fix a test failure and serialize also in json-in-xml for the replicate software type. Minor changes to tests were made, to use assertIn for better messages in case of assertion failures
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Thomas Gambier authored
See merge request nexedi/slapos!1239
-
Jérome Perrin authored
after slapos commit cc7f36a0 (component/defaults: use python3 by default, 2022-08-27) this test accidentally switched to using python3. using python3 showed an incompatibility: File ".nxdtest", line 23, in <module> TestCase('transaction',['python', '-m', 'unittest', 'discover', '-s', P(transaction)]) File ".nxdtest", line 22, in P def P(path): return os.path.join(path, '..') File "lib/python3.8/posixpath.py", line 90, in join genericpath._check_arg_types('join', a, *p) File "lib/python3.8/genericpath.py", line 155, in _check_arg_types raise TypeError("Can't mix strings and bytes in path components") from None TypeError: Can't mix strings and bytes in path components that we also address here by using universal_newlines to the subprocess
-
- 30 Aug, 2022 5 commits
-
-
Jérome Perrin authored
test.cfg becomes the python3 version a new test-py2.cfg is introduced test-py3.cfg is removed cf slapos commit cc7f36a0 (component/defaults: use python3 by default, 2022-08-27)
-
Joanne Hugé authored
-
Joanne Hugé authored
-
Joanne Hugé authored
-
Jérome Perrin authored
Change python2 softwares to use python2 explicitly and python3 softwares to use the default, but leave a few softwares (html5as, html5as-base, fluent-bit, packer, seleniumrunner) using the default python, as they were using python2 not because they only support python2 but because they don't have strong dependency to the python version being used.
-
- 29 Aug, 2022 6 commits
-
-
Jérome Perrin authored
See merge request nexedi/slapos!1235
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 28 Aug, 2022 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 26 Aug, 2022 2 commits
-
-
-
Thomas Gambier authored
see nexedi/slapos!1215
-
- 25 Aug, 2022 2 commits
-
-
Xiaowu Zhang authored
See merge request nexedi/slapos!1234
-
Xiaowu Zhang authored
so we will not forget to update it
-
- 24 Aug, 2022 2 commits
-
-
Ivan Tyagov authored
See merge request nexedi/slapos!1233
-
Martin Manchev authored
-