Skip to content
Discussion options

You must be logged in to vote

You'll see those kind of errors when your version of ruff is too old. Two things that could cause this:

  • You may just need to update your conda environment with recently generated lockfiles.
  • If you're using the latest conda-lock files then the issue is that those can be a bit out of date. The conda-lock files aren't always in sync with the poetry.lock file, they're batch updated periodically, not every time the poetry deps are updated.

Pragmatic honest answer: when I run into this issue I just run pip install -U ruff and things work again :). Note as pure as using a lockfile, but it lets me get things working and get back to work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chloeh13q
Comment options

chloeh13q Jul 25, 2023
Collaborator Author

Answer selected by chloeh13q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants