Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency compilation should add deprecation dates #469

Open
robdimsdale opened this issue Nov 14, 2022 · 0 comments
Open

Dependency compilation should add deprecation dates #469

robdimsdale opened this issue Nov 14, 2022 · 0 comments

Comments

@robdimsdale
Copy link
Member

Describe the Enhancement

Each version of Python is supported until a specific date (see e.g. https://endoflife.date/python). We can therefore make use of the deprecation_date field in the dependencies metadata. We were previously doing that, but the switch to the new dependencies workflow has caused this field to be dropped.

We should put these dates back to the dependency metadata.

Possible Solution

I think the best place to add this is the [[metadata.dependency-constraints]] object. Each dependency constraint maps to a minor line, and each minor line has a specific, well-defined deprecation date.

Motivation

The deprecation date is useful to humans and automation, and should be included if it is accurate and verifiable.

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

No branches or pull requests

1 participant