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

Remove support for Environments #5072

Merged
merged 34 commits into from Oct 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3ffb790
Remove deprecated `FargateAgent`
zanieb Jun 2, 2021
39fb2b4
Remove deprecated `prefect.environments` module
zanieb Jun 2, 2021
2bc79aa
Remove deprecated `Flow.environment` setting
zanieb Jun 2, 2021
3592027
Remove deprecated `Flow.environment` serializers
zanieb Jun 2, 2021
ca5eac1
Add backwards compatibility for `Flow.environment` to flow diagnostics
zanieb Jun 2, 2021
26600da
Update flow tests to reflect removal
zanieb Jun 2, 2021
6a22502
Update `get_flow_image` to use `run_config` instead of `environment`
zanieb Jun 2, 2021
2a83202
Oh, there are two `get_flow_image` functions -- deprecate the old loo…
zanieb Jun 2, 2021
853bfe0
Remove environments from `get_flow_run_command` tests
zanieb Jun 2, 2021
cc3fd34
Remove environment docker healthcheck tests
zanieb Jun 2, 2021
5cb51ab
Remove environment serialization tests
zanieb Jun 2, 2021
51b2151
Remove environment handling from `Client.register`
zanieb Jun 2, 2021
239459f
Remove environment handling from `prefect build/register`
zanieb Jun 2, 2021
1c8c159
Update `_get_run_config` to drop support for environments
zanieb Jun 2, 2021
965ddc0
Remove `KubernetesAgent.generate_job_spec_from_environment`
zanieb Jun 2, 2021
1e1cbaa
Remove `LocalEnvironment` from `DockerAgent` tests
zanieb Jun 2, 2021
28681d6
Remove `DockerAgent.network` tests
zanieb Jun 2, 2021
5fd5835
Remove remaining `DockerAgent` environment tests
zanieb Jun 2, 2021
25eaebd
Drop some removed items from the API reference
zanieb Jun 2, 2021
dd85134
Remove environments from serialization init
zanieb Oct 20, 2021
241edbd
Fixup tests
zanieb Oct 20, 2021
88ebee6
Reformat
zanieb Oct 20, 2021
1c8d63f
Ignore attr missing typecheck because we check for the attr
zanieb Oct 20, 2021
5714976
Remove environments from manifest
zanieb Oct 21, 2021
fcc7589
Remove environment deprecated warning ignore from pytest
zanieb Oct 21, 2021
ed714a1
Remove environments from docs/config.js
zanieb Oct 21, 2021
91c17f2
Remove fargate agent docs page
zanieb Oct 21, 2021
7aa6794
Remove custom environment docs page
zanieb Oct 21, 2021
382818a
Remove environment docs
zanieb Oct 21, 2021
68dd0c1
Update environment upgrade doc to note removal
zanieb Oct 21, 2021
66db92d
Remove environment support from flow run execution hooks
zanieb Oct 21, 2021
2dbbd39
Remove fargate agent docs section
zanieb Oct 21, 2021
4f4b107
Remove environment dependency check from healthcheck
zanieb Oct 28, 2021
4a29185
Remove unused import
zanieb Oct 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion MANIFEST.in
Expand Up @@ -8,6 +8,5 @@ include test-requirements.txt
include src/prefect/_version.py
include src/prefect/_siginfo.py
include src/prefect/_sig29/*.txt
graft src/prefect/environments
graft src/prefect/agent
graft src/prefect/tasks/aws/waiters
20 changes: 0 additions & 20 deletions docs/.vuepress/config.js
Expand Up @@ -132,11 +132,6 @@ module.exports = {
collapsable: true,
children: getChildren('docs/api/latest', 'engine')
},
{
title: 'prefect.environments',
collapsable: true,
children: getChildren('docs/api/latest', 'environments')
},
{
title: 'prefect.executors',
collapsable: true,
Expand Down Expand Up @@ -244,7 +239,6 @@ module.exports = {
'agents/docker',
'agents/kubernetes',
'agents/ecs',
'agents/fargate'
]
},
{
Expand Down Expand Up @@ -299,20 +293,6 @@ module.exports = {
collapsable: true,
children: getChildren('docs/orchestration', 'faq')
},
{
title: 'Legacy Environments',
collapsable: true,
children: [
'execution/overview',
'execution/storage_options',
'execution/local_environment',
'execution/dask_cloud_provider_environment',
'execution/dask_k8s_environment',
'execution/k8s_job_environment',
'execution/fargate_task_environment',
'execution/custom_environment'
]
}
],
'/core/': [
'/core/',
Expand Down
523 changes: 0 additions & 523 deletions docs/orchestration/agents/fargate.md

This file was deleted.

139 changes: 0 additions & 139 deletions docs/orchestration/execution/custom_environment.md

This file was deleted.