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

Importlib_metadata pinned at very old version #162

Closed
corneliusroemer opened this issue Nov 10, 2022 · 3 comments · Fixed by #163
Closed

Importlib_metadata pinned at very old version #162

corneliusroemer opened this issue Nov 10, 2022 · 3 comments · Fixed by #163

Comments

@corneliusroemer
Copy link

I've noticed that importlib_metadata is pinned at version 1.* when version 2 came out already a 2 years ago

Would it make sense to update this pint or make it less strict?

https://importlib-metadata.readthedocs.io/en/latest/history.html

image

https://github.com/bioconda/bioconda-recipes/blob/dab3e65f7a3073d0abe3ecf22f249a36b21bfac7/recipes/snakefmt/meta.yaml#L31

importlib_metadata = "^1.7.0"

@jbloom
Copy link

jbloom commented Nov 29, 2022

I was just having problems with this same point. It is starting to make it hard to install snakefmt in pipelines with new versions of other software.

@corneliusroemer
Copy link
Author

@jbloom I guess the workaround is to install it in a separate conda environment and make a soft-link or something like that:

mamba create -n snakefmt  
conda activate snakefmt
mamba install -y snakefmt

Then snakefmt can be called like: /opt/homebrew/Caskroom/miniforge/base/envs/snakefmt/bin/snakefmt in my case (find out your local path via which snakefmt)

@bricoletc
Copy link
Collaborator

Will have a look at this in the next 7 days 👍

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

Successfully merging a pull request may close this issue.

3 participants