Skip to content

refactor: migrate from setup.py to pyproject.toml#9

Merged
drmingdrmer merged 1 commit into
masterfrom
migrate-pyproject-toml
Jan 7, 2026
Merged

refactor: migrate from setup.py to pyproject.toml#9
drmingdrmer merged 1 commit into
masterfrom
migrate-pyproject-toml

Conversation

@drmingdrmer
Copy link
Copy Markdown
Contributor

Summary

  • Migrate from setup.py to PEP 621 compliant pyproject.toml
  • Switch from Sphinx to MkDocs with mkdocstrings for documentation
  • Replace flake8 with ruff for linting/formatting
  • Update GitHub Actions to use v5 actions

Changes

  • Replace setup.py with pyproject.toml
  • Update __init__.py to use importlib.metadata for version
  • Fix ruff lint errors (E712 bool comparison, E721 type comparison, E731 lambda assignment)
  • Remove obsolete _building/ scripts and Sphinx configuration
  • Add test dependencies to workflow (k3proc, k3daemonize, websocket-client)

Test plan

  • Local tests pass (17/17)
  • CI lint job passes
  • CI build_doc job passes
  • CI ut job passes

Modernize build configuration to PEP 621 compliant pyproject.toml and update
tooling to use ruff for linting/formatting and MkDocs for documentation.

Changes:
- Replace `setup.py` with `pyproject.toml`
- Update `__init__.py` to use `importlib.metadata` for version
- Switch from Sphinx to MkDocs with mkdocstrings
- Replace flake8 with ruff, fix lint errors (E712, E721, E731)
- Update GitHub Actions to v5
- Remove obsolete _building scripts and Sphinx config
- Add test dependencies to workflow (k3proc, k3daemonize, websocket-client)
@drmingdrmer drmingdrmer merged commit 778c809 into master Jan 7, 2026
12 checks passed
@drmingdrmer drmingdrmer deleted the migrate-pyproject-toml branch January 8, 2026 03:52
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