Skip to content

Commit

Permalink
Clean-up of setup.py and azure pipelines config. Updated CHANGELOG.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
interpret-ml committed May 23, 2019
1 parent f1e61ad commit 1874dc0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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",
Expand Down

0 comments on commit 1874dc0

Please sign in to comment.