Stirling-PDF
Stirling-PDF copied to clipboard
Replaced pip breaking installs of dependencies with APK Edge versions
Description of Changes
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
Checklist
General
- [ ] I have read the Contribution Guidelines
- [ ] I have read the Stirling-PDF Developer Guide (if applicable)
- [ ] I have read the How to add new languages to Stirling-PDF (if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
Documentation
- [ ] I have updated relevant docs on Stirling-PDF's doc repo (if functionality has heavily changed)
- [ ] I have read the section Add New Translation Tags (for new translation tags only)
UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)
Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the Testing Guide for more details.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Issue with the APK version of unoconv, which relies on the deprecated package distutils.
17:08:01.173 [qtp972632613-34] WARN o.e.j.ee10.servlet.ServletChannel - handleException /api/v1/convert/file/pdf java.io.IOException: Command process failed with exit code 1. Error message: Traceback (most recent call last):
File "/usr/bin/unoconv", line 19, in <module>
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
distutils has been deprecated in Python 3.12, as stated here, https://github.com/unoconv/unoconv/issues/591. unoconv is being replaced by unoserver, and minimal updates will be made to unoconv.
TODO
- [ ] Investigate migration to unoserver from unoconv OR
- [ ] Use virtual environment for python dependencies to force working dependency versions
@ConnorYoh New alpine just released over weekend! i updated dev branch