ErwinKomen / RU-passim

0 stars 0 forks source link

Future: requirements #697

Closed ErwinKomen closed 1 year ago

ErwinKomen commented 1 year ago

Determine what the correct requirements.txt should be for the virtual environment containing the Python modules for Passim. This is needed, so as to be ready for a possible future transfer of Passim to a containier.

ErwinKomen commented 1 year ago

This was not too difficult, but a tedious task. Notes:

  1. the package pipdeptree was very helpful in getting to the bottom of this
  2. the sphinx packages is only needed where documentation is being made
  3. a backup of the requirements is in requirements_jul2023.txt
ErwinKomen commented 1 year ago

Micha tested this on Thunderland (Ubuntu 22.04 and Python 3.10.12), which resulted in errors:

Collecting chardet==3.0.4
   Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting demjson==2.2.4
   Using cached demjson-2.2.4.tar.gz (131 kB)
   Preparing metadata (setup.py) ... error
   error: subprocess-exited-with-error

   × python setup.py egg_info did not run successfully.
   │ exit code: 1
   ╰─> [1 lines of output]
       error in demjson setup command: use_2to3 is invalid.
       [end of output]

   note: This error originates from a subprocess, and is likely not a problem with 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.
ErwinKomen commented 1 year ago

Okay, created a new requirements_aug2023.txt that works under python 3.10.12 But: will Passim work under that version of python?