Skip to content

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

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

Closed
wants to merge 5 commits into from

Conversation

pitrou
Copy link
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
Member Author

pitrou commented Mar 30, 2021

Triggered a crossbow build here: https://github.com/ursacomputing/crossbow/branches/all?query=build-119

@pitrou
Copy link
Member Author

pitrou commented Mar 30, 2021

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

@pitrou
Copy link
Member Author

pitrou commented Mar 30, 2021

@github-actions
Copy link

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

pitrou commented Mar 31, 2021

I submitted some Crossbow jobs again: https://github.com/ursacomputing/crossbow/branches/all?query=build-122

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
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

@pitrou pitrou closed this in 876d579 Apr 1, 2021
@pitrou pitrou deleted the ARROW-12068-remove-distutils branch April 1, 2021 13:30
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 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`

Closes apache#9849 from pitrou/ARROW-12068-remove-distutils

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 10, 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`

Closes apache#9849 from pitrou/ARROW-12068-remove-distutils

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 13, 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`

Closes apache#9849 from pitrou/ARROW-12068-remove-distutils

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
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