Skip to content

Isolated TOML-based build and migration from miniver to SCM#376

Merged
RobinTail merged 29 commits into
developfrom
isolated-toml
May 1, 2026
Merged

Isolated TOML-based build and migration from miniver to SCM#376
RobinTail merged 29 commits into
developfrom
isolated-toml

Conversation

@RobinTail

@RobinTail RobinTail commented May 1, 2026

Copy link
Copy Markdown
Collaborator

Contributes to #373

https://docs.octoprint.org/en/dev/plugins/migration_pyproject_toml.html#obtaining-octoprint-plugin-tool

Attempt 1 (didn't get the python requirements right):

$ octoprint-plugin-tool to-pyproject
Attempting to migrate plugin in /workspaces/OctoRelay
Extracting plugin data from /workspaces/OctoRelay/setup.py...
Validating and migrating plugin data for plugin in /workspaces/OctoRelay...
Plugin still supports EOL Python 3.7 or 3.8, not enabling PEP639
Generating /workspaces/OctoRelay/pyproject.toml...
Generating /workspaces/OctoRelay/setup.py...
Generating /workspaces/OctoRelay/Taskfile.yml...
Updating /workspaces/OctoRelay/MANIFEST.in as necessary...
Cleaning up...
        Removing no longer needed /workspaces/OctoRelay/requirements.txt...
        WARNING: Not removing /workspaces/OctoRelay/setup.cfg, there might still be important tool settings in there. MANUAL MERGE REQUIRED!
... done!

Attempt 2

$ octoprint-plugin-tool to-pyproject
Attempting to migrate plugin in /workspaces/OctoRelay
Extracting plugin data from /workspaces/OctoRelay/setup.py...
Validating and migrating plugin data for plugin in /workspaces/OctoRelay...
Plugin's python requirements indicate PEP639 compatibility
Generating /workspaces/OctoRelay/pyproject.toml...
Generating /workspaces/OctoRelay/Taskfile.yml...
Updating /workspaces/OctoRelay/MANIFEST.in as necessary...
Cleaning up...
        Removing no longer needed /workspaces/OctoRelay/setup.py...
        Removing no longer needed /workspaces/OctoRelay/requirements.txt...
        WARNING: Not removing /workspaces/OctoRelay/setup.cfg, there might still be important tool settings in there. MANUAL MERGE REQUIRED!

@RobinTail RobinTail added the refactoring Better implementation of the same thing label May 1, 2026
@coveralls

coveralls commented May 1, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — isolated-toml into develop

Comment thread Taskfile.yml Outdated
Comment thread pyproject.toml Outdated
@RobinTail RobinTail changed the title Applying the TOML migration tool for isolated setup Isolated TOML-based setup and miniver—>SCM migration May 1, 2026
@RobinTail RobinTail added release Chores for releasing new versions dependencies labels May 1, 2026
@RobinTail RobinTail added the documentation Improvements or additions to documentation label May 1, 2026
Comment thread README.md Outdated

@RobinTail RobinTail left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed. seems to be ok

@RobinTail RobinTail changed the title Isolated TOML-based setup and miniver—>SCM migration Isolated TOML-based build and migration from miniver to SCM May 1, 2026
@RobinTail RobinTail merged commit cda4557 into develop May 1, 2026
21 checks passed
@RobinTail RobinTail mentioned this pull request May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies documentation Improvements or additions to documentation refactoring Better implementation of the same thing release Chores for releasing new versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants