Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pathspec dependency is incompatible with djlint #196

Closed
cbradl01 opened this issue May 10, 2023 · 5 comments · Fixed by #199 or #203
Closed

Pathspec dependency is incompatible with djlint #196

cbradl01 opened this issue May 10, 2023 · 5 comments · Fixed by #199 or #203

Comments

@cbradl01
Copy link

Describe the issue

When attempting to upgrade djlint via Poetry update, the resulting message below shows that pycln's pathspec dependency is incompatible with djlint's pathspec dependency. It would be great if pycln's pathspec dependency could be upgraded.

Because pycln (2.1.3) depends on pathspec (>=0.9.0,<0.11.0) and djlint (1.27.0) depends on pathspec (>=0.11.0,<0.12.0), pycln (2.1.3) is incompatible with djlint (1.27.0). So, because bps-code-control depends on both djlint (1.27.0) and pycln (2.1.3), version solving failed.

Environment:

  • Python Version: 3.10
  • Pycln Version: 2.1.3
  • OS Type: macOS Ventura
@hadialqattan
Copy link
Owner

@cbradl01 I've provided a fix.. thanks for reporting the issue. the fix will be available in the next release soon-ish.

@JelleZijlstra
Copy link

I think this actually makes it worse, you now depend on:

    pycln 2.1.4 depends on pathspec<0.10.0 and >=0.9.0

This is causing problems for us at python/typeshed#10243 because we require pathspec>=0.10.3. I think for now I'll stick to pycln 2.1.3.

@hadialqattan
Copy link
Owner

I think this actually makes it worse, you now depend on:

    pycln 2.1.4 depends on pathspec<0.10.0 and >=0.9.0

This is causing problems for us at python/typeshed#10243 because we require pathspec>=0.10.3. I think for now I'll stick to pycln 2.1.3.

I apologize.. I'll make a quick release with a pathspec<0.12.0 and >=0.9.0, which I believe would fix the problem.

@JelleZijlstra
Copy link

Thanks, no worries!

@hadialqattan
Copy link
Owner

Thanks, no worries!

v2.1.5 has been released. Thank you for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants