feat: rename package from sepal_ui to pysepal (Phase 2)#975
Merged
dfguerrerom merged 18 commits intomainfrom Mar 4, 2026
Merged
feat: rename package from sepal_ui to pysepal (Phase 2)#975dfguerrerom merged 18 commits intomainfrom
dfguerrerom merged 18 commits intomainfrom
Conversation
Design for the mechanical rename from sepal_ui to pysepal, covering scope, compatibility shim, PR breakdown, and validation.
Detailed task-by-task plan for renaming sepal_ui to pysepal across three PRs: directory rename + shim, import rename, and docs/templates.
- pyproject.toml: name, entry points, packages, coverage, codespell, commitizen - noxfile.py: sphinx-apidoc and mypy paths - .readthedocs.yaml: sphinx-apidoc path - unit.yml: template notebook test paths
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #975 +/- ##
==========================================
- Coverage 80.00% 79.97% -0.03%
==========================================
Files 56 56
Lines 5546 5544 -2
==========================================
- Hits 4437 4434 -3
- Misses 1109 1110 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
sepal_ui/→pysepal/and updates all internal imports, tests, docs, templates, and notebookssepal_ui/__init__.pythat redirects allsepal_ui.*imports topysepal.*with aDeprecationWarningpyproject.tomldistribution name fromsepal-uitopysepal(entry points, coverage, codespell, commitizen)module_deployand template noxfiles to accept both[pysepal]and[sepal-ui]config sections~/.sepal-ui-config,sepaluilogger namespace, andsepal-ui-scriptCSS class unchanged for backward compatibilityWhat is NOT renamed (deferred)
~/.sepal-ui-configfile path[sepal-ui]ConfigParser sectionsepaluilogger namespacesepal-ui-scriptCSS classTest plan
import pysepalworks for all entry pathsimport sepal_uistill works via shim with deprecation warningfrom sepal_ui.sepalwidgets import AppBarredirects correctlymodule_deploydual-read accepts both[pysepal]and[sepal-ui]References
docs/plans/2026-03-02-phase2-rename-design.mddocs/plans/2026-03-02-phase2-rename-plan.md