FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Migrate from setup.py to pyproject.toml by csmarchbanks · Pull Request #1084 · prometheus/client_python · GitHub

Migrate from setup.py to pyproject.toml - #1084

Merged
csmarchbanks merged 1 commit into
masterfrom
migrate-to-pyproject
Jan 21, 2025
Merged

Migrate from setup.py to pyproject.toml#1084
csmarchbanks merged 1 commit into
masterfrom
migrate-to-pyproject

Conversation

Copy link
Copy Markdown
Member

Update the project configuration to use a pyproject.toml file instead of setup.py. This is the preferred tool and will allow easier integration with other tools in the future. We can also get rid of MANIFEST.in as the cache and compiled files are automatically excluded.

csmarchbanks force-pushed the migrate-to-pyproject branch 2 times, most recently from 00438ac to 4ba724f Compare January 13, 2025 22:37
Comment thread pyproject.toml
license = { file = "LICENSE" }
requires-python = ">=3.9"
authors = [
{ name = "The Prometheus Authors", email = "prometheus-developers@googlegroups.com" },

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This should be the only substantive change, moving from a specific author to the Promtheus developers as a whole.

Comment thread pyproject.toml

[project]
name = "prometheus_client"
version = "0.21.1"

csmarchbanks Jan 17, 2025
edited
Loading

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The version also changed to match the most recent release which had a backport applied to it.

sd2k left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks fine to me (although I've never used the pyproject / setuptools build system). One very minor comment!

Comment thread pyproject.toml
Update the project configuration to use a pyproject.toml file instead of
setup.py. This is the preferred tool and will allow easier integration
with other tools in the future. We can also get rid of MANIFEST.in as
the cache and compiled files are automatically excluded.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
csmarchbanks merged commit b0a6f12 into master Jan 21, 2025
csmarchbanks deleted the migrate-to-pyproject branch January 21, 2025 17:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL