1. 15 Nov, 2024 13 commits
  2. 14 Nov, 2024 1 commit
  3. 13 Nov, 2024 3 commits
  4. 12 Nov, 2024 2 commits
  5. 11 Nov, 2024 7 commits
    • Jérome Perrin's avatar
      stack/erp5: depends on Products.TemporaryFolder · 54606432
      Jérome Perrin authored
      Prevents error like this in the log for ZODB with a tmep_folder
      
      2024-10-04 14:14:53,288 ERROR Zope.ZODBMountPoint Failed to mount database. <type 'exceptions.ImportError'> (No module named TemporaryFolder)
      Traceback (most recent call last):
        File "./eggs/Products.ZODBMountPoint-1.3-py2.7.egg/Products/ZODBMountPoint/MountedObject.py", line 255, in _getOrOpenObject
          obj = self._traverseToMountedRoot(root, parent)
        File "./eggs/Products.ZODBMountPoint-1.3-py2.7.egg/Products/ZODBMountPoint/MountedObject.py", line 213, in _traverseToMountedRoot
          obj = blazer.traverseOrConstruct(real_path)
        File "./eggs/Products.ZODBMountPoint-1.3-py2.7.egg/Products/ZODBMountPoint/MountedObject.py", line 81, in traverseOrConstruct
          container = self._construct(container, part)
        File "./eggs/Products.ZODBMountPoint-1.3-py2.7.egg/Products/ZODBMountPoint/MountedObject.py", line 108, in _construct
          klass = jar.db().classFactory(jar, self.module_name, self.class_name)
        File "./eggs/Zope-4.8.7-py2.7.egg/Zope2/Startup/datatypes.py", line 288, in simpleClassFactory
          m = __import__(module, _globals, _globals, _silly)
      ImportError: No module named TemporaryFolder
      54606432
    • Jérome Perrin's avatar
      component/zodbtools: switch to always using a git checkout · e3d55223
      Jérome Perrin authored
      This ease the development and version updates
      e3d55223
    • Jérome Perrin's avatar
      software/erp5/test: remove a leftover db.close() from debugging · 9d2c06af
      Jérome Perrin authored
      This is not needed because we are using a closing context manager
      9d2c06af
    • Jérome Perrin's avatar
    • Kirill Smelkov's avatar
      pygolang: Accompany python-interpreter with gpython-interpreter to run gpython... · 1e9a9019
      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
      1e9a9019
    • Kirill Smelkov's avatar
      pygolang/pyprog: Fix handling of multi-line eggs list · b8a77b3d
      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
      b8a77b3d
    • Jérome Perrin's avatar
      software/dufs: fix misconfiguration preventing uploading in /pub · dc5330c5
      Jérome Perrin authored
      This have been a regression when upgrading to v0.40.0
      dc5330c5
  6. 10 Nov, 2024 4 commits
  7. 08 Nov, 2024 10 commits