Skip to content

ARROW-12068: [Python] Stop using distutils#9849

Closed
pitrou wants to merge 5 commits intoapache:masterfrom
pitrou:ARROW-12068-remove-distutils
Closed

ARROW-12068: [Python] Stop using distutils#9849
pitrou wants to merge 5 commits intoapache:masterfrom
pitrou:ARROW-12068-remove-distutils

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Mar 30, 2021

According to PEP 632, distutils will be deprecated in Python 3.10 and removed in 3.12.

  • switch to setuptools for general packaging
  • use the Version class from the packaging project instead of distutils.LooseVersion

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Mar 30, 2021

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Mar 30, 2021

It looks like AppVeyor will require more debugging unfortunately :-(

@github-actions
Copy link
Copy Markdown

@pitrou pitrou force-pushed the ARROW-12068-remove-distutils branch from 8c740d6 to abf733c Compare March 31, 2021 12:44
@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Mar 31, 2021

pitrou added 5 commits April 1, 2021 14:09
According to PEP 632, distutils will be deprecated in Python 3.10 and removed in 3.12.

* switch to `setuptools` for general packaging
* use the `Version` class from the `packaging` project instead of `distutils.LooseVersion`
@pitrou pitrou force-pushed the ARROW-12068-remove-distutils branch from abf733c to 28a05bf Compare April 1, 2021 12:12
Copy link
Copy Markdown
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me

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.

3 participants