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

Increase minimum setuptools version to v61 #3394

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

kandersolar
Copy link
Contributor

Description Of Changes

MetPy stores project metadata in pyproject.toml following PEP 621. It uses setuptools as the build backend. Setuptools added support for PEP 621 in v61.0.0: https://setuptools.pypa.io/en/stable/history.html#v61-0-0

However, pyproject.toml only mandates setuptools>=42. In practice I doubt it is really a problem, as the most recent version of setuptools is usually pulled in automatically when building metpy, although it is possible to contrive a problematic scenario by installing an older version of setuptools (setuptools==60, e.g.) and using pip install's --no-build-isolation option.

Anyway, it is trivial to fix the issue, so there is little reason not to IMHO.

Checklist

  • [ ] Closes #xxxx
  • [ ] Tests added
  • [ ] Fully documented

`setuptools>=v61.0.0` is required for PEP 621 support (storing project metadata in pyproject.toml): https://setuptools.pypa.io/en/stable/history.html#v61-0-0
@kandersolar kandersolar requested a review from a team as a code owner February 12, 2024 18:32
@kandersolar kandersolar requested review from dcamron and removed request for a team February 12, 2024 18:32
@CLAassistant
Copy link

CLAassistant commented Feb 12, 2024

CLA assistant check
All committers have signed the CLA.

@dopplershift
Copy link
Member

Have definitely thought about this in the past, but was too lazy to put in a PR. Thanks!

@dopplershift dopplershift added Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong) labels Feb 13, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Feb 13, 2024
@dopplershift dopplershift merged commit 698f544 into Unidata:main Feb 13, 2024
36 checks passed
@kandersolar kandersolar deleted the patch-1 branch February 13, 2024 21:17
@dopplershift dopplershift modified the milestones: 1.7.0, 1.6.2 Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants