2.20.3
版本发布时间: 2024-08-23 04:33:41
PrefectHQ/prefect最新发布版本:3.0.0rc20(2024-08-30 02:00:42)
2.20.3: Background to the future
Two items of note in this release:
A note on dependencies: Last week, a major version upgrade of one of Prefect's dependencies (griffe
) caused quite the headache for some users' environments, and we are sorry for the inconvenience this caused; in general, we strive to keep major version upper bounds on all of our dependencies, but an oversight caused this dependency to go without an upper bound. This release fixes that issue and added in a few other upper bounds that weren't present.
prefect server start --background
: By popular request, this release features a new flag on prefect server start
that runs the server in a background process. When starting a background server, a server.pid
file is written to the $PREFECT_HOME
directory with the process ID of the background server. This lets prefect server stop
know which process to interrupt. Currently, only one background server can be started at a time.
New Features 🎉
- Adds the ability to run a server in the background by @desertaxle in https://github.com/PrefectHQ/prefect/pull/15013
- Backport
--overwrite
forcreate_work_pool
by @zzstoatzz in https://github.com/PrefectHQ/prefect/pull/14977 - Add Block Type registration for its nested block types in field annotations by @GalLadislav in https://github.com/PrefectHQ/prefect/pull/15032
Bug Fixes 🐞
- Ensure Python executable is quoted in runner command on Windows by @desertaxle in https://github.com/PrefectHQ/prefect/pull/15015
- Remove duplicate
griffe
requirement by @desertaxle in https://github.com/PrefectHQ/prefect/pull/14983
Integrations & Dependencies 🤝
- Unbound griffe to 2.0 by @cicdw in https://github.com/PrefectHQ/prefect/pull/14998
- Upper bound critical requirements by @cicdw in https://github.com/PrefectHQ/prefect/pull/15003
- Update websockets requirement from <13.0,>=10.4 to >=10.4,<14.0 by @dependabot in https://github.com/PrefectHQ/prefect/pull/15025
- Update importlib-resources requirement from <6.2.0,>=6.1.3 to >=6.1.3,<6.5.0 by @dependabot in https://github.com/PrefectHQ/prefect/pull/15041
Full Changelog: https://github.com/PrefectHQ/prefect/compare/2.20.2...2.20.3