Skip to content

Migrate to consolidated pyproject.toml configuration#279

Merged
LOCEANlloydizard merged 17 commits into
echostack-org:mainfrom
dbashford-NOAA:migrate-to-pyproject
May 22, 2026
Merged

Migrate to consolidated pyproject.toml configuration#279
LOCEANlloydizard merged 17 commits into
echostack-org:mainfrom
dbashford-NOAA:migrate-to-pyproject

Conversation

@dbashford-NOAA

Copy link
Copy Markdown
Contributor
  • Move all metadata and dependencies from setup.cfg to pyproject.toml
  • Move all runtime dependencies from requirements.txt to pyproject.toml
  • Define docs dependencies as optional-dependencies in pyproject.toml
  • Consolidate all tool configurations (black, isort, setuptools_scm) in pyproject.toml
  • Deprecate setup.py, setup.cfg, and requirements.txt files
  • These deprecated files can be safely removed in a future release

This migration follows modern Python packaging best practices and eliminates configuration fragmentation.

dbashford-NOAA and others added 16 commits May 20, 2026 12:10
- Move all metadata and dependencies from setup.cfg to pyproject.toml
- Move all runtime dependencies from requirements.txt to pyproject.toml
- Define docs dependencies as optional-dependencies in pyproject.toml
- Consolidate all tool configurations (black, isort, setuptools_scm) in pyproject.toml
- Deprecate setup.py, setup.cfg, and requirements.txt files
- These deprecated files can be safely removed in a future release

This migration follows modern Python packaging best practices and eliminates configuration fragmentation.
Replaced setuptools and wheel installation with build in the CI workflow.
Updated the workflow to use 'python -m build' instead of 'setup.py' for building distributions and changed the pip install command to use 'build'. Removed unnecessary steps for publishing to PyPI.
Updated package dependencies and configurations in pyproject.toml.
Updated setuptools and setuptools_scm versions in the build system requirements.
Updated pip installation command to include setuptools_scm and added a debug step to check package structure.
Removed setuptools_scm dependency and dynamic versioning.
@dbashford-NOAA

Copy link
Copy Markdown
Contributor Author

Using UV instead of setuptools for the build backend resolved the issues with installing dependencies

@dbashford-NOAA dbashford-NOAA marked this pull request as ready for review May 20, 2026 21:26
@dbashford-NOAA dbashford-NOAA requested a review from leewujung May 20, 2026 21:26
@LOCEANlloydizard LOCEANlloydizard merged commit 6994723 into echostack-org:main May 22, 2026
5 checks passed
@LOCEANlloydizard

Copy link
Copy Markdown
Contributor

Thx @dbashford-NOAA!

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.

2 participants