flasc icon indicating copy to clipboard operation
flasc copied to clipboard

[BUG] poetry version solving fails with floris and flasc

Open aclerc opened this issue 6 months ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

I use poetry to define Python environments. I am making a new internal project called wakesteer-design and would like to use both FLORIS and FLASC. When I try adding one it works, but when I try adding flasc after I already added floris I get an error:

Because no versions of flasc match >2.0,<3.0
 and flasc (2.0) depends on coloredlogs (>=10.0,<11.0), flasc (>=2.0,<3.0) requires coloredlogs (>=10.0,<11.0).
And because floris (4.1.1) depends on coloredlogs (>=15.0,<16.0)
 and no versions of floris match >4.1.1,<5.0.0, flasc (>=2.0,<3.0) is incompatible with floris (>=4.1.1,<5.0.0).
So, because wakesteer-design depends on both floris (^4.1.1) and flasc (^2.0), version solving failed.

I don't think this is a major problem because I can just add flasc and use floris since floris is a dependency of flasc.

Expected Behavior

I can set up a new poetry environment and run poetry add floris and then poetry add flasc and it works.

Steps To Reproduce

  1. run poetry new test-package
  2. run poetry add floris
  3. run poetry add flasc

Environment

- OS: Windows 10

Anything else?

No response

aclerc avatar Aug 05 '24 10:08 aclerc