Skip to content

Releases: Netflix/metaflow

2.10.5

30 Oct 16:10
a9add2a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.10.4...2.10.5

2.10.4

26 Oct 18:27
d8ad275
Compare
Choose a tag to compare

Features

Support for tracing

With this release it is possible to gather telemetry data using an opentelemetry endpoint.

Specifying an endpoint in one of the environment variables

  • METAFLOW_OTEL_ENDPOINT
  • METAFLOW_ZIPKIN_ENDPOINT

will enable the corresponding tracing provider.

Some additional dependencies are required for the tracing functionality in the execution environment. These can be installed in the base Docker image, or supplied through a conda environment. The relevant packages are

opentelemetry-sdk, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-instrumentation-requests

and depending on your endpoint, either opentelemetry-exporter-otlp or opentelemetry-exporter-zipkin

Custom index support for the pypi decorator

The pypi decorator now supports using a custom index in the users Pip configuration under global.index-url.
This enables using private indices, even ones that require authentication.

For example the following would set up one authenticated and two extra non-authenticated indices for package resolution

pip config set global.index-url "https://user:token@example.com"
pip config set global.extra-index-url "https://extra.example.com https://extra2.example.com"

Specify Kubernetes job ephemeral storage size through resources decorator

It is now possible to specify the ephemeral storage size for Kubernetes jobs when using the resources decorator with the disk= attribute.

Introduce argo-workflows status command

Adds a command for easily checking the current status of a workflow on Argo workflows.

python flow.py argo-workflows status [run-id]

Improvements

Add more randomness to Kubernetes pod names to avoid collisions

There was an issue where relying solely on the Kubernetes apiserver for generating random pod names was resulting in significant collisions with sufficiently large number of executions.

This release adds more randomness to the pod names besides what is generated by Kubernetes.

Fix issues with resources decorator in combination with step functions

This release fixes an issue where deploying flows on AWS Step Functions was failing in the following cases

  • @resources(shared_memory=) with any value
  • combining @resources and @batch(use_tmpfs=True)

What's Changed

New Contributors

Full Changelog: 2.10.3...2.10.4

2.10.3

18 Oct 10:45
783715d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.10.2...2.10.3

2.10.2

09 Oct 20:22
0acf15a
Compare
Choose a tag to compare

2.10.2

Features

  • New configuration option to use same headers as metadata service for argo events webhook calls by @oavdeev in #1560 . Default behavior is the same as before.

  • Metaflow CLI now supports list-workflow-templates command to list deployed argo workflows by @saikonen in #1577

Full Changelog: 2.10.0...2.10.2

2.10.0

06 Oct 01:21
9d3f860
Compare
Choose a tag to compare

Coming soon!

Full Changelog: 2.9.15...2.10.0

2.9.15

29 Sep 17:42
Compare
Choose a tag to compare

Improvements

Improve the performance of parallel_map

We now check for processes in the order in which they complete not in the order in which they are launched. This also increases the likelihood of failing fast.

Fix issues with the environment escape mechanism

Deadlocks and errors could occur when using the environment escape mechanism in two cases: (a) GC would occur at an inopportune moment or (b) subprocesses were involved. Both issues were fixed.

What's Changed

  • Fix two possible issues with the environment escape communication by @romain-intel in #1555
  • Check for the first finished parallel proccess by @maxzheng in #1546

New Contributors

Full Changelog: 2.9.14...2.9.15

2.9.14

18 Sep 15:23
2b1eab8
Compare
Choose a tag to compare

Improvements

Fixes merging of log lines

This release fixes an issue with merging broken log lines.

Fix issue with using LD_LIBRARY_PATH with Conda environments

In a Conda environment, it is sometimes necessary to set LD_LIBRARY_PATH to first include the Conda's environment libraries before anything else. Prior to this release, this used to cause issues with the escape hatch.

What's Changed

Full Changelog: 2.9.13...2.9.14

2.9.13

29 Aug 23:19
06840c0
Compare
Choose a tag to compare

Bug fix

Revert annotations changes to fix a regression

The recent annotations feature introduced an issue where project, flow_name or user annotations are not being populated for Kubernetes. This release reverts the changes.

What's Changed

Full Changelog: 2.9.12...2.9.13

2.9.12

29 Aug 18:25
6fddf5b
Compare
Choose a tag to compare

Known issues

The annotations feature introduced in this release has an issue where project, flow_name or user annotations are not being populated for Kubernetes. This has been reverted in the next release.

Features

Custom annotations for K8S and Argo Workflows

This release enables users to add custom annotations to the Kubernetes resources that Flows create. The annotations can be configured much in the same way as custom labels

  1. Globally with an environment variable. For example with
export METAFLOW_KUBERNETES_ANNOTATIONS="first=A,second=B"
  1. At a step level by passing a dictionary to the Kubernetes decorator.
@kubernetes(annotations={"first": "A", "second": "B"})

What's Changed

  • Adds custom annotations via env variables by @tylerpotts in #1442
  • Pass the user-defined executable to environment's executable by @romain-intel in #1454
  • Remove validate_environment from task lifecycle by @savingoyal in #1507
  • Fix/863 - Improve error message in metaflow.S3 class when DATATOOLS_S3ROOT is not configured. by @tfurmston in #1491
  • Fix an issue where 0 was not considered False for extension debug opt… by @romain-intel in #1511
  • Bump version to 2.9.12 by @saikonen in #1514

Full Changelog: 2.9.11...2.9.12

2.9.11

17 Jul 14:03
ec8fd6c
Compare
Choose a tag to compare

Bug Fix

Fix regression for @Batch decorator introduced by v2.9.10

This release reverts a validation fix introduced in 2.9.10, which prevented executions of Metaflow tasks on AWS Batch

What's Changed

Full Changelog: 2.9.10...2.9.11