Skip to content

Update package metadata#713

Merged
skarimo merged 4 commits intomasterfrom
modernize-metadata
Feb 25, 2022
Merged

Update package metadata#713
skarimo merged 4 commits intomasterfrom
modernize-metadata

Conversation

@ofek
Copy link
Copy Markdown
Contributor

@ofek ofek commented Feb 17, 2022

What does this PR do?

This implements PEP 621, obviating the need for both setup.py and MANIFEST.in. Support has not landed in setuptools, so builds will now use hatchling. We also did this for all integrations: https://github.com/DataDog/integrations-core

This also drops support for EOL Python 3.x versions since hatchling and other build backends like setuptools have already done so. This will not break anything because pip only looks for version candidates that satisfy the requires-python field. Here are stats for the curious: https://pypistats.org/packages/datadog

Note that the setup.py file will be removed when we drop Python 2 since new-style editable installations require versions of pip that are Python 3-only. Basically, this is just for the py27 test tox environment.

@ofek ofek requested a review from a team as a code owner February 17, 2022 07:04
@ofek ofek added the changelog/Added Added features results into a minor version bump label Feb 17, 2022
@ofek ofek force-pushed the modernize-metadata branch 2 times, most recently from 4ed3dd8 to b581969 Compare February 17, 2022 07:24
@ofek
Copy link
Copy Markdown
Contributor Author

ofek commented Feb 17, 2022

CI just looks flaky https://pypi.org/project/tomli/#history

@ofek ofek force-pushed the modernize-metadata branch from b581969 to e7733b3 Compare February 23, 2022 23:26
@ofek ofek force-pushed the modernize-metadata branch 3 times, most recently from d349583 to 39f2185 Compare February 24, 2022 00:45
@ofek ofek force-pushed the modernize-metadata branch from 39f2185 to 63c69d2 Compare February 24, 2022 00:47
@ofek
Copy link
Copy Markdown
Contributor Author

ofek commented Feb 24, 2022

AZP has old PyPy 3.6

@skarimo
Copy link
Copy Markdown
Member

skarimo commented Feb 25, 2022

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@skarimo skarimo merged commit 3ce91c9 into master Feb 25, 2022
@skarimo skarimo deleted the modernize-metadata branch February 25, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/Added Added features results into a minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants