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

Completely remove use of setup.py #3625

Merged
merged 3 commits into from
Sep 9, 2024
Merged

Conversation

dopplershift
Copy link
Member

Description Of Changes

Partially motivated by an error from #3624, but it's time to elminate setup.py completely:

  • Update release process to use the currently standard build tool rather than running setup.py directly to build the sdist and wheels 😬
  • Update infrastructure documentation, which was already outdated since pyproject.toml had all the metadata that was previously in setup.py
  • Remove setup.py and its fallback handling for Python 2 (we dropped Python 2 5 years ago in Drop support for Python 2.7! #1163)

Checklist

  • Fully documented

This eliminates running setup.py by hand.
Everything works through pyproject.toml, we don't need a setup.py and we
can safely eliminate Python 2 handling fallback--we dropped Python 2 5
years ago.
Some of this was already outdated by the move to pyproject.toml, but now
there's no setup.py.
@dopplershift dopplershift added Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong) labels Sep 9, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Sep 9, 2024
@dopplershift dopplershift requested a review from a team as a code owner September 9, 2024 18:56
@dopplershift dopplershift requested review from dcamron and removed request for a team September 9, 2024 18:56
@dcamron dcamron merged commit bbe27bb into Unidata:main Sep 9, 2024
35 checks passed
@dopplershift dopplershift deleted the drop-setuppy branch September 9, 2024 21:56
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.

2 participants