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

Dropping distutils dependencies across the code #793

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

aprsa
Copy link
Contributor

@aprsa aprsa commented Nov 9, 2023

In addition to the separate PR that removes distutils from setup.py, there were a number of distutils' LooseVersion() and StrictVersion() uses throughout the code. These have been replaced by packaging.version.parse. In addition, the code that added IAU 2015 resolution units to astropy <= 2.0 has been removed as we require astropy 3+.

In addition to the separate PR that removes distutils from setup.py, there were a number of distutils' LooseVersion() and StrictVersion() uses throughout the code. These have been replaced by packaging.version.parse.
@aprsa aprsa requested a review from kecnry November 9, 2023 20:27
Copy link
Member

@kecnry kecnry left a comment

Choose a reason for hiding this comment

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

Looks good to me - thanks!

Would you mind also making a PR directly to autofig and distl with these changes so they don't get reintroduced here later? (But since we're not releasing those very often, I think its find to just make the changes directly here for now since they shouldn't actually affect any behavior).

@aprsa aprsa merged commit 9afaa11 into phoebe-project:bugfix-2.4.12 Nov 10, 2023
@aprsa aprsa deleted the drop_distutils_versioning branch November 10, 2023 16:40
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

Successfully merging this pull request may close these issues.

2 participants