Skip to content

Conversation

@AviJxn
Copy link

@AviJxn AviJxn commented Jan 15, 2026

Problem

The package was failing to install correctly via pip install . on environments where the configure script is not run (e.g., standard Python/pip workflows or Windows). This caused csa to be treated as an empty namespace package, leading to NameError failures in the test suite because symbols like cross and full were not exported.

Solution

Manually added csa/__init__.py (based on csa/__init__.py.in) to ensure the package initializes correctly and exports all necessary modules.

Verification

Ran the test suite locally on Python 3.11:
Before Fix:
FAILED (errors=9) - All tests crashed with NameError.

After Fix:
Ran 9 tests in 6.702s
OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant