conda / conda-lock

Lightweight lockfile for conda environments
https://conda.github.io/conda-lock/
Other
456 stars 101 forks source link

Add failing test for conda/pip conflict #569

Open maresb opened 6 months ago

maresb commented 6 months ago

Added @jamesmyatt's environment file as a failing test from https://github.com/conda/conda-lock/issues/540#issuecomment-1843018053.

I'd really like to know the veracity of the following assertion at the end of conda_lock.lockfile.v2prelim.models.Lockfile._toposort:

assert len(final_package) == len(package)

Running this test in the debugger, the assertion holds, and dep.manager != manager is never triggered. (It's also currently not triggered by anything in the test suite. :cry:)

I expect that figuring out the right thing to do here and fixing it will involve quite a deep dive.

netlify[bot] commented 6 months ago

Deploy Preview for conda-lock ready!

Name Link
Latest commit e60309cff4561a27fd2dc57b20d12a63b970039a
Latest deploy log https://app.netlify.com/sites/conda-lock/deploys/6575f9bdcf22740008b70446
Deploy Preview https://deploy-preview-569--conda-lock.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.