From 1874dc0cfd0ea34595004e0d60f8a2fa279831a3 Mon Sep 17 00:00:00 2001 From: Interpret ML Date: Thu, 23 May 2019 14:46:39 -0700 Subject: [PATCH] Clean-up of setup.py and azure pipelines config. Updated CHANGELOG.md. --- CHANGELOG.md | 16 +++++++++++++++- azure-pipelines.yml | 4 ++-- src/python/setup.py | 8 +++----- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9363c17c6..4dd06f351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and the versioning is mostly derived from [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.1.4] - 2019-05-23 +### Added +- Root path for show server now has a light monitor page. +- Logging registration can now print to both standard streams and files. +### Fixed +- Error handling for non-existent links fixed for visualization backend. +- In some circumstances, Python process will hang. Resolved with new threading. +### Changed +- Unpinning scipy version, upstream dependencies now compatible with latest. +- Show server is now run by a thread directly, not via executor pools. +- Re-enabled notebook/show tests, new threading resolves hangs. +- Small clean-up of setup.py and Azure pipelines config. + ## [v0.1.3] - 2019-05-21 ### Added - Model fit can now support lists of lists as instance data. @@ -12,7 +25,7 @@ and the versioning is mostly derived from [Semantic Versioning](https://semver.o - Various internal C++ fixes. ### Changed - Removed hypothesis as public test dependency. -- C++ logging introduced (no public access) +- C++ logging introduced (no public access). ## [v0.1.2] - 2019-05-17 ### Added @@ -40,6 +53,7 @@ and the versioning is mostly derived from [Semantic Versioning](https://semver.o - Libraries are statically linked where possible. - Code now conforms to Python Black and its associated flake8. +[v0.1.4]: https://github.com/microsoft/interpret/releases/tag/v0.1.4 [v0.1.3]: https://github.com/microsoft/interpret/releases/tag/v0.1.3 [v0.1.2]: https://github.com/microsoft/interpret/releases/tag/v0.1.2 [v0.1.1]: https://github.com/microsoft/interpret/releases/tag/v0.1.1 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 78c9bb5fc..10133ece4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -137,9 +137,9 @@ jobs: - script: python -m pip install --upgrade pip setuptools wheel displayName: 'Install tools' - script: | - python -m pip install numpy scipy + python -m pip install numpy scipy pyscaffold workingDirectory: src/python - displayName: 'Install numpy/scipy first for mis-specified pip packages.' + displayName: 'Install numpy/scipy/pyscaffold first for mis-specified pip packages.' - script: | mkdir -p ~/.matplotlib echo "backend: TkAgg" >> ~/.matplotlib/matplotlibrc diff --git a/src/python/setup.py b/src/python/setup.py index 1d71a875d..ec7d2b034 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -16,7 +16,7 @@ "doc", "build_sphinx", }.intersection(sys.argv) -dev_tools = ["sphinx>=1.8.4", "flake8>=3.7.6", "pytest-cov>=2.6.1"] if needs_dev else [] +dev_tools = ["sphinx>=1.8.4", "flake8>=3.7.7", "pytest-cov>=2.6.1"] if needs_dev else [] long_description = """ In the beginning machines learned in darkness, and data scientists struggled in the void to explain them. @@ -71,8 +71,7 @@ "source_dir": ("setup.py", "docs"), } }, - # NOTE: Numpy here is a workaround to skope-rules' dependencies. - setup_requires=["numpy>=1.15.1", "scipy>=1.2.1"] + dev_tools, + setup_requires=[] + dev_tools, tests_require=[] + dev_tools, install_requires=[ # Algorithms @@ -97,8 +96,7 @@ "ipykernel>=5.1.0", "ipython>=7.4.0", "numpy>=1.15.1", - # NOTE: scipy has to be pinned until SALib is compatible with 1.3.0+ - "scipy==1.2.1", + "scipy>=1.2.1", # Testing "pytest>=4.3.0", "pytest-runner>=4.4",