-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Quick Summary
AttributeError: module 'vobject' has no attribute 'VERSION' when building from source with pip install --no-binary=vobject vobject
Context
- vObject version: 0.9.9 (attempting to install)
- Python version: 3.13.7
- Operating system and version: any
Description
When attempting to install vobject from source using the --no-binary flag, the build process fails with an AttributeError indicating that the vobject module has no attribute 'VERSION'. This appears to be a
build system issue where the VERSION attribute is referenced before it's properly defined during the source build process.
To Reproduce
python3 -m venv build_vobject
cd build_vobject
source bin/activate
python --version # Python 3.13.7
pip install --no-binary=vobject vobject
The command fails during the "Getting requirements to build wheel" step with:
error: subprocess-exited-with-error
The underlying cause appears to be an AttributeError where vobject.VERSION is not accessible during the build process.
Further Notes
This issue specifically occurs when forcing a source build with --no-binary=vobject. The error suggests there may be a circular dependency or improper initialization order in the build configuration where
VERSION is referenced before the module is fully initialized.