Xun Wang
08/09/2024, 9:27 PMNate
08/09/2024, 9:30 PMXun Wang
08/09/2024, 9:31 PMXun Wang
08/09/2024, 9:31 PMNate
08/09/2024, 9:37 PMXun Wang
08/09/2024, 9:38 PMNate
08/09/2024, 9:41 PMNate
08/09/2024, 9:42 PMpip install 'anyio<4'
in your runtime, but im interested in figuring out why this is happeningXun Wang
08/09/2024, 9:42 PMXun Wang
08/09/2024, 9:44 PMNate
08/09/2024, 9:45 PMXun Wang
08/09/2024, 9:45 PMNate
08/09/2024, 9:46 PMpip install
commands at runtime?
like pull
steps or EXTRA_PIP_PACKAGES
?Xun Wang
08/09/2024, 9:46 PMXun Wang
08/09/2024, 9:48 PMpull:
- prefect.deployments.steps.set_working_directory:
directory: /home/pentaho/prefect2
That is the only pull step.Xun Wang
08/09/2024, 10:01 PMNate
08/09/2024, 10:02 PMXun Wang
08/10/2024, 8:10 PMNate
08/10/2024, 8:27 PMXun Wang
08/13/2024, 10:59 PMNate
08/13/2024, 11:00 PMXun Wang
08/13/2024, 11:00 PMXun Wang
08/13/2024, 11:01 PMXun Wang
08/13/2024, 11:03 PMXun Wang
08/13/2024, 11:03 PMNate
08/13/2024, 11:07 PMprefect work-pool inspect <your-work-pool>
Nate
08/13/2024, 11:07 PMXun Wang
08/13/2024, 11:09 PMXun Wang
08/13/2024, 11:09 PMNate
08/13/2024, 11:10 PMXun Wang
08/13/2024, 11:11 PMWorkPool(
id='10b565af-671b-4dad-86c0-05605ed60644',
created=DateTime(2024, 7, 29, 16, 32, 13, 360940, tzinfo=Timezone('+00:00')),
updated=DateTime(2024, 8, 9, 21, 56, 43, 844284, tzinfo=Timezone('+00:00')),
name='id90-process-pool',
description='',
type='process',
base_job_template={
'variables': {
'type': 'object',
'properties': {
'env': {
'type': 'object',
'title': 'Environment Variables',
'description': 'Environment variables to set when starting a flow run.',
'additionalProperties': {'type': 'string'}
},
'name': {'type': 'string', 'title': 'Name', 'default': 'ID90WP-TP', 'description': 'Name given to infrastructure created by a worker.'},
'labels': {'type': 'object', 'title': 'Labels', 'description': 'Labels applied to infrastructure created by a worker.', 'additionalProperties': {'type': 'string'}},
'command': {
'type': 'string',
'title': 'Command',
'description': 'The command to use when starting a flow run. In most cases, this should be left blank and the command will be automatically generated by the worker.'
},
'working_dir': {
'type': 'string',
'title': 'Working Directory',
'format': 'path',
'description': 'If provided, workers will open flow run processes within the specified path as the working directory. Otherwise, a temporary directory will be created.'
},
'stream_output': {
'type': 'boolean',
'title': 'Stream Output',
'default': True,
'description': 'If enabled, workers will stream output from flow run processes to local standard output.'
}
}
},
'job_configuration': {
'env': '{{ env }}',
'name': '{{ name }}',
'labels': '{{ labels }}',
'command': '{{ command }}',
'working_dir': '{{ working_dir }}',
'stream_output': '{{ stream_output }}'
}
},
status=WorkPoolStatus.READY,
default_queue_id='7a3fab4f-beff-4116-af69-09d759a85b83'
)
Xun Wang
08/13/2024, 11:13 PMXun Wang
08/13/2024, 11:24 PMNate
08/14/2024, 1:09 AM