Python version for building the latest version

Hello,

I’m trying to run a build using the make file and having some issues…currently, I’m using Python v3.13.7

currently failing in the “make requirements” phase

what python version did you use for the build of Data Gerry ? It would be useful to add developers section in the documentation with some more information on the technology stack and how to build our own versions and try out things in development mode

Anyways, here is the error I’m getting when running “make requirements” using Python 3.13.7:

  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [40 lines of output]
      Traceback (most recent call last):
        File "/home/jpluser/work/code/DataGerry/virtualenv/lib64/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "/home/jpluser/work/code/DataGerry/virtualenv/lib64/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/jpluser/work/code/DataGerry/virtualenv/lib64/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 178, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
        File "/tmp/pip-build-env-1icgg8cb/overlay/lib/python3.13/site-packages/mesonpy/__init__.py", line 1144, in wrapper
          return func(*args, **kwargs)
        File "/tmp/pip-build-env-1icgg8cb/overlay/lib/python3.13/site-packages/mesonpy/__init__.py", line 1197, in build_wheel
          with _project(config_settings) as project:
               ~~~~~~~~^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.13/contextlib.py", line 141, in __enter__
          return next(self.gen)
        File "/tmp/pip-build-env-1icgg8cb/overlay/lib/python3.13/site-packages/mesonpy/__init__.py", line 1063, in _project
          yield Project(source_dir, build_dir, meson_args, editable_verbose)
                ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-1icgg8cb/overlay/lib/python3.13/site-packages/mesonpy/__init__.py", line 673, in __init__
          self._meson = _get_meson_command(pyproject_config.get('meson'))
                        ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-1icgg8cb/overlay/lib/python3.13/site-packages/mesonpy/__init__.py", line 1100, in _get_meson_command
          r = subprocess.run(cmd + ['--version'], text=True, capture_output=True)
        File "/usr/lib64/python3.13/subprocess.py", line 554, in run
          with Popen(*popenargs, **kwargs) as process:
               ~~~~~^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.13/subprocess.py", line 1039, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                              pass_fds, cwd, env,
                              ^^^^^^^^^^^^^^^^^^^
          ...<5 lines>...
                              gid, gids, uid, umask,
                              ^^^^^^^^^^^^^^^^^^^^^^
                              start_new_session, process_group)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.13/subprocess.py", line 1972, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      PermissionError: [Errno 13] Permission denied: 'meson'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 25.1.1 -> 25.2
[notice] To update, run: pip install --upgrade pip
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
make: *** [Makefile:55: requirements] Error 1

Thank you for help, and keep up the great work with this product

Amos

Hi @amos,

Thanks for the feedback. I’m using Python 3.10 and haven’t run into that issue on my end, so in principle your build should work with that version.

Unfortunately I don’t have more input on that specific error right now - since our backend team is currently on vacation.

I’ll check in with them once they return, and you should have a response by next Monday at the latest.

Thanks for your patience!

sincerely,
Your DataGerry Team

Hi @amos ,

the latest relase version of DataGerry (3.0) was build with python version 3.9. From the next relase (the current dev branches are already adapted) will be build with python 3.12.

Sincerly,

Your DataGerry-Team