Skip to content

dependancy conflict between djlint 1.9< onwards and textract #513

Open
@TheGwionInGlasses

Description

@TheGwionInGlasses

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):

  • OS: WSL
  • Textract version 1.6.5
  • Python version 3.9
  • Virtual environment yes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions