GeezerVison is showing github.com — Move packaging to `pyproject.toml` by stephenfin · Pull Request #108 · ParallelSSH/ssh-python
Conversation
stephenfin
commented
Nov 12, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Well, as much of it as we can. This is quite a large PR, so I've broken it down into a series of individual commits. I think it would be much easier to review this that way.
NOTE
I'm marking this as draft since I expect to see failures in CI here. Hopefully not, but better safe than sorry.
Commits
Stop using setup.py
Move flake8 configuration to .flake8 file
Remove [bdist_wheel] universal
Add minimal pyproject.toml
Move versioneer to a build-time dependency
Move (most) packaging metadata to pyproject.toml
Move package data definition to pyproject.toml
Move versioneer configuration to pyproject.toml
Move pytest configuration to pyproject.toml
Remove obsolete Windows Python version check
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Use the replacements for setup.py build and setup.py install.
Signed-off-by: Stephen Finucane <[email protected]>
We were setting this to 0 which is already the default. It is also
irrelevant since we are building binary wheels.
Signed-off-by: Stephen Finucane <[email protected]>
We only populate [build-system] for now.
Signed-off-by: Stephen Finucane <[email protected]>
We no longer need to vendor this.
Signed-off-by: Stephen Finucane <[email protected]>
Note that we use the older, deprecated 'project.license' configuration
to avoid breaking builds on Python 3.8 (whose newest setuptools version
does not support this).
Signed-off-by: Stephen Finucane <[email protected]>
This is kept separate since it's a little more complicated.
We also remove the `platforms='any'` definition since this is legacy
that has no meaning nowadays.
Signed-off-by: Stephen Finucane <[email protected]>
This removes our last user of setup.cfg.
Signed-off-by: Stephen Finucane <[email protected]>
We already handle this via requires-python.
Signed-off-by: Stephen Finucane <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.