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

Release v1.0.4 #1067

Closed
wants to merge 29 commits into from
Closed

Release v1.0.4 #1067

wants to merge 29 commits into from

Conversation

eapolinario
Copy link
Collaborator

@eapolinario eapolinario commented Jun 17, 2022

TL;DR

Preparing a subset of changes in master to release as a patch release

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

List of changes pulled in:

Tracking Issue

https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

wild-endeavor and others added 28 commits June 17, 2022 11:16
* pyflyte run can now execute a task either locally or remote

Signed-off-by: Ketan Umare <[email protected]>

* Fix namedtuple and test

Signed-off-by: Ketan Umare <[email protected]>
…indicating separate packages (#999)

Signed-off-by: Yee Hing Tong <[email protected]>
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2838873

Co-authored-by: snyk-bot <[email protected]>
…bworkflow order (#1011)

* update get_serializable_workflow

Signed-off-by: Vrinda Vasavada <[email protected]>

* make fmt

Signed-off-by: Vrinda Vasavada <[email protected]>
* Fix the tests on windows

Signed-off-by: Kevin Su <[email protected]>

* Fix the tests on windows

Signed-off-by: Kevin Su <[email protected]>

* Add comment

Signed-off-by: Kevin Su <[email protected]>

* Fix tests

Signed-off-by: Kevin Su <[email protected]>

* pin pip

Signed-off-by: Kevin Su <[email protected]>

* fix tests

Signed-off-by: Kevin Su <[email protected]>
* Bump requirements files to bring in ipython>7.31

Signed-off-by: Eduardo Apolinario <[email protected]>

* Bump plugins requirements

Signed-off-by: Eduardo Apolinario <[email protected]>

* delete flytekit-deck-standard/__init__.py

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
* Fix importing code in script mode

* Store _filename using an absolute path and comment the use of it

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
* Added support for insecureSkipVerify

Signed-off-by: Roberto Ruiz <[email protected]>

* Extract port from endpoint before obtaining unverified SSL certificate

Signed-off-by: Roberto Ruiz <[email protected]>

* Code reformat using black

Signed-off-by: Roberto Ruiz <[email protected]>

* Added pyopenssl requirement

Signed-off-by: Roberto Ruiz <[email protected]>

* Corrected error from typo

Signed-off-by: Roberto Ruiz <[email protected]>

* Added corrections on how the endpoint is split into server and port

Signed-off-by: Roberto Ruiz <[email protected]>

* Use the correct split method to handle multiple occurrences of ':'

Signed-off-by: Roberto Ruiz <[email protected]>

* Regenerated requirements-spark2.txt and doc-requirements.txt

Signed-off-by: Roberto Ruiz <[email protected]>

* Generated all requirements files together

Signed-off-by: Roberto Ruiz <[email protected]>
* Allow struct/dataclass types to be used as default arguments

Signed-off-by: Roberto Ruiz <[email protected]>

* Add test case

Signed-off-by: Eduardo Apolinario <[email protected]>

* Lint

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
…AND [ARGS]... (#1033)

This command can execute either a workflow or a task from the commandline,
  for fully self-contained scripts. Tasks and workflows cannot be imported
  from other files currently. Please use `pyflyte package` or `pyflyte
  register` to handle those and then launch from the Flyte UI or `flytectl`

  Note: This command only works on regular Python packages, not namespace
  packages. When determining       the root of your project, it finds the
  first folder that does not have an __init__.py file.

Options:
  --remote                Whether to register and run the workflow on a Flyte
                          deployment
  -p, --project TEXT      Project to register and run this workflow in
  -d, --domain TEXT       Domain to register and run this workflow in
  --name TEXT             Name to assign to this execution
  --destination-dir TEXT  Directory inside the image where the tar file
                          containing the code will be copied to
  -i, --image TEXT        Image used to register and run.
  --service-account TEXT  Service account used when executing this workflow
  --wait-execution        Whether wait for the execution to finish
  --dump-snippet          Whether dump a code snippet instructing how to load
                          the workflow execution using flyteremote
  --help                  Show this message and exit.

Commands:
  setup.py  Run a [workflow|task] in a file using script mode
Signed-off-by: Samhita Alla <[email protected]>
* Bump codecov gh action and pin plugins requirements in tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix flytedecks plugin name in requirements files

Signed-off-by: Eduardo Apolinario <[email protected]>

* Skip greatexpectations plugin tests on python 3.10

Signed-off-by: Eduardo Apolinario <[email protected]>

* Bump requirements for great-expectations plugin

Signed-off-by: Eduardo Apolinario <[email protected]>

* Regenerate modin plugin requirements file

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove `make setup` from plugins tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Revert "Remove `make setup` from plugins tests"

This reverts commit 3ba7348.

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
* Add support list of flytetype in dataclass

Signed-off-by: Kevin Su <[email protected]>

* nit

Signed-off-by: Kevin Su <[email protected]>

* nit

Signed-off-by: Kevin Su <[email protected]>

* Add tests

Signed-off-by: Kevin Su <[email protected]>
…abilities (#1054)

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281

Co-authored-by: snyk-bot <[email protected]>
Bumps [cookiecutter](https://github.com/cookiecutter/cookiecutter) from 1.7.3 to 2.1.1.
- [Release notes](https://github.com/cookiecutter/cookiecutter/releases)
- [Changelog](https://github.com/cookiecutter/cookiecutter/blob/master/HISTORY.md)
- [Commits](cookiecutter/cookiecutter@1.7.3...2.1.1)

---
updated-dependencies:
- dependency-name: cookiecutter
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump flyteidl and other requirements

Signed-off-by: Eduardo Apolinario <[email protected]>

* Regenerate using python 3.7

Signed-off-by: Eduardo Apolinario <[email protected]>

* Bump flyteidl min version and regenerate reqs

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
* Replace fields of platform_config with dataclasses.replace in flyte-cli/main.py

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove with_parameters

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
* Fix port rewrite in the case of sandbox/demo cluster

Signed-off-by: Eduardo Apolinario <[email protected]>

* Include endpoint in sandbox config

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
…resh_credentials_from_command (#1065)

* add support for custom auth from env

Signed-off-by: Sonja Ericsson <[email protected]>

* Update flytekit/clis/flyte_cli/main.py

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* Update test_raw.py

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>

* fix

Signed-off-by: Sonja Ericsson <[email protected]>
@codecov
Copy link

codecov bot commented Jun 17, 2022

Codecov Report

❗ No coverage uploaded for pull request base (release-v1.0@ca4161b). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 94cc009 differs from pull request most recent head 508301d. Consider uploading reports for the commit 508301d to get more accurate results

@@               Coverage Diff               @@
##             release-v1.0    #1067   +/-   ##
===============================================
  Coverage                ?   86.48%           
===============================================
  Files                   ?      260           
  Lines                   ?    24586           
  Branches                ?     2795           
===============================================
  Hits                    ?    21264           
  Misses                  ?     2845           
  Partials                ?      477           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca4161b...508301d. Read the comment docs.

* precommit

Signed-off-by: Samhita Alla <[email protected]>

* fix failing tests

Signed-off-by: Samhita Alla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.