[PR #2586] [CLOSED] Fix asyncio.start_server call (unexpected keyword argument 'loop') #2621

Closed
opened 2026-02-27 12:11:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/modoboa/modoboa/pull/2586
Author: @spanjeta
Created: 8/22/2022
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 5ae5433 Fix asyncio.start_server call (unexpected keyword argument 'loop')

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 modoboa/policyd/management/commands/policy_daemon.py (+1 -1)

📄 Description

Description of the issue/feature this PR addresses:
The loop parameter was not necessary and was removed in Python 3.10. This was causing an error preventing the server from starting up at all in Python 3.10.

Current behavior before PR:

Desired behavior after PR is merged:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/modoboa/modoboa/pull/2586 **Author:** [@spanjeta](https://github.com/spanjeta) **Created:** 8/22/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`5ae5433`](https://github.com/modoboa/modoboa/commit/5ae54334b283d677cfece743a2b15b855c03f0ae) Fix asyncio.start_server call (unexpected keyword argument 'loop') ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `modoboa/policyd/management/commands/policy_daemon.py` (+1 -1) </details> ### 📄 Description Description of the issue/feature this PR addresses: The loop parameter was not necessary and was removed in Python 3.10. This was causing an error preventing the server from starting up at all in Python 3.10. Current behavior before PR: Desired behavior after PR is merged: --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 12:11:56 +03:00
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
starred/modoboa-modoboa#2621
No description provided.