Hey everyone, when running a flow in AWS Batch I g...
# ask-metaflow
c
Hey everyone, when running a flow in AWS Batch I get some DeprecationWarnings:
Copy code
/tmp/metaflow/metaflow/plugins/aws/step_functions/step_functions_cli.py:22: DeprecationWarning: invalid escape sequence '\-'
   VALID_NAME = re.compile("[^a-zA-Z0-9_\-\.]")
 /tmp/metaflow/metaflow/plugins/airflow/airflow_cli.py:27: DeprecationWarning: invalid escape sequence '\-'
   VALID_NAME = re.compile("[^a-zA-Z0-9_\-\.]")
 /tmp/metaflow/metaflow/plugins/argo/argo_workflows_cli.py:32: DeprecationWarning: invalid escape sequence '\.'
   VALID_NAME = re.compile("^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$")
I’m running python
python:3.11.6-slim-bullseye
image and metaflow 2.10.4. Does anyone have an idea how to get rid of the warning (apart from suppressing it)?
1
r
I spotted that as well - it needs an r before the compile string but that will need to be in the metaflow code - probably best to raise an issue if there isn't one already
a
thanks for highlighting! we will look into a fix
thankyou 1
❤️ 1
f
had come across a couple others -- just put up a lil PR for it https://github.com/Netflix/metaflow/pull/1646
among us party 1