From 64286cf2c355055b7d2d29d9ee20f5111477eb5a Mon Sep 17 00:00:00 2001 From: Ryan Hausen Date: Mon, 26 Aug 2024 13:16:33 -0400 Subject: [PATCH 1/2] updated developer documentation to install latest sklearn for compatability --- DEVELOPING.md | 10 +++++++--- build_sklearn_requirements.txt | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 build_sklearn_requirements.txt diff --git a/DEVELOPING.md b/DEVELOPING.md index 9340552f..3d8a3e99 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -40,10 +40,14 @@ Next, install necessary build dependencies. For more information, see /site-packages # to check installation, you need to be in a different directory - cd docs; + cd docs; python -c "from treeple import tree" python -c "import sklearn; print(sklearn.__version__);" @@ -188,7 +192,7 @@ GH Actions will build wheels for each Python version and OS. Then the wheels nee will have all the wheels for common OSes built for each Python version. 2. Upload wheels to test PyPi -This is to ensure that the wheels are built correctly and can be installed on a fresh environment. For more information, see . You will need to follow the instructions to create an account and get your API token for testpypi and pypi. +This is to ensure that the wheels are built correctly and can be installed on a fresh environment. For more information, see . You will need to follow the instructions to create an account and get your API token for testpypi and pypi. ``` twine upload dist/* --repository testpypi diff --git a/build_sklearn_requirements.txt b/build_sklearn_requirements.txt new file mode 100644 index 00000000..8033f54d --- /dev/null +++ b/build_sklearn_requirements.txt @@ -0,0 +1,3 @@ +--pre +--extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple +scikit-learn \ No newline at end of file From 3b10af5b30a7517d28ed8b03b96019b16d23a7c9 Mon Sep 17 00:00:00 2001 From: Ryan Hausen Date: Mon, 26 Aug 2024 13:22:26 -0400 Subject: [PATCH 2/2] restore semicolon that was replaced with a period accidently --- DEVELOPING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEVELOPING.md b/DEVELOPING.md index 3d8a3e99..f160df0e 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -40,7 +40,7 @@ Next, install necessary build dependencies. For more information, see