Skip to content

Commit f1fc155

Browse files
committed
Port over to AutoML common (#1318)
* Add submodule * Port to abstract_ensemble, backend from automl_common * Updated workflow files * Update imports * Trigger actions * Another import fix * update import * m * Backend fixes * Backend parameter update * fixture fix for backend * Fix tests * readd old abstract ensemble for now * flake8'd * Added install from source to readme * Moved installation w.r.t submodules to the docs * Temporarily remove submodule * Readded submodule * Updated to use automl_common under autosklearn * Updated MANIFEST * Removed uneeded statements from MANIFEST * Fixed import * Fixed comment line in MANIFEST.in * Added automl_common/setup.py to MANIFEST * Added prefix to script * Re-added removed title # * Added note for submodule for CONTRIBUTING * Made the submodule step a bit more clear for contributing.md * CONTRIBUTING fixes
1 parent b21dcc1 commit f1fc155

File tree

6 files changed

+27
-9
lines changed

6 files changed

+27
-9
lines changed

.github/workflows/dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
run: |
4040
pip install twine
4141
last_dist=$(ls -t dist/auto-sklearn-*.tar.gz | head -n 1)
42-
twine check "$last_dist" --strict
43-
42+
twine_output=`twine check "$last_dist"`
43+
if [[ "$twine_output" != "Checking $last_dist: PASSED" ]]; then echo $twine_output && exit 1;fi
4444
4545
- name: Install dist
4646
run: |

.github/workflows/docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
build-and-deploy:
2222
runs-on: ubuntu-latest
2323
steps:
24-
25-
- name: Checkout
26-
uses: actions/checkout@v2
24+
- uses: actions/checkout@v2
2725
with:
2826
submodules: recursive
2927

.github/workflows/pytest.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ jobs:
8080

8181
steps:
8282

83-
- name: Checkout
84-
uses: actions/checkout@v2
83+
- uses: actions/checkout@v2
8584
with:
8685
submodules: recursive
8786

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Following that we'll tell you about how you can test your changes locally and th
4646
# If you missed the --recurse-submodules arg during clone or need to install the
4747
# submodule manually, then execute the following line:
4848
#
49-
# git submodule update --init --recursive
49+
# git submodule udate --init --recursive
5050

5151
# ... Alternatively, if you would prefer a more manual method
5252
# Show all the available branches with a * beside your current one

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ include LICENSE.txt
22
include requirements.txt
33
include autosklearn/util/logging.yaml
44
include autosklearn/requirements.txt
5-
include autosklearn/py.typed
65

76
# Meta-data
87
recursive-include autosklearn/metalearning/files *.arff *.csv *.txt

doc/installation.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,28 @@ missed the `--recurse-submodules` option.
125125
pip install -e ".[test,doc,examples]"
126126
127127
128+
You can install auto-sklearn directly form source by following the below:
129+
130+
.. code:: bash
131+
132+
git clone --recurse-submodules [email protected]:automl/auto-sklearn.git
133+
cd auto-sklearn
134+
135+
# Install it in editable mode with all optional dependencies
136+
pip install -e ".[test,doc,examples]"
137+
138+
We use submodules so you will have to make sure the submodule is initialized if you
139+
missed the `--recurse-submodules` option.
140+
141+
.. code:: bash
142+
143+
git clone [email protected]:automl/auto-sklearn.git
144+
cd auto-sklearn
145+
git submodule update --init --recursive
146+
147+
pip install -e ".[test,doc,examples]"
148+
149+
128150
Windows/macOS compatibility
129151
===========================
130152

0 commit comments

Comments
 (0)