Skip to content

Conversation

@QuLogic
Copy link
Member

@QuLogic QuLogic commented Sep 8, 2021

Rationale

Makes us prepared for Python 3.12, which removes distutils.

Fixes #1836.

Implications

New dependency.

@QuLogic QuLogic added this to the 0.20 milestone Sep 8, 2021

if (hasattr(owslib, '__version__') and
LooseVersion(owslib.__version__) >= '0.19.2'):
parse_version(owslib.__version__) >= parse_version('0.19.2')):
Copy link
Contributor

Choose a reason for hiding this comment

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

This is slightly annoying that we have to wrap everything ourselves now, rather than "parse_version" being able to cast the string to Version internally during the comparison...

@QuLogic QuLogic marked this pull request as draft September 10, 2021 00:36
Copy link
Contributor

@greglucas greglucas left a comment

Choose a reason for hiding this comment

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

This looks good to me. You have it as draft currently, feel free to self-merge if this is all you wanted to add here.

@QuLogic
Copy link
Member Author

QuLogic commented Sep 13, 2021

Just waiting for the minimum version bumps, which will cause a lot of conflicts for things that are dropped.

@greglucas greglucas mentioned this pull request Sep 15, 2021
5 tasks
@QuLogic QuLogic marked this pull request as ready for review September 16, 2021 20:15
@greglucas greglucas merged commit 7ebc790 into SciTools:master Sep 16, 2021
@QuLogic QuLogic deleted the packaging branch September 16, 2021 20:57
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.

DEP: distutils is deprecated

3 participants