Skip to content

MNT: Remove all mention of distutils#12655

Merged
pllim merged 1 commit intoastropy:mainfrom
pllim:rm-distutils
Dec 29, 2021
Merged

MNT: Remove all mention of distutils#12655
pllim merged 1 commit intoastropy:mainfrom
pllim:rm-distutils

Conversation

@pllim
Copy link
Member

@pllim pllim commented Dec 28, 2021

Description

This pull request is to remove all mention of distutils because it is deprecated.

I don't think this needs a change log?

Checklist for package maintainer(s)

This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.

  • Do the proposed changes actually accomplish desired goals?
  • Do the proposed changes follow the Astropy coding guidelines?
  • Are tests added/updated as required? If so, do they follow the Astropy testing guidelines?
  • Are docs added/updated as required? If so, do they follow the Astropy documentation guidelines?
  • Is rebase and/or squash necessary? If so, please provide the author with appropriate instructions. Also see "When to rebase and squash commits".
  • Did the CI pass? If no, are the failures related? If you need to run daily and weekly cron jobs as part of the PR, please apply the Extra CI label.
  • Is a change log needed? If yes, did the change log check pass? If no, add the no-changelog-entry-needed label. If this is a manual backport, use the skip-changelog-checks label unless special changelog handling is necessary.
  • Is a milestone set? Milestone must be set but astropy-bot check might be missing; do not let the green checkmark fool you.
  • At the time of adding the milestone, if the milestone set requires a backport to release branch(es), apply the appropriate backport-X.Y.x label(s) before merge.

@github-actions
Copy link
Contributor

👋 Thank you for your draft pull request! Do you know that you can use [ci skip] or [skip ci] in your commit messages to skip running continuous integration tests until you are ready?

@pllim
Copy link
Member Author

pllim commented Dec 28, 2021

Interesting... I thought CI would break more spectacularly.

Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

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

Indeed, great to see what seem no related failures: the aarch64 error definitely seems unrelated, as does the -dev (just a(nother) timeout...). So, I see no reason not just to get this in!

@pllim
Copy link
Member Author

pllim commented Dec 29, 2021

Thanks for the review, @mhvk ! I just merged another PR that would hopefully fixed all the CI (except for timeouts), so I rebased here and see if things will be better... 🤞

@pllim pllim marked this pull request as ready for review December 29, 2021 17:26
@pllim pllim merged commit e438e53 into astropy:main Dec 29, 2021
@pllim pllim deleted the rm-distutils branch December 29, 2021 17:26
meeseeksmachine pushed a commit to meeseeksmachine/astropy that referenced this pull request Dec 29, 2021
@mhvk
Copy link
Contributor

mhvk commented Dec 29, 2021

Nice cleanup! Thanks, @pllim!

pllim added a commit that referenced this pull request Dec 29, 2021
…655-on-v5.0.x

Backport PR #12655 on branch v5.0.x (MNT: Remove all mention of distutils)
pllim added a commit to mhvk/astropy that referenced this pull request Jan 3, 2022
because without it, pyinstaller crashes again though it was fine during that PR.
pllim added a commit to mhvk/astropy that referenced this pull request Jan 3, 2022
pllim added a commit to pllim/astropy that referenced this pull request Jan 4, 2022
neutrinoceros added a commit to neutrinoceros/astropy that referenced this pull request Feb 17, 2022
pllim added a commit that referenced this pull request Feb 17, 2022
BUG: don't escalate a deprecation warning from numpy into an ImportError. Partially revert #12655
meeseeksmachine pushed a commit to meeseeksmachine/astropy that referenced this pull request Feb 17, 2022
saimn added a commit that referenced this pull request Feb 17, 2022
…867-on-v5.0.x

Backport PR #12867 on branch v5.0.x (BUG: don't escalate a deprecation warning from numpy into an ImportError. Partially revert #12655)
nstarman pushed a commit to nstarman/astropy that referenced this pull request Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove remaining use of distutils Numpy distutils deprecation failing all PRs MNT: Un-ignore Distutils was imported before Setuptools

2 participants