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

[BUG] requiring packaging = "<22.0" is not compatible with black >=23.1.0 #588

Closed
ryancausey opened this issue Feb 2, 2023 · 1 comment

Comments

@ryancausey
Copy link

Describe the bug A clear and concise description of what the bug is.

The requirement of packaging = "<22.0" is incompatible with black >=23.1.0.

To Reproduce Steps to reproduce the behavior:

  1. Run poetry add --group dev black=23.1.0
  2. See error

Expected behavior A clear and concise description of what you expected to happen.

Prospector and Black should live happily alongside one another.

Environment (please complete the following information):

  • OS: Ubuntu 22.04.1 LTS
  • Tool: black
  • Prospector version: 1.8.4
  • Python version: 3.9.6

Additional context Add any other context about the problem here. Putting the list of
dependencies installed, e.g. the output of pip freeze also helps.

Because black (23.1.0) depends on packaging (>=22.0)
 and prospector (1.8.4) depends on packaging (<22.0), black (23.1.0) is incompatible with prospector (1.8.4).
So, because test-package depends on both black (23.1.0) and prospector (1.8.4), version solving failed.
@Pierre-Sassoulas
Copy link
Collaborator

Duplicate of #579, PR are welcome :)

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

No branches or pull requests

2 participants