noraeisner / LATTE

Lightcurve Analysis Tool for Transiting Exoplanet
GNU Lesser General Public License v3.0
39 stars 10 forks source link

Sklearn deprecated fix + python version suggestion + urllib3 version [June 2024] #53

Open stelais opened 4 months ago

stelais commented 4 months ago

Sklearn is deprecated, therefore I updated the files requirements.txt and setup.py to use scikit-learn instead (https://github.com/scikit-learn/sklearn-pypi-package). I also added in the README.md file the suggestion of using python 3.7, since a couple of packages are only available for this python version.

I also added a specific version of urllib3==1.26.6 to the requirements, because I was having this error "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2u 20 Dec 2019'" when installing the code in June 2024.