Adding Dependencies

Use when adding a new third-party dependency to aiida-core's `pyproject.toml`.

aiidateam 17a8b90 754 B Updated

File contents

Adding dependencies to aiida-core

Before adding a new dependency to pyproject.toml, ensure it:

  • Fills a non-trivial feature gap not easily resolved otherwise
  • Is actively maintained
  • Supports all Python versions supported by aiida-core
  • Is available on both PyPI and conda-forge
  • Uses an MIT-compatible license (MIT, BSD, Apache, LGPL — not GPL)

After modifying pyproject.toml, the uv-lock and generate-conda-environment pre-commit hooks will automatically update uv.lock and environment.yml to stay in sync. Run uv run pre-commit to trigger them.

aiidateam/aiida-core/tree/main/.claude/skills/adding-dependencies commit 17a8b90f62

Frequently asked questions

npx skillmds@latest add aiidateam/adding-dependencies