Skip to content

Commit a2e783a

Browse files
authored
Merge pull request #30 from alteryx/add_latest_dep
Add latest dependency checker and notebook standizer
2 parents 2ebbc4e + e49aa75 commit a2e783a

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Latest Dependency Checker
2+
on:
3+
schedule:
4+
- cron: '0 * * * *'
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Python 3.8
11+
uses: actions/setup-python@v2
12+
with:
13+
python-version: '3.8.x'
14+
- name: Install pip and virtualenv
15+
run: |
16+
python -m pip install --upgrade pip
17+
python -m pip install virtualenv
18+
- name: Update latest dependencies
19+
run: |
20+
python -m virtualenv venv
21+
source venv/bin/activate
22+
python -m pip install -r requirements.txt
23+
make checkdeps OUTPUT_FILEPATH=utils/latest_dependencies.txt

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.PHONY: clean
2+
clean:
3+
find . -name '*.pyo' -delete
4+
find . -name '*.pyc' -delete
5+
find . -name __pycache__ -delete
6+
find . -name '*~' -delete
7+
find . -name '.coverage.*' -delete
8+
9+
.PHONY: checkdeps
10+
checkdeps:
11+
$(eval allow_list='featuretools|composeml|evalml|woodwork')
12+
pip freeze | grep -v "open_source_demos.git" | grep -E $(allow_list) > $(OUTPUT_FILEPATH)

utils/latest_dependencies.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
composeml==0.7.0
2+
evalml==0.39.0
3+
featuretools==1.3.0
4+
woodwork==0.10.0

0 commit comments

Comments
 (0)