GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Move packaging to `pyproject.toml` by stephenfin · Pull Request #108 · ParallelSSH/ssh-python

Conversation

@stephenfin

@stephenfin stephenfin commented Nov 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

All reactions
stephenfin added 10 commits November 12, 2026 16:05
@stephenfin
Stop using setup.py
b09a155
Use the replacements for setup.py build and setup.py install.

Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin
Move flake8 configuration to .flake8 file
8897c8b
Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin
Remove [bdist_wheel] universal
fc85256
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]>
@stephenfin
Add minimal pyproject.toml
db24f9b
We only populate [build-system] for now.

Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin
Move versioneer to a build-time dependency
4befeee
We no longer need to vendor this.

Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin
Move (most) packaging metadata to pyproject.toml
51234ea
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]>
@stephenfin
Move package data definition to pyproject.toml
81ebb1c
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]>
@stephenfin
Move versioneer configuration to pyproject.toml
bb26ac6
Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin
Move pytest configuration to pyproject.toml
e724b06
This removes our last user of setup.cfg.

Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin
Remove obsolete Windows Python version check
b0d42f5
We already handle this via requires-python.

Signed-off-by: Stephen Finucane <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@stephenfin
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.