PrefectHQ
prefect
BlogDocsChangelog

Add deployment version info to `prefect deploy`

#17466Merged
Comparing
versioned-cli-deploy
(
9e07f27
) with
main
(
562b964
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
450.6 µs449.7 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.2 s1.2 s

Ignored

bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+24%
5.1 ms4.1 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-4%
7.3 ms7.6 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-1%
165.9 ms166.8 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+2%
108.2 ms106.2 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-7%
154.4 ms166.7 ms

Commits

Click on a commit to change the comparison range
Base
main
562b964
+0.38%
Adds deployment versioning to the CLI Initial WIP for deployment versioning * add `--version-info` to `prefect deploy` * pass version info through deployment create and update * add make_current_version to cli options dict * remove unnecessary todo * switch flag to `branch_version` * add `create_deployment_version` to client * change version_into type * supply version_info as str * use loaded version_info in apply * types Later updates * De-branchifying * Renaming to prefect.versioning * Tightening up, removing branch * Tests and adjustments * Remove new-style type hint * Fixing types * Don't send `version_info` unless it's provided * Ensure that we dump the extra VersionInfo fields on create/update
e698811
7 months ago
by kevingrismore
-0.31%
Clear the environment so the tests aren't affected by CI
438148d
6 months ago
by chrisguidry
-0.18%
Simplifying git setup
a6f223b
6 months ago
by chrisguidry
+0.31%
Wat
c4ea646
6 months ago
by chrisguidry
-0.14%
more diags
146d405
6 months ago
by chrisguidry
-0.27%
Simpler git
ed7114a
6 months ago
by chrisguidry
-0.01%
Fixing inheritance
9405464
6 months ago
by chrisguidry
+0.28%
Merge branch 'main' into versioned-cli-deploy
4e5a4c2
6 months ago
by chrisguidry
+0.04%
Merge branch 'main' into versioned-cli-deploy
330566a
6 months ago
by chrisguidry
+0.01%
Renaming module to `_versioning`
fb22b2c
6 months ago
by chrisguidry
-0.14%
Use newer type syntax
db6e307
6 months ago
by chrisguidry
+0.08%
Merge branch 'main' into versioned-cli-deploy
e953694
6 months ago
by chrisguidry
+0.16%
Also future in deployment/runner.py
91d6c9e
6 months ago
by chrisguidry
-0.1%
Update filename for pyright
9e07f27
6 months ago
by chrisguidry
© 2025 CodSpeed Technology
Home Terms Privacy Docs