Skip to content

Commit f9db3c1

Browse files
committed
Revert "V0.14.4 (#1378)"
This reverts commit 348c30f.
1 parent 348c30f commit f9db3c1

File tree

114 files changed

+2704
-4325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+2704
-4325
lines changed

.github/workflows/black_checker.yml

-47
This file was deleted.

.github/workflows/dist.yml

+3-30
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,31 @@
11
name: dist-check
22

3-
on:
4-
# Manually triggerable in github
5-
workflow_dispatch:
6-
7-
# When a push occurs on either of these branches
8-
push:
9-
branches:
10-
- master
11-
- development
12-
13-
# When a push occurs on a PR that targets these branches
14-
pull_request:
15-
branches:
16-
- master
17-
- development
3+
on: [push, pull_request]
184

195
jobs:
206
dist:
217
runs-on: ubuntu-latest
22-
238
steps:
24-
- name: Check out the repo
25-
uses: actions/checkout@v2
26-
with:
27-
submodules: recursive
28-
9+
- uses: actions/checkout@v2
2910
- name: Setup Python
3011
uses: actions/setup-python@v2
3112
with:
3213
python-version: 3.8
33-
3414
- name: Build dist
3515
run: |
3616
python setup.py sdist
37-
3817
- name: Twine check
3918
run: |
4019
pip install twine
4120
last_dist=$(ls -t dist/auto-sklearn-*.tar.gz | head -n 1)
4221
twine_output=`twine check "$last_dist"`
4322
if [[ "$twine_output" != "Checking $last_dist: PASSED" ]]; then echo $twine_output && exit 1;fi
44-
4523
- name: Install dist
4624
run: |
4725
last_dist=$(ls -t dist/auto-sklearn-*.tar.gz | head -n 1)
4826
pip install $last_dist
49-
5027
- name: PEP 561 Compliance
5128
run: |
5229
pip install mypy
53-
5430
cd .. # required to use the installed version of autosklearn
55-
56-
# Note this doesnt perform mypy checks, only
57-
# that the types are exported
58-
if ! mypy -c "import autosklearn"; then exit 1; fi
31+
if ! python -c "import autosklearn"; then exit 1; fi

.github/workflows/docker-publish.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
11
#https://help.github.com/en/actions/language-and-framework-guides/publishing-docker-images#publishing-images-to-github-packages
22
name: Publish Docker image
3-
43
on:
5-
64
push:
5+
# Push to `master` or `development`
76
branches:
87
- master
98
- development
109
- docker_workflow
1110

1211
jobs:
13-
1412
push_to_registry:
1513
name: Push Docker image to GitHub Packages
1614
runs-on: ubuntu-latest
17-
1815
steps:
1916
- name: Check out the repo
2017
uses: actions/checkout@v2
21-
with:
22-
submodules: recursive
23-
2418
- name: Extract branch name
2519
shell: bash
2620
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
2721
id: extract_branch
28-
2922
- name: Push to GitHub Packages
3023
uses: docker/build-push-action@v1
3124
with:
@@ -35,32 +28,26 @@ jobs:
3528
repository: automl/auto-sklearn/auto-sklearn
3629
tag_with_ref: true
3730
tags: ${{ steps.extract_branch.outputs.branch }}
38-
3931
- name: Push to Docker Hub
4032
uses: docker/build-push-action@v1
4133
with:
4234
username: ${{ secrets.DOCKER_USERNAME }}
4335
password: ${{ secrets.DOCKER_PASSWORD }}
4436
repository: mfeurer/auto-sklearn
4537
tags: ${{ steps.extract_branch.outputs.branch }}
46-
4738
- name: Docker Login
4839
run: docker login docker.pkg.github.com -u $GITHUB_ACTOR -p $GITHUB_TOKEN
4940
env:
5041
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
51-
5242
- name: Pull Docker image
5343
run: docker pull docker.pkg.github.com/$GITHUB_REPOSITORY/auto-sklearn:$BRANCH
5444
env:
5545
BRANCH: ${{ steps.extract_branch.outputs.branch }}
56-
5746
- name: Run image
5847
run: docker run -i -d --name unittester -v $GITHUB_WORKSPACE:/workspace -w /workspace docker.pkg.github.com/$GITHUB_REPOSITORY/auto-sklearn:$BRANCH
5948
env:
6049
BRANCH: ${{ steps.extract_branch.outputs.branch }}
61-
6250
- name: Auto-Sklearn loaded
6351
run: docker exec -i unittester python3 -c 'import autosklearn; print(f"Auto-sklearn imported from {autosklearn.__file__}")'
64-
6552
- name: Run unit testing
6653
run: docker exec -i unittester python3 -m pytest -v test

.github/workflows/docs.yml

+3-30
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,38 @@
11
name: Docs
2-
3-
on:
4-
# Manually triggerable in github
5-
workflow_dispatch:
6-
7-
# When a push occurs on either of these branches
8-
push:
9-
branches:
10-
- master
11-
- development
12-
13-
# When a push occurs on a PR that targets these branches
14-
pull_request:
15-
branches:
16-
- master
17-
- development
2+
on: [pull_request, push]
183

194
jobs:
20-
215
build-and-deploy:
226
runs-on: ubuntu-latest
237
steps:
24-
25-
- name: Checkout
26-
uses: actions/checkout@v2
27-
with:
28-
submodules: recursive
29-
8+
- uses: actions/checkout@v2
309
- name: Setup Python
3110
uses: actions/setup-python@v2
3211
with:
3312
python-version: 3.8
34-
3513
- name: Install dependencies
3614
run: |
37-
pip install -e .[docs,examples]
38-
15+
pip install -e .[docs,examples,examples_unix]
3916
- name: Make docs
4017
run: |
4118
cd doc
4219
make html
43-
4420
- name: Check links
4521
run: |
4622
cd doc
4723
make linkcheck
48-
4924
- name: Pull latest gh-pages
5025
if: (contains(github.ref, 'develop') || contains(github.ref, 'master')) && github.event_name == 'push'
5126
run: |
5227
cd ..
5328
git clone https://github.com/automl/auto-sklearn.git --branch gh-pages --single-branch gh-pages
54-
5529
- name: Copy new doc into gh-pages
5630
if: (contains(github.ref, 'develop') || contains(github.ref, 'master')) && github.event_name == 'push'
5731
run: |
5832
branch_name=${GITHUB_REF##*/}
5933
cd ../gh-pages
6034
rm -rf $branch_name
6135
cp -r ../auto-sklearn/doc/build/html $branch_name
62-
6336
- name: Push to gh-pages
6437
if: (contains(github.ref, 'develop') || contains(github.ref, 'master')) && github.event_name == 'push'
6538
run: |

.github/workflows/isort_checker.yml

-45
This file was deleted.

.github/workflows/pre-commit.yaml

+1-20
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,20 @@
11
name: pre-commit
22

3-
on:
4-
# Manually triggerable in github
5-
workflow_dispatch:
6-
7-
# When a push occurs on either of these branches
8-
push:
9-
branches:
10-
- master
11-
- development
12-
13-
# When a push occurs on a PR that targets these branches
14-
pull_request:
15-
branches:
16-
- master
17-
- development
3+
on: [push, pull_request]
184

195
jobs:
206
run-all-files:
217
runs-on: ubuntu-latest
228
steps:
239
- uses: actions/checkout@v2
24-
with:
25-
submodules: recursive
26-
2710
- name: Setup Python 3.7
2811
uses: actions/setup-python@v2
2912
with:
3013
python-version: 3.7
31-
3214
- name: Install pre-commit
3315
run: |
3416
pip install pre-commit
3517
pre-commit install
36-
3718
- name: Run pre-commit
3819
run: |
3920
pre-commit run --all-files

0 commit comments

Comments
 (0)