-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Description
Summary
Attempting to install pylatex==1.4.1 on Linux using Python 3.13 fails during the wheel build process due to the use of configparser.SafeConfigParser, which has been removed in Python 3.13.
Steps to Reproduce
- Use Python 3.13 (e.g., via pyenv or Docker)
- Run
pip install pylatex==1.4.1or include it inrequirements.txt - Observe the error during the build process
Error Output
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
This occurs in versioneer.py, which is used during the build process.
Environment
- Python version: 3.13.0 (pre-release or nightly)
- pip version: 24.x
- OS: [Your OS here, e.g., Ubuntu 22.04 / macOS 14 / Windows 11]
Suggested Fix
Replace configparser.SafeConfigParser() with configparser.ConfigParser() in versioneer.py, or update to a newer version of versioneer that supports Python 3.13.
Additional Notes
This issue is likely to affect more users as Python 3.13 becomes more widely adopted. A patch or release update would be appreciated.
Thanks for maintaining this project!
Metadata
Metadata
Assignees
Labels
No labels