Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from Netflix:master #104

Merged
merged 97 commits into from
Aug 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
e6f1f00
fix default resource math (fixes #467) (#810)
oavdeev Jan 18, 2022
7b948c6
run datastore tests on master branch pushes too (#909)
oavdeev Jan 18, 2022
1f5afa4
Fix datatest broken by previous commit (#912)
romain-intel Jan 18, 2022
1c97086
Bump version to 2.4.9 (#913)
oavdeev Jan 19, 2022
3f7bfa6
Update README for metaflow/R (#915)
savingoyal Jan 20, 2022
45be4ac
Ns package support (#892)
romain-intel Jan 24, 2022
44f1ae7
Fix issue with @batch and num_parallel=1; improve status log. (#904)
akyrola Jan 24, 2022
885810a
Fix issue in Step Functions integration with CLI defined decorators (…
savingoyal Jan 25, 2022
5a95ce6
add unit test for compute_resource_attributes (#922)
oavdeev Jan 25, 2022
fea7d41
Vendor importlib_metadata (#925)
savingoyal Jan 25, 2022
01b7149
Fix compute_resources to take into account string values (#919)
romain-intel Jan 25, 2022
44cb29f
version bump (#921)
valayDave Jan 25, 2022
c247f9f
Stacked @card v1.2 : multiple `@card` decorators (#893)
valayDave Jan 25, 2022
c52c710
Bump follow-redirects in /metaflow/plugins/cards/ui (#927)
dependabot[bot] Jan 26, 2022
f73eb71
Bump marked from 4.0.8 to 4.0.10 in /metaflow/plugins/cards/ui (#926)
dependabot[bot] Jan 26, 2022
8753440
Removing some code bits from `metaflow.cards` (#928)
valayDave Jan 26, 2022
7d1697d
Introduce Mamba as a dependency solver for `@conda` (#918)
savingoyal Jan 28, 2022
fed10b8
Added base64 Transformation for json object (#933)
valayDave Feb 1, 2022
62f5e52
Vendor click as dependency for Metaflow (#929)
savingoyal Feb 3, 2022
8c2f776
Python Multi Version Test Suite (#946)
valayDave Feb 15, 2022
a47dd19
bump version to 2.5.1 (#956)
oavdeev Feb 15, 2022
1ea38fd
follow symlinks in packaging (#958)
tuulos Feb 16, 2022
fc06094
bump version to 2.5.2 (#961)
oavdeev Feb 17, 2022
e556481
Add README.md to PyPI package description (#965)
savingoyal Feb 21, 2022
2ec907e
Don't explicitly break py2 support (#962)
romain-intel Feb 24, 2022
54aea15
Pass the paths used by the external interpreter to the one launching …
romain-intel Feb 24, 2022
b337606
Bump follow-redirects in /metaflow/plugins/cards/ui (#966)
dependabot[bot] Feb 24, 2022
0939cca
Adding export of graph to JSON for cli (#955)
valayDave Feb 24, 2022
3e69f3f
Fix "Too many symbolic links" error when using Conda + Batch on MacOS…
bishax Feb 25, 2022
6b07668
emit app tag for AWS Batch jobs (#970)
savingoyal Mar 5, 2022
9f737e6
Bump to 2.5.3 (#974)
oavdeev Mar 8, 2022
b2c778a
Extension packaging improvements (#959)
romain-intel Mar 16, 2022
32e2f6f
pass DEFAULT_AWS_CLIENT_PROVIDER to remote tasks (#982)
oavdeev Mar 16, 2022
1748175
Fixing some hacky plumbing in card test suite (#967)
valayDave Mar 16, 2022
7e210a2
Simplify mflog (#979)
savingoyal Mar 16, 2022
c903953
Fix extension root determination in some cases + card tweaks (#989)
valayDave Mar 21, 2022
7787f5e
Use importlib_metadata 2.8.3 for Python 3.4, 3.5 but 4.8.3 for Python…
romain-intel Mar 23, 2022
0779300
Allow configuring the root directory where artifacts go when pulling …
kgullikson88 Mar 23, 2022
cbc4089
Add an option to pass a `role` argument to S3() to provide a role (#987)
romain-intel Mar 23, 2022
67cc8fb
bump version to 2.5.4 (#993)
oavdeev Mar 24, 2022
9e69cfd
Bug fix for datetime index in default card (#981)
valayDave Mar 24, 2022
540f211
Bump minimist from 1.2.5 to 1.2.6 in /metaflow/plugins/cards/ui (#995)
dependabot[bot] Mar 25, 2022
7921d13
Fix black - set upper bound for click version (#1006)
cloudw Apr 13, 2022
de6a3b5
Add tags to `current` singleton (#1019)
sam-watts Apr 22, 2022
aa24b59
Dispatch Metaflow flows to Argo Workflows (#992)
savingoyal Apr 22, 2022
23d07c6
Skip sleep if not retryting S3 operations (#1001)
kevsmith Apr 23, 2022
cc471c7
Bump minor version for release (#1022)
savingoyal Apr 25, 2022
493d406
Alternate way of adding metadata to cloned tasks (#1003)
romain-intel Apr 27, 2022
aca8ba9
Bump cross-fetch from 3.1.4 to 3.1.5 in /metaflow/plugins/cards/ui (#…
dependabot[bot] Apr 29, 2022
3acd855
fixed bug from #1023 (#1025)
valayDave Apr 29, 2022
d977cd4
current.pathspec to return None when used outside Flow (#1033)
jackie-ob May 3, 2022
b0238f9
Fixing bug in the `card list` command (#1044)
valayDave May 12, 2022
ac3d265
Enable MinIO/EMC-ECS as blob stores for Metaflow (#1045)
savingoyal May 13, 2022
f7a56a7
[tag-mutation-project] Stash system info in task metadata (#1039)
jackie-ob May 13, 2022
2acbd9e
Address issues with S3 get and ranges (#1034)
romain-intel May 13, 2022
9443b53
Fix _new_task calling bug in LocalMetadataProvider (#1046)
jackie-ob May 13, 2022
6cdd311
Release 2.6.1 (#1047)
oavdeev May 13, 2022
27cce78
Support default secrets (#1048)
savingoyal May 24, 2022
717731c
Run id file should be written prior to execution when resuming (#1051)
jackie-ob May 25, 2022
969d386
release 2.6.2 (#1052)
oavdeev May 26, 2022
5c55795
Fix instance metadata calls for IMDSV2 (#1053)
savingoyal May 26, 2022
4d02f2a
bump version to 2.6.3 (#1054)
oavdeev May 26, 2022
1430af6
Small reorder of imports to make things more consistent (#1055)
romain-intel May 29, 2022
ffff49b
[tag-mutation-project] Local metadata provider - object read paths to…
jackie-ob Jun 1, 2022
9b0aed9
typo fix. (#1068)
valayDave Jun 14, 2022
57f7400
This is the Jackie's tag changes with an additional test and a fix. (…
romain-intel Jun 14, 2022
38be8f4
Add two options to resume: the ability to specify a run-id and the ab…
romain-intel Jun 15, 2022
e073608
Improve sidecar message handling (#1057)
romain-intel Jun 16, 2022
126546f
Small typo in NullEventLogger.send (#1071)
romain-intel Jun 16, 2022
0f2826c
Bump version to 2.7.0
romain-intel Jun 16, 2022
25182d3
Change behavior of env escape when module is present (#1072)
romain-intel Jun 17, 2022
6441ed5
Bump version to 2.7.1 (#1073)
romain-intel Jun 17, 2022
cc3224e
Fix an issue with the environment escape server directory (#1074)
romain-intel Jun 29, 2022
f9a4968
Support session_vars and client_params in S3() (#1069)
romain-intel Jun 29, 2022
b586358
Support M1 Macs (#1077)
savingoyal Jul 5, 2022
6f097e3
changes to @kubernetes for sandbox (#1079)
savingoyal Jul 8, 2022
cbfe4f6
Changed error to warning in AWS retry (#1081)
pjoshi30 Jul 13, 2022
e4eb751
bump to 2.7.2 (#1083)
oavdeev Jul 14, 2022
54cd7fc
Fixed s3util test (#1084)
pjoshi30 Jul 14, 2022
6722893
Bump svelte from 3.46.1 to 3.49.0 in /metaflow/plugins/cards/ui (#1086)
dependabot[bot] Jul 18, 2022
c3718dd
Metadata version check flag (#1088)
mrfalconer Jul 20, 2022
570c07c
Bump terser from 5.10.0 to 5.14.2 in /metaflow/plugins/cards/ui (#1090)
dependabot[bot] Jul 20, 2022
c1ff469
fix r CI deps (#1092)
oavdeev Jul 26, 2022
056d2db
fix fractional resoure handling for batch (#1089)
oavdeev Jul 29, 2022
ca29bec
bump version (#1093)
oavdeev Jul 29, 2022
ac017e1
Fix docstrings for the API reference (no functional changes!) (#1076)
tuulos Aug 1, 2022
e9ea3a4
Move a sys.path modification in s3op to __main__ (#1095)
romain-intel Aug 2, 2022
925530b
Airflow Support (#1094)
valayDave Aug 3, 2022
f11a372
Move sys.path insert earlier in s3op.py (#1098)
romain-intel Aug 3, 2022
6cb54b5
Update setup.py (#1099)
savingoyal Aug 3, 2022
eb8b373
Fix for env_escape bug when importing local packages (#1100)
hunsdiecker Aug 5, 2022
90ee1ed
Bump to 2.7.5 (#1102)
romain-intel Aug 5, 2022
b2d0005
Fix another issue with the escape hatch and paths (#1105)
romain-intel Aug 9, 2022
b0fab46
Bump to 2.7.6 (#1106)
romain-intel Aug 9, 2022
5bf7b60
add a flag to overwrite config when running metaflow configure sandbo…
oavdeev Aug 11, 2022
c2d615e
card dev docs tiny fix. (#1108)
valayDave Aug 18, 2022
eda2f2d
Fix an issue with get_cards not respecting a Task's ds-root (#1111)
romain-intel Aug 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 2 additions & 62 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,68 +3,8 @@ on:
release:
types: [published]
jobs:
test:
name: tests / ${{ matrix.lang }} tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
lang: [Python, R]

steps:
- uses: actions/checkout@v2

- name: Set up Python 2.x
if: matrix.lang == 'Python'
uses: actions/setup-python@v2
with:
python-version: '2.x'

- name: Install Python 2.x dependencies
if: matrix.lang == 'Python'
run: |
python2 -m pip install --upgrade pip
python2 -m pip install tox

- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'

- name: Install Python 3.x dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install tox numpy

- name: Set up R 4.1
if: matrix.lang == 'R'
uses: r-lib/actions/setup-r@v1
with:
r-version: '4.1.1'

- name: Install R 4.1 system dependencies
if: matrix.lang == 'R' && matrix.os == 'ubuntu-latest'
run: sudo apt-get update; sudo apt-get install -y libcurl4-openssl-dev qpdf libgit2-dev

- name: Install R 4.1 Rlang dependencies
if: matrix.lang == 'R'
run: |
python3 -m pip install .
Rscript -e 'install.packages("devtools", repos="https://cloud.r-project.org", Ncpus=8)'
Rscript -e 'devtools::install_deps("R", dependencies=TRUE, repos="https://cloud.r-project.org", upgrade="default")'
R CMD INSTALL R
Rscript -e 'install.packages(c("data.table", "caret", "glmnet", "Matrix", "rjson"), repos="https://cloud.r-project.org", Ncpus=8)'

- name: Execute R tests
if: matrix.lang == 'R'
run: |
cd R/tests
Rscript run_tests.R

- name: Execute Python tests
if: matrix.lang == 'python'
run: tox

test:
uses: './.github/workflows/test.yml'
deploy:
needs: test
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/s3_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: pr-datastore-tests

on:
push:
branches:
- master
pull_request_target:
types:
- opened
Expand Down Expand Up @@ -37,4 +40,4 @@ jobs:
METAFLOW_S3_TEST_ROOT: ${{ secrets.METAFLOW_S3_TEST_ROOT }}
run: |
cd test/data
PYTHONPATH=$(pwd)/../../ python3 -m pytest --benchmark-skip -x -s -v
PYTHONPATH=$(pwd)/../../ python3 -m pytest --benchmark-skip -x -s -v
65 changes: 33 additions & 32 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,58 +6,62 @@ on:
pull_request:
branches:
- master
workflow_call:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
test:
name: tests / ${{ matrix.lang }} tests on ${{ matrix.os }}

Python:
name: core / Python ${{ matrix.ver }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
lang: [Python, R]
ver: ['3.5', '3.6', '3.7', '3.8', '3.9','3.10',]

steps:
- uses: actions/checkout@v2

- name: Set up Python 2.x
if: matrix.lang == 'Python'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '2.x'
python-version: ${{ matrix.ver }}

- name: Install Python 2.x dependencies
if: matrix.lang == 'Python'
- name: Install Python ${{ matrix.ver }} dependencies
run: |
python2 -m pip install --upgrade pip
python2 -m pip install tox
python3 -m pip install --upgrade pip setuptools
python3 -m pip install tox numpy

- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Execute Python tests
run: tox

- name: Install Python 3.x dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install tox numpy

- name: Set up R 4.1
if: matrix.lang == 'R'
uses: r-lib/actions/setup-r@v1
R:
name: core / R ${{ matrix.ver }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ver: ['4.0', '4.1']

steps:
- uses: actions/checkout@v2
- name: Set up ${{ matrix.ver }}
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.1.1'
r-version: ${{ matrix.ver }}

- name: Install R 4.1 system dependencies
if: matrix.lang == 'R' && matrix.os == 'ubuntu-latest'
run: sudo apt-get update; sudo apt-get install -y libcurl4-openssl-dev qpdf libgit2-dev
- name: Install R ${{ matrix.ver }} system dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update; sudo apt-get install -y libcurl4-openssl-dev qpdf libgit2-dev libharfbuzz-dev libfribidi-dev

- name: Install R 4.1 Rlang dependencies
if: matrix.lang == 'R'
- name: Install R ${{ matrix.ver }} Rlang dependencies
run: |
python3 -m pip install .
Rscript -e 'install.packages("devtools", repos="https://cloud.r-project.org", Ncpus=8)'
Expand All @@ -66,11 +70,8 @@ jobs:
Rscript -e 'install.packages(c("data.table", "caret", "glmnet", "Matrix", "rjson"), repos="https://cloud.r-project.org", Ncpus=8)'

- name: Execute R tests
if: matrix.lang == 'R'
run: |
cd R/tests
Rscript run_tests.R

- name: Execute Python tests
if: matrix.lang == 'python'
run: tox

4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ repos:
- id: check-yaml
- id: check-json
- repo: https://github.com/ambv/black
rev: 21.9b0
rev: 21.12b0
hooks:
- id: black
language_version: python3
exclude: "^metaflow/_vendor/"
additional_dependencies: ["click<8.1.0"]
2 changes: 1 addition & 1 deletion R/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Getting up and running with Metaflow is easy. Install Metaflow from [github](htt

>```R
>devtools::install_github("Netflix/metaflow", subdir="R")
>metaflow::install()
>metaflow::install_metaflow()
>```

and access tutorials by typing:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ We welcome contributions to Metaflow. Please see our [contribution guide](https:

### Code style

We use [black](https://black.readthedocs.io/en/stable/) as a code formatter. The easiest way to ensure your commits are always formatted with the correct version of `black` it is to use [pre-commit](https://pre-commit.com/): install it and then run `pre-commit install` once in your local copy of the repo.
We use [black](https://black.readthedocs.io/en/stable/) as a code formatter. The easiest way to ensure your commits are always formatted with the correct version of `black` it is to use [pre-commit](https://pre-commit.com/): install it and then run `pre-commit install` once in your local copy of the repo.

Loading