deanmalmgren / textract

extract text from any document. no muss. no fuss.
http://textract.readthedocs.io
MIT License
3.84k stars 585 forks source link

dependancy conflict between djlint 1.9< onwards and textract #513

Open TheGwionInGlasses opened 1 month ago

TheGwionInGlasses commented 1 month ago

Describe the bug There's a conflict with package dependancies between djlint 1.9< and current textract. Djlint requires a version of python compatibility library 'six' 1.13< whilst textract uses 1.12.

To Reproduce Steps to reproduce the behavior:

  1. Install djlint 1.32.0 through poetry dependency manager
  2. Install textract through poetry dependency manager.
  3. Scroll to console output
  4. See error

Expected behavior Textract should be compatible with more modern linting packages.

Desktop (please complete the following information):

Additional context I can get around this by downgrading djlint to 1.8 however I use djlint in pre-commit to help maintain properly formatted code. Currently I'm using a fork of this project with the dependency updated to run my project on to get around this. Djlint is curretnly up to version 1.34 so this might be an overdue dependency upgrade.