Offer a lean runtime install: move docs/test tooling out of the main dependencies and relax the Python pin

Open
#447 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
jupyter-notebook, python

Research direction

Start with the project dependency configuration and identify where the Python version and runtime, docs, and test dependencies are declared. Run uv sync --all-extras --dev to preserve the development workflow, then update the dependency groups or extras and Python version requirement. Done means a runtime-only install excludes docs and test tooling, newer supported Python versions work in CI, and the docs build and README install instructions remain valid.

Written by the indexing model from the issue text.

Description

patch / enhancement

requires-python = "~=3.12.0" limits PyOPIA to Python 3.12.x, and the main [project] dependencies
include docs and test tooling (sphinx==5.0, jupyter-book, myst-nb, sphinx-*, nbconvert, nbclient,
ipykernel, pytest-error-for-skips, readthedocs-sphinx-search, poetry-version-plugin). A runtime-only
install is therefore not possible, which matters for small or offline devices.

Suggested:

  • move docs/test tooling into dependency groups or extras (docs, test) and keep only runtime packages in
    the main dependencies
  • relax the Python pin to >=3.12 once CI passes on newer versions
  • keep uv sync --all-extras --dev working for development, and check the docs build and README
    install instructions
Dominant language
Jupyter Notebook
Stars
19
Forks
7
Avg merge
10d 11h
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SINTEF/pyopia

All issues in SINTEF/pyopia

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.