- 12 Jun, 2024 12 commits
-
-
Jérome Perrin authored
-
Kirill Smelkov authored
An example patch of how to convert a program to be run via gpython. For now there should be no change in semantic, but once we adjust ERP5 interpreter to activate bstr+ustr as builtin string types by default, it will affect the programs ran via pyprog infrastructure. /cc @kazuhiko, @jerome
-
Kirill Smelkov authored
This is preparatory step to later use bstr/ustr from gpython as builtin string types. For now we keep both runtime to be threads and string types to be unpatched builtin types provided by python natively. This way there should be practically no change in how ERP5 runs yet. /cc @kazuhiko, @jerome
-
Kirill Smelkov authored
pygolang: Accompany python-interpreter with gpython-interpreter to run gpython instead of std python With python-interpreter staying the default for pyprog, but possible to adjust. We will need gpython-interpreter for ERP5 to use bstr+ustr as builting string types. Remove [gpython] script in favour of gpython-interpreter since both provide the same thing but via slightly different ways internally ([gpython] was generating bin/gpython via setuptools and [gpython-interpreter] does it by hand with user-visible result staying the same). /cc @kazuhiko, @jerome
-
Kirill Smelkov authored
pyprog macro, added in 0ee52376 (Generalize how nxdtest python script is generated into pyprog recipe macro) works by generating buildout code at runtime in text form. This way it should be careful when substituting strings, because if those strings contain \n, then intended control flow might become broken. For example when using pyprog with eggs = ${eggs:eggs} from stack/erp5/ , buildout breaks because erp5 defines eggs as multiline list: INFO self.buildout.parse(""" INFO File "/srv/slapgrid/slappart47/srv/runner/software/7f1663e8148f227ce3c6a38fc52796e2/eggs/zc.buildout-2.7.1+slapos020-py3.9.egg/zc/buildout/buildout.py", line 1352, in parse INFO sections = zc.buildout.configparser.parse( INFO File "/srv/slapgrid/slappart47/srv/runner/software/7f1663e8148f227ce3c6a38fc52796e2/eggs/zc.buildout-2.7.1+slapos020-py3.9.egg/zc/buildout/configparser.py", line 241, in parse INFO raise e INFO zc.buildout.configparser.ParsingError: File contains parsing errors: INFO [line 18]: 'python-barcode\n' INFO [line 19]: 'SOAPpy-py3\n' INFO [line 20]: 'suds-py3\n' INFO [line 21]: 'neoppod[admin, ctl, master]\n' INFO [line 22]: 'cython-zstd\n' INFO [line 23]: 'msgpack\n' INFO [line 24]: 'mysqlclient\n' INFO [line 25]: 'PyMySQL\n' INFO [line 26]: 'ZODB\n' INFO [line 27]: 'zodbtools\n' INFO [line 28]: 'psutil\n' ... -> Fix it via indenting eggs list like we already do with pyinit code. /cc @kazuhiko, @jerome
-
Léo-Paul Géneau authored
See merge request nexedi/slapos!1592
-
Léo-Paul Géneau authored
Assert `open62541` library works by joining a multicast group.
-
Léo-Paul Géneau authored
-
Léo-Paul Géneau authored
-
Léo-Paul Géneau authored
Update component to be suitable for osie-coupler
-
Léo-Paul Géneau authored
-
Jérome Perrin authored
1.0.0 was not python2 compatible, setuptools ignored this
-
- 11 Jun, 2024 10 commits
-
-
Jérome Perrin authored
See merge request nexedi/slapos!1257
-
Jérome Perrin authored
This brings updates of many dependencies on python3, while mostly keeping the same versions for python2. This enables a new `erp5-py3` test in software/slapos-sr-testing, which should pass already, but with NEO and WCFS being marked as expected failure or skipped for now. This also brings pylint support on python3, which we will be able to reuse in software/slapos-testing. Co-authored-by: Kazuhiko SHIOZAKI <kazuhiko@nexedi.com> Co-authored-by: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Co-authored-by: Bryton Lacquement <bryton.lacquement@nexedi.com>
-
Jérome Perrin authored
This bring new versions of jupyter, numpy and other scientific python software. This impacts software/jupyter, which will now run more recent versions and prepares stack/erp5 for python3 support, while not impacting the python2 version.
-
Jérome Perrin authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts commit 6c399134.
-
Jérome Perrin authored
This is not really specific to python2, it is specific to ERP5, now that ERP5 uses python3, the naming became not really good
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts 1b291415 (component/ghostscript: Workaround for slaprunner paths with double slashs, 2021-06-02) and 4e9a9cf1 (component/tesseract: Workaround for slaprunner paths with double slashs, 2021-08-19). We no longer support slappruner and these commits were causing issues on python3
-
- 10 Jun, 2024 1 commit
-
-
Xavier Thompson authored
statsmodels and websocket-client were pinned to Python3-only versions, and slapos.toolbox was installed in develop mode from a Python3-only revision.
-
- 09 Jun, 2024 1 commit
-
-
Jérome Perrin authored
fixup ac38a241 (Increase maximum ISO size to 20GB in KVMs., 2024-06-07)
-
- 07 Jun, 2024 2 commits
-
-
Jérome Perrin authored
With buildout3 all python2 software must extend this
-
Carlos Ramos Carreño authored
Some Linux distributions, in particular server distributions such as RHEL or SLE, have ISOs that are above 10GB in size. This commits updates the maximum ISO size from 10GB to 20GB, so that these ISOs can be used when requesting a new KVM.
-
- 05 Jun, 2024 2 commits
-
-
Xavier Thompson authored
See merge request !1550
-
Jérome Perrin authored
In 55449aca (software/erp5: describe the allowed formats for family and frontend names, 2024-01-01) we changed to a stricter definition of zope and frontends partitions names, but because these objects allowed additional properties, a partition not matching the pattern would be anyway be accepted.
-
- 04 Jun, 2024 1 commit
-
-
Xavier Thompson authored
ptyprocess=0.6.0 uses flit as build backend
-
- 03 Jun, 2024 11 commits
-
-
Rafael Monnerat authored
The script were failing to generating the proof but it was continuing anyway. the set -e forces the script exit.
-
Rafael Monnerat authored
This diff don't cause error since bash isn't run with -e but makes write_backup_proof useless basically.
-
Xavier Thompson authored
-
Xavier Thompson authored
pkgutil-resolve-name=1.3.10 requires flit_core as build backend. This is used by component/slapos.
-
Xavier Thompson authored
Use older numpy=1.22.0 to remain compatible with statsmodel=0.11.1. Use older setuptools=44.1.1 to be able to install numpy=1.22.0.
-
Xavier Thompson authored
dnspython=2.1.0 requires poetry as build backend.
-
Xavier Thompson authored
Older Theia versions no longer compile inside test nodes since we prevent using the system python. Remove obsolete upgrade tests since we now upgrade from a Theia version after merge request !1399.
-
Xavier Thompson authored
Export (theia0) and export (theia1, ...) instances published connection parameters twice, once without and once with the resiliency connection parameters. Keep only that last one.
-
Xavier Thompson authored
Use official SOAPpy=0.12.22 compatible with pip. Downgrade zope.authentication=4.5.0 because 5.0 requires Python>=3.7.
-
Xavier Thompson authored
Reverts 15871bbf
-
Xavier Thompson authored
-