Conversation
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.
The primary change in this PR is to use dependency groups (PEP 735) which is a standard Python feature to create groups, usually for developers. These should be used instead of optional dependencies, which are published to PyPI and are usually for end-users. Dependency groups are understood by modern Python development tools like uv, or since pip v25.1 via
pip install --group <name>.plotandsklearnextras, so that (e.g.)pip install pykrige[plot]still works for end-usersdoc,lintandtestextras, because end-users don't need thesebuilddependency group to repeat thebuild-system.requirescontents of all the tools used build and compile the package; this is mostly useful when using pip's--no-build-isolationflag, but also when usingcythoncommands.docsdependency group for building docs. The plural "docs" is to match the directory name. This change needs some adjustment to.readthedocs.ymlto work.lintunchanged from thelintextra.testsdependency group for adding tools to run tests. Again, the plural "tests" is to match the directory name. This group name can be used by cibuildwheel.devdependency group which adds most of the other groups, exceptdocs(but this can be added, if desired). Note thatuv synctreats thedevgroup specially, and is included by default.Other changes:
wheelpackage is not needed as a build dependency anymore, so remove it.uv-syncCI check to ensure that dependencies and dependency groups declared for this project are consistent and resolvable.*.lockto.gitignoreto ignore various lock files from pixi, pipenv and uv.