YunoHost-Apps / kresus_ynh

Kresus (personal finance manager) for YunoHost
https://kresus.org/
GNU Affero General Public License v3.0
20 stars 20 forks source link

Add chompjs dependency (for caissedepargne module) #192

Closed nicofrand closed 4 months ago

nicofrand commented 4 months ago

Problem

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

nicofrand commented 4 months ago

This also fixes the following issue:

2024-07-19 11:36:19,250: DEBUG - Collecting PyExecJS
2024-07-19 11:36:19,277: DEBUG -   Downloading PyExecJS-1.5.1.tar.gz (13 kB)
2024-07-19 11:36:19,372: DEBUG -   Preparing metadata (setup.py): started
2024-07-19 11:36:19,654: DEBUG -   Preparing metadata (setup.py): finished with status 'error'
2024-07-19 11:36:19,665: DEBUG -   error: subprocess-exited-with-error
2024-07-19 11:36:19,666: DEBUG - 
2024-07-19 11:36:19,666: DEBUG -   × python setup.py egg_info did not run successfully.
2024-07-19 11:36:19,666: DEBUG -   │ exit code: 1
2024-07-19 11:36:19,666: DEBUG -   ╰─> [15 lines of output]
2024-07-19 11:36:19,666: DEBUG -       Traceback (most recent call last):
2024-07-19 11:36:19,666: DEBUG -         File "<string>", line 2, in <module>
2024-07-19 11:36:19,666: DEBUG -         File "<pip-setuptools-caller>", line 14, in <module>
2024-07-19 11:36:19,666: DEBUG -         File "/var/www/kresus/venv/lib/python3.9/site-packages/setuptools/__init__.py", line 21, in <module>
2024-07-19 11:36:19,666: DEBUG -           from .dist import Distribution
2024-07-19 11:36:19,666: DEBUG -         File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2024-07-19 11:36:19,667: DEBUG -         File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2024-07-19 11:36:19,667: DEBUG -         File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2024-07-19 11:36:19,667: DEBUG -         File "/var/www/kresus/venv/lib/python3.9/site-packages/_virtualenv.py", line 89, in exec_module
2024-07-19 11:36:19,667: DEBUG -           old(module)
2024-07-19 11:36:19,667: DEBUG -         File "/var/www/kresus/venv/lib/python3.9/site-packages/setuptools/dist.py", line 30, in <module>
2024-07-19 11:36:19,667: DEBUG -           from . import _entry_points
2024-07-19 11:36:19,667: DEBUG -         File "/var/www/kresus/venv/lib/python3.9/site-packages/setuptools/_entry_points.py", line 44, in <module>
2024-07-19 11:36:19,667: DEBUG -           def validate(eps: metadata.EntryPoints):
2024-07-19 11:36:19,667: DEBUG -       AttributeError: module 'importlib_metadata' has no attribute 'EntryPoints'
2024-07-19 11:36:19,667: DEBUG -       [end of output]
2024-07-19 11:36:19,667: DEBUG - 
2024-07-19 11:36:19,667: DEBUG -   note: This error originates from a subprocess, and is likely not a problem with pip.
2024-07-19 11:36:19,671: DEBUG - error: metadata-generation-failed
2024-07-19 11:36:19,671: DEBUG -