You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a Poetry environment (Poetry version 2.1.1; Python 3.12) to install LoopStructural. Initial installation works fine. However, when I try to modify the dependency specifier to loopstructural[all] to pull in the loopstructuralvisualisation package, I get the following "Version Solving" error:
➜ poetry add 'LoopStructural[all]'
Using version ^1.6.8 for loopstructural
Updating dependencies
Resolving dependencies... (0.5s)
Because no versions of loopstructural match >1.6.8,<2.0.0
and loopstructural[all] (1.6.8) depends on loopstructuralviusualisation (>0.1.4), loopstructural[all] (>=1.6.8,<2.0.0) requires loopstructuralviusualisation (>0.1.4).
So, because no versions of loopstructuralviusualisation match >0.1.4
and macrostrat-structural-modeling-test depends on loopstructural[all] (^1.6.8), version solving failed.
I think this is due to Poetry somehow resolving zero-based versions incorrectly (i.e., 0.1.14 is not treated as greater than the 0.1.4 requirement. I've run into similar issues with other packages in the past.
I was able to work around this for now by specifying the dependencies manually and independently as such:
Because no versions of loopstructural match >1.6.8,<2.0.0
and loopstructural[all] (1.6.8) depends on loopstructuralviusualisation (>0.1.4), loopstructural[all] (>=1.6.8,<2.0.0) requires loopstructuralviusualisation (>0.1.4).
So, because no versions of loopstructuralviusualisation match >0.1.4
and macrostrat-structural-modeling-test depends on loopstructural[all] (^1.6.8), version solving failed.
The text was updated successfully, but these errors were encountered:
Thanks @davenquinn the requirements for loopstructuralvisualisation are incorrect causing the issue. If you want to use Jupyter with loopstructural there [Jupyter] option would work, this is missing from all.
Describe your issue
Finally evaluating Loop3D at Macrostrat!
I am using a Poetry environment (Poetry version
2.1.1
; Python3.12
) to install LoopStructural. Initial installation works fine. However, when I try to modify the dependency specifier toloopstructural[all]
to pull in theloopstructuralvisualisation
package, I get the following "Version Solving" error:I think this is due to Poetry somehow resolving zero-based versions incorrectly (i.e.,
0.1.14
is not treated as greater than the0.1.4
requirement. I've run into similar issues with other packages in the past.I was able to work around this for now by specifying the dependencies manually and independently as such:
Minimal reproducing code example
Error message
The text was updated successfully, but these errors were encountered: