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

Backporting changes to release-v1.2 #1517

Merged
merged 67 commits into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
f0a4f68
Force flyteidl==1.2.9
eapolinario Feb 22, 2023
5c6d0ec
Sanitize query template input in sqlite task (#1359)
eapolinario Dec 5, 2022
21adb7b
TypeTransformer for reading and writing from TensorFlowRecord format …
ryankarlos Dec 6, 2022
bd141f9
update ray plugin dependency (#1361)
pingsutw Dec 7, 2022
81eedf3
Set default format of structured dataset to empty (#1159)
pingsutw Dec 9, 2022
20ea162
Adds CLI reference for pyflyte (#1362)
samhita-alla Dec 11, 2022
9abc7f9
Signaling (#1133)
wild-endeavor Dec 13, 2022
827be90
Adding created and updated at to ExecutionClosure model (#1371)
wild-endeavor Dec 16, 2022
567ed29
Add Databricks config to Spark Job (#1358)
pingsutw Dec 19, 2022
33e05c2
Add overwrite_cache option the to calls of remote and local execution…
hfurkanvural Dec 20, 2022
23dae6f
Remove project/domain from being overridden with execution values in …
wild-endeavor Dec 20, 2022
6fccbf9
Use TaskSpec instead of TaskTemplate for fetch_task and avoid network…
kumare3 Dec 21, 2022
1daa6c8
Register Databricks config (#1379)
pingsutw Dec 21, 2022
282b149
PodSpec should not require primary_container name (#1380)
kumare3 Dec 21, 2022
a21ba24
fix(pyflyte): change -d to -D for --destination-dir as -d is already …
mcloney-ddm Dec 22, 2022
a5e0faf
Handle Optional[FlyteFile] in Dataclass type transformer (#1393)
eapolinario Dec 25, 2022
d84c13c
add FastSerializationSettings to docs (#1386)
cosmicBboy Dec 27, 2022
11d1fdf
Added more pod tests and an example pod task (#1382)
kumare3 Dec 28, 2022
bfc2b15
Convert default dict to json string in pyflyte run (#1399)
pingsutw Dec 28, 2022
42c89dd
docs: update register help, non-fast version is supported (#1402)
pbrogan12 Jan 4, 2023
cd69fc5
Update log level for structured dataset (#1394)
pingsutw Jan 5, 2023
f25cf67
Add Niels to code owners (#1404)
pingsutw Jan 5, 2023
0f3f468
Signal use (#1398)
wild-endeavor Jan 5, 2023
3f700ff
User Documentation Proposal (#1200)
pingsutw Jan 5, 2023
cf12de1
Add support MLFlow plugin (#1274)
kumare3 Jan 6, 2023
8061d8b
fix remote API reference (#1405)
cosmicBboy Jan 7, 2023
f6e325e
Read structured dataset from a folder (#1406)
pingsutw Jan 10, 2023
25fe341
Update default config to work out-of-the-box with flytectl demo (#1384)
cosmicBboy Jan 10, 2023
41a9c7a
Add dask plugin #patch (#1366)
bstadlbauer Jan 12, 2023
74ba98b
Add support for overriding task configurations (#1410)
pingsutw Jan 13, 2023
bdb6250
Warning if git is not installed (#1414)
pingsutw Jan 18, 2023
410dac7
Flip the settings for channel and logger (#1415)
wild-endeavor Jan 19, 2023
acfa7cc
Preserving Exception in the LazyEntity fetch (#1412)
kumare3 Jan 20, 2023
451786a
[Docs] SynchronousFlyteClient API reference #3095 (#1416)
ppiegaze Jan 20, 2023
2b96c2f
Return error code on fail (#1408)
pingsutw Jan 24, 2023
1f8feb8
wrapping flyte entity in a task node in call to flyte node constructo…
wild-endeavor Jan 24, 2023
3e68e2b
Sqlalchemy multiline query (#1421)
cosmicBboy Jan 25, 2023
4c3f8b3
Sklearn type transformer should be automatically loaded with import f…
cosmicBboy Jan 27, 2023
0d00dfb
Bump isort to 5.12.0 (#1427)
eapolinario Jan 31, 2023
86fe324
Fixes guess type bug in UnionTransformer (#1426)
kumare3 Jan 31, 2023
59574e5
Add `pod_template` and `pod_template_name` arguments for `PythonAutoC…
ByronHsu Feb 3, 2023
c62bf8d
Auto Backfill workflow (#1420)
kumare3 Feb 3, 2023
da57b2f
Fix primitive decoder when evaluating Promise (#1432)
samhita-alla Feb 6, 2023
b7163a8
set maximum python version to 3.10 (#1433)
cosmicBboy Feb 7, 2023
6070898
Revert "Remove project/domain from being overridden with execution va…
eapolinario Feb 8, 2023
ab6e9a9
Support checkpointing in local mode from cached tasks (#1457)
bethebunny Feb 10, 2023
56a7fcd
Deprecate FlyteSchema (#1418)
pingsutw Feb 10, 2023
0baa756
Use scarf images (#1434)
eapolinario Feb 11, 2023
0533e2f
add undocumented objects/functions to flytekit api ref (#1502)
cosmicBboy Feb 13, 2023
9de0288
Use non-root user in default flytekit image (#1417)
pingsutw Feb 14, 2023
3b5e9eb
Fix PyTorch transformer (#1510)
samhita-alla Feb 15, 2023
3798450
Fix mypy errors (#1313)
pingsutw Feb 16, 2023
ede4452
Compile the workflow only at compile time (#1311)
pingsutw Feb 16, 2023
bdc6ab0
Get the origin type when serializing dataclass (#1508)
pingsutw Feb 16, 2023
3e37177
Fix bad merge
eapolinario Feb 22, 2023
97b6397
Delay initialization of SynchronousFlyteClient in FlyteRemote (#1514)
eapolinario Feb 18, 2023
01ba21a
Set flytekit and flyteidl bounds in plugins tests
eapolinario Feb 22, 2023
dd79a11
Revert "Fix mypy errors (#1313)"
eapolinario Feb 22, 2023
d2a002c
Fix requirements in dask and ray plugins
eapolinario Feb 22, 2023
d9d94d5
Fix papermill tests requirements
eapolinario Feb 22, 2023
3e23781
Fix doc-requirements
eapolinario Feb 22, 2023
ecea6cb
dask plugin requirements
eapolinario Feb 22, 2023
abfcbb4
Revert "Add dask plugin #patch (#1366)"
eapolinario Feb 22, 2023
b9492da
Fix deck-standard test
eapolinario Feb 23, 2023
87bbd6f
Fix great-expectations requirements
eapolinario Feb 23, 2023
052ea88
Fix onnx-tensorflow requirements
eapolinario Feb 23, 2023
2277366
Fix sqlalchemy requirements
eapolinario Feb 23, 2023
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
1 change: 1 addition & 0 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
- flytekit-aws-batch
- flytekit-aws-sagemaker
- flytekit-bigquery
- flytekit-dask
- flytekit-data-fsspec
- flytekit-dbt
- flytekit-deck-standard
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ docs/source/plugins/generated/
htmlcov
*.ipynb
*dat
source/_tags/
docs/source/_tags/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
Expand Down
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@
# Required
version: 2

build:
os: ubuntu-20.04
tools:
python: "3.9"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: doc-requirements.txt
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence.
* @wild-endeavor @kumare3 @eapolinario @pingsutw
* @wild-endeavor @kumare3 @eapolinario @pingsutw @cosmicBboy
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ FROM python:${PYTHON_VERSION}-slim-buster
MAINTAINER Flyte Team <[email protected]>
LABEL org.opencontainers.image.source https://github.com/flyteorg/flytekit

RUN useradd -u 1000 flytekit
RUN chown flytekit: /root
USER flytekit

WORKDIR /root
ENV PYTHONPATH /root

Expand Down
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ fmt: ## Format code with black and isort

.PHONY: lint
lint: ## Run linters
mypy flytekit/core || true
mypy flytekit/types || true
mypy tests/flytekit/unit/core || true
# Exclude setup.py to fix error: Duplicate module named "setup"
mypy plugins --exclude setup.py || true
mypy flytekit/core
mypy flytekit/types
# allow-empty-bodies: Allow empty body in function.
# disable-error-code="annotation-unchecked": Remove the warning "By default the bodies of untyped functions are not checked".
# Mypy raises a warning because it cannot determine the type from the dataclass, despite we specified the type in the dataclass.
mypy --allow-empty-bodies --disable-error-code="annotation-unchecked" tests/flytekit/unit/core
pre-commit run --all-files

.PHONY: spellcheck
Expand Down
5 changes: 5 additions & 0 deletions dev-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ codespell
google-cloud-bigquery
google-cloud-bigquery-storage
IPython
tensorflow
grpcio-status<1.49.0
# Newer versions of torch bring in nvidia dependencies that are not present in windows, so
# we put this constraint while we do not have per-environment requirements files
torch<=1.12.1
scikit-learn
types-protobuf
types-croniter
types-mock
Loading