Hi all, I'm facing something weird, i don't know h...
# modules
s
Hi all, I'm facing something weird, i don't know how to handle. I'm updating freyja module with the lastest version available. Tests worked fine for freyja update and freyja variants with both conda and docker/singularity. but freyja demix and boot fails with all three due to a wrong dependency install:
Copy code
ImportError: Pandas requires version '10.0.1' or newer of 'pyarrow' (version '6.0.1' currently installed).
I checked the versions and conda is installing a bunch of dependencies in outdated versions. I was able to fix the test for conda, because I tried installing freyja using micromamba and the
command.sh
test worked just fine. So i checked my channels configuration and saw that i had bioconda channel prior to conda-forge. Changing the order in the
environment.yml
for the module fixed the issue for the nf-test using conda. but don´t know what i can do anything to fix docker and singularity, i've tried both seqera containers and biocontainers, and i get the same error.
s
Can you make a seqera container with the correct version of pyarrow?
(as well as freyja)
s
i suppose so...it would be a mulled, but i can try 🙂
s
But thats fine, Seqera containers makes it very easy to make them compared to biocontainers mulled containers.
s
yes...i know but it's not just pyarrow, there a bunch of packages that are installed with lower versions, so i don't feel like it's the best solution when it installes correctly just changing the channels order But also the order where it installs correctly is not the recommended in bioconda because puts bioconda channel prior to conda-forge
it's like an impossible solution xD, but i will try to add pyarrow in the correct version now in a mulled container and check if it works, at least it's a solution
s
Can you update the bioconda recipe?
There was another module that had to do this recently (within the last 2 weeks), and we added a note to the environment.yml file to (hopefully) stop anyone swapping the order back
s
yeah, i can update it, but is there a way to set the channel order in a bioconda recipe?
or do you mean specify the min version needed for pyarrow in the recipe?
👍 1
s
Yes, if the recipe requires a minimum version then that should be in the recipe
s
do you have any idea when this is updated in seqera containers? at the moment still creates the same container without the fix (it has the same hash in the name)