Python modules and directories with invalid namespace name are not processed correctly #59

Closed
opened 2026-09-29 18:18:42 +02:00 by jakob.scheid · 0 comments
Owner

Description

When there Python modules with invalid namespace names in the Python project directory, an error occurs. Invalid package namespace names are simply adopted.

Expected behavior

When a directory or a Python module has an in valid namespace name, it is ignored.

Actual behavior

When a directory or a Python module has an in valid namespace name, an InvalidNamespaceError occurs. Directories lead to no error; they are accepted silently so that a.b/c.py would be treated as the module a.b.c.

## Description When there Python modules with invalid namespace names in the Python project directory, an error occurs. Invalid package namespace names are simply adopted. ## Expected behavior When a directory or a Python module has an in valid namespace name, it is ignored. ## Actual behavior When a directory or a Python module has an in valid namespace name, an `InvalidNamespaceError` occurs. Directories lead to no error; they are accepted silently so that `a.b/c.py` would be treated as the module `a.b.c`.
jakob.scheid added this to the 0.2.1 milestone 2026-09-29 18:18:42 +02:00
jakob.scheid added the Kind/Bug
Priority
Medium
3
labels 2026-09-29 18:18:42 +02:00
jakob.scheid added this to the Project Board project 2026-09-29 18:18:42 +02:00
jakob.scheid changed title from Ignore namespaces with invalid names to Python modules and directories with invalid namespace name lead to an error 2026-10-04 15:29:52 +02:00
jakob.scheid changed title from Python modules and directories with invalid namespace name lead to an error to Python modules and directories with invalid namespace name are not processed correctly 2026-10-04 15:38:47 +02:00
jakob.scheid added the
Reviewed
Confirmed
1
label 2026-10-04 15:38:52 +02:00
jakob.scheid moved this to To Do in Project Board on 2026-10-04 15:40:19 +02:00
jakob.scheid started working 2026-10-04 15:41:38 +02:00
jakob.scheid added reference fix/ignore-invalid-python-namespaces 2026-10-04 15:41:40 +02:00
jakob.scheid moved this to In progress in Project Board on 2026-10-04 15:41:42 +02:00
jakob.scheid worked for 1 hour 21 minutes 2026-10-04 17:03:16 +02:00
jakob.scheid started working 2026-10-04 17:03:20 +02:00
jakob.scheid canceled time tracking 2026-10-04 17:05:06 +02:00
jakob.scheid started working 2026-10-04 17:05:08 +02:00
jakob.scheid worked for 10 minutes 2026-10-04 17:15:57 +02:00
jakob.scheid moved this to Review in Project Board on 2026-10-04 17:16:12 +02:00
jakob.scheid moved this to Done in Project Board on 2026-10-04 17:19:17 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Total Time Spent: 1 hour 32 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jCloud/jcloud-docsgen#59