I have done some local testing of sending emails with Python and I think I may be able to contribute a PR for better handling of email sending for the Gramps Web API backend.
In order to test the PR before submitting it, and perhaps write a test to include in the repository, I have been getting the local development environment setup. I’ve been doing so with a python virtual environment (and I’ll probably soon submit a PR to the docs to better document working with a virtual environment).
I’m getting this warning message when issuing pip install -e .
:
DEPRECATION: Legacy editable install of gramps-webapi==2.4.2 from file:///home/johnrdorazio/development/gramps-web-api (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at Deprecate `pip install --editable` calling `setup.py develop` · Issue #11457 · pypa/pip · GitHub
Is the editable mode required? I’m not familiar with working in “editable” mode so I’m not sure of the consequences of using it or not using it.