From b8eccd9b83850e40c33ae1503d14da0a8f08458f Mon Sep 17 00:00:00 2001 From: Matthias Feurer Date: Fri, 4 Dec 2020 14:23:59 +0100 Subject: [PATCH 1/3] prepare new release --- .github/workflows/pytest.yml | 11 +++++++---- autosklearn/__init__.py | 4 ++-- autosklearn/__version__.py | 2 +- doc/releases.rst | 28 ++++++++++++++++++++++++++++ 4 files changed, 38 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index d787e29dc3..b96b3f6011 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -25,23 +25,26 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Conda Install test dependencies + - name: Conda Install test dependencies if: matrix.use-conda == true run: | # Miniconda is available in $CONDA env var $CONDA/bin/conda create -n testenv --yes pip wheel gxx_linux-64 gcc_linux-64 swig python=${{ matrix.python-version }} $CONDA/envs/testenv/bin/python3 -m pip install --upgrade pip $CONDA/envs/testenv/bin/pip3 install -e .[test] - - name: Install test dependencies + - name: Install test dependencies if: matrix.use-conda == false && matrix.use-dist == false run: | - python -m pip install --upgrade pip + if [ `python -c 'import platform; print(platform.python_version())' | cut -d '.' -f 2` -ge 7 ]; then + # The latest pip versions require at least Python3.7 + python -m pip install --upgrade pip + fi pip install -e .[test] sudo apt-get update sudo apt-get remove swig sudo apt-get install swig3.0 sudo ln -s /usr/bin/swig3.0 /usr/bin/swig - - name: Dist Install test dependencies + - name: Dist Install test dependencies if: matrix.use-conda == false && matrix.use-dist == true run: | python -m pip install --upgrade pip diff --git a/autosklearn/__init__.py b/autosklearn/__init__.py index 394eae607f..dba96978a7 100644 --- a/autosklearn/__init__.py +++ b/autosklearn/__init__.py @@ -20,8 +20,8 @@ sys.platform ) -if sys.version_info < (3, 5): +if sys.version_info < (3, 6): raise ValueError( 'Unsupported python version %s found. Auto-sklearn requires Python ' - '3.5 or higher.' % sys.version_info + '3.6 or higher.' % sys.version_info ) diff --git a/autosklearn/__version__.py b/autosklearn/__version__.py index 7fd2e63a53..6faf4858e2 100644 --- a/autosklearn/__version__.py +++ b/autosklearn/__version__.py @@ -1,4 +1,4 @@ """Version information.""" # The following line *must* be the last in the module, exactly as formatted: -__version__ = "0.11.1" +__version__ = "0.12.0" diff --git a/doc/releases.rst b/doc/releases.rst index abc338e51a..49b1f6c8ee 100644 --- a/doc/releases.rst +++ b/doc/releases.rst @@ -7,10 +7,33 @@ commit. From http://stackoverflow.com/questions/6482436/list-of-authors-in-git-since-a-given-commit git log 2e29eba.. --format="%aN <%aE>" --reverse | perl -e 'my %dedupe; while () { print unless $dedupe{$_}++}' + ======== Releases ======== +Version 0.12.0 +============== + +* BREAKING: Auto-sklearn must now be guarded by ``__name__ == "__main__"`` due to the use of the + ``spawn`` multiprocessing context. +* ADD #1026: Adds improved meta-data for Auto-sklearn 2.0 which results in strong improved + performance. +* MAINT #984 and #1008: Move to scikit-learn 0.23.X +* MAINT #1004: Move from travis-ci to github actions. +* MAINT 8b67af6: drop the requirement to the lockfile package. +* FIX #990: Fixes a bug that made Auto-sklearn fail if there are missing values in a pandas + DataFrame. +* FIX #1007, #1012 and #1014: Log multiprocessing output via a new log server. Remove several + potential deadlocks related to the joint use of multi-processing, multi-threading and logging. + +Contributors v0.12.0 +******************** + +* Matthias Feurer +* ROHIT AGARWAL +* Francisco Rivera + Version 0.11.1 ============== @@ -19,6 +42,11 @@ Version 0.11.1 * FIX #1001: Fixes a bug which could make Auto-sklearn fail at random. * MAINT #1000: Introduce a minimal version for ``dask.distributed``. +Contributors v0.11.1 +******************** + +* Matthias Feurer + Version 0.11.0 ============== From 08b2b855bb64996e60aaf9cafab9371e251c2c6f Mon Sep 17 00:00:00 2001 From: Matthias Feurer Date: Fri, 4 Dec 2020 14:44:24 +0100 Subject: [PATCH 2/3] react to numpy 1.20 --- .github/workflows/pytest.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index b96b3f6011..e1132db4a1 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -35,9 +35,10 @@ jobs: - name: Install test dependencies if: matrix.use-conda == false && matrix.use-dist == false run: | - if [ `python -c 'import platform; print(platform.python_version())' | cut -d '.' -f 2` -ge 7 ]; then - # The latest pip versions require at least Python3.7 - python -m pip install --upgrade pip + python -m pip install --upgrade pip + if [[ `python -c 'import platform; print(platform.python_version())' | cut -d '.' -f 2` -eq 6 ]]; then + # Numpy 1.20 dropped suppert for Python3.6 + pip install numpy<=1.19 fi pip install -e .[test] sudo apt-get update From 9e99ac57119b47b01d818a8cf8099234583abc55 Mon Sep 17 00:00:00 2001 From: Matthias Feurer Date: Fri, 4 Dec 2020 14:47:43 +0100 Subject: [PATCH 3/3] react to numpy 1.20 --- .github/workflows/pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index e1132db4a1..5b58ef7bd3 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -38,7 +38,7 @@ jobs: python -m pip install --upgrade pip if [[ `python -c 'import platform; print(platform.python_version())' | cut -d '.' -f 2` -eq 6 ]]; then # Numpy 1.20 dropped suppert for Python3.6 - pip install numpy<=1.19 + pip install "numpy<=1.19" fi pip install -e .[test] sudo apt-get update