ExeClim / Isca

Idealized GCM from the University of Exeter
https://execlim.github.io/IscaWebsite
GNU General Public License v3.0
139 stars 125 forks source link

Deprecation of distutils config files #234

Open soto97 opened 2 years ago

soto97 commented 2 years ago

Description

When installing Isca on the NASA Pleiades machine, I received a deprecation warning for the disutils package. I followed the installation instructions at GitHub. When I ran pip install -e . the installation was successful, but I received this deprecation warning:

  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621

I am not sure if this is an actual bug or not, but I thought it was worth alerting the developers, in case this will be a problem in the future.


Isca version

I ran git clone and installed commit 58422936f.


System Information: My system info:

uname_result(system='Linux', node='pfe26.nas.nasa.gov', release='3.10.0-1160.42.2.1chaos.ch6.x86_64', version='#1 SMP Wed Sep 15 13:57:25 PDT 2021', machine='x86_64')

I am running Python 3.9.10 and using the conda environment provided by ci/environment-py3.9.yml.

rosscastle commented 2 years ago

Hi, sorry for lack of reply! Thank you for bringing this to our attention.

For our reference what we need to do is change to setuptools here: https://github.com/ExeClim/Isca/blob/master/src/extra/python/setup.py

I will sort this soon.