Unable to run smpt local server due to smptd #3

Closed
opened 2024-12-22 08:53:54 -05:00 by FireIsGood · 3 comments
FireIsGood commented 2024-12-22 08:53:54 -05:00 (Migrated from git2.unturf.com)

I was trying to set up the test environment and the make smtp seems to run into an error stating,

No module named smtpd

This seems to be related to Python 3.12 removing the smptd module or something related to that. I haven't read too much into it and running it on an older version of python (python 3.11 via a nix-shell didn't fix the problem instantly.

There seems to be a 'dead batteries' module provided called standard-smtpd offered on Pip, though that may require changes I'm unaware of.

Currently this only stops testing the emails and not testing the previous two dev environment commands.

I was trying to set up the test environment and the `make smtp` seems to run into an error stating, ```text No module named smtpd ``` This seems to be related to [Python 3.12 removing the smptd module](https://www.reddit.com/r/Python/comments/1bdvtv8/email_testing_with_python_smtpd_module/) or something related to that. I haven't read too much into it and running it on an older version of python (python 3.11 via a `nix-shell` didn't fix the problem instantly. There seems to be a 'dead batteries' module provided called [standard-smtpd](https://pypi.org/project/standard-smtpd/) offered on Pip, though that may require changes I'm unaware of. Currently this only stops testing the emails and not testing the previous two dev environment commands.
russellballestrini commented 2025-01-09 09:03:45 -05:00 (Migrated from git2.unturf.com)

mentioned in merge request !4

mentioned in merge request !4
russellballestrini commented 2025-01-09 09:08:20 -05:00 (Migrated from git2.unturf.com)

mentioned in commit 84fabcd1c0

mentioned in commit 84fabcd1c01fe04ac0c2aa9feb447108db7589ee
russellballestrini (Migrated from git2.unturf.com) closed this issue 2025-01-09 09:08:21 -05:00
russellballestrini commented 2025-01-09 09:09:07 -05:00 (Migrated from git2.unturf.com)

I found a solution! please pull latest and note the changes in the README

I found a solution! please pull latest and note the changes in the README
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: engineering/remarkbox#3
No description provided.