Skip to content

Conversation

@kroq-gar78
Copy link
Contributor

@kroq-gar78 kroq-gar78 commented Sep 1, 2024

This should remove any explicit mentions of distutils and fix installation in Python 3.12.

I'm not super familiar with the packaging system, so there's 2 things I'm not sure about:

@kroq-gar78 kroq-gar78 changed the title Remove dependency on distutils MNT Remove dependency on distutils Sep 1, 2024
@mvdoc
Copy link
Contributor

mvdoc commented Sep 1, 2024

This looks great! Re your questions:

  1. We should just add python 3.12 to the github actions and see whether the tests run
  2. I don't think we'll need to pin setuptools anymore after removing numpy.distutils

@mvdoc
Copy link
Contributor

mvdoc commented Sep 1, 2024

I triggered the test on python 3.12, let's see

@mvdoc mvdoc linked an issue Sep 1, 2024 that may be closed by this pull request
@mvdoc
Copy link
Contributor

mvdoc commented Sep 1, 2024

Alright, everything is green. I tried installing locally with a new conda environment and it works great. I'll merge and release a new version.

Thanks @kroq-gar78 !

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.

Installation trouble: ModuleNotFoundError: No module named 'distutils.msvccompiler' Refactor setup process to support Python >= 3.12

2 participants