🐛 Fix issues with nix 25.11 compatiblity#44
Draft
Eiken wants to merge 10 commits into
Draft
Conversation
84b0fa7 to
3a5b51a
Compare
fb41e67 to
cfbcf32
Compare
Ensure correct name for sphinx-rtd-theme that has changed from its old name sphinx_rtd_theme
The select key should be in the lint dict.
This is the new way.
The nixpkgs derivation for pylsp-ruff burns the ruff exe into the code. Make it use our wrapped version of ruff with our configs. Also introduce an env var NEDRYGLOT_NO_LINT_CONFIG which if set, skips our config when running the linter tools (ruff, mypy, pytest etc.)
When pytest starts it traverses directories from the current directory to the directory of the config file. If any of these directories were unreadable by the current user it would cause a permission error. We workd around this by setting --confcutdir to cut off the conf dir walking as we will put the generated config in a temp directory which could be far away from the current directory.
When doing builds in Nix, the source is copied out without the .git folder. The ignore crate (used by Ruff) will then skip using .gitignore files. This patches ruff to disable that feature in ignore.
Function to be able to call package with overrides like in nixpkgs.
Update the github workflows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Disable checks for pylint and mypy which errors and rely on them being correct as they are.Ensure correct name for sphinx-rtd-theme that has changed from its old name sphinx_rtd_theme