Skip to content

fix: add dependencies to pyproject.toml#352

Open
frafra wants to merge 1 commit into
ckan:masterfrom
COATnor:fix/declare-pyproject-dependencies
Open

fix: add dependencies to pyproject.toml#352
frafra wants to merge 1 commit into
ckan:masterfrom
COATnor:fix/declare-pyproject-dependencies

Conversation

@frafra
Copy link
Copy Markdown
Contributor

@frafra frafra commented Mar 30, 2026

Hi! :)
Python modules should be specified their dependencies in pyproject.toml (or setup.py for the old ones). In this specific case, this change simplifies the installation of the module (no need to import requirements.txt manually into a larger pyproject.toml or try to mix requirements files together).
Pinning for CI can be done with uv export --no-hashes > requirements.txt or similar.
It also makes easier to automatically track/handle different versions for different Python interpreters.

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 this pull request may close these issues.

1 participant