File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 3
3
## [ Unreleased]
4
4
5
5
- Fixed Dev Center links to reflect recent article URL changes. ([ #1723 ] ( https://github.com/heroku/heroku-buildpack-python/pull/1723 ) )
6
+ - Added metrics for the existence of a uv lockfile. ([ #1725 ] ( https://github.com/heroku/heroku-buildpack-python/pull/1725 ) )
6
7
7
8
## [ v271] - 2024-12-12
8
9
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ ALL_OTHER_FIELDS=(
94
94
setup_py_only
95
95
sqlite_install_duration
96
96
total_duration
97
+ uv_lockfile
97
98
)
98
99
99
100
for field in " ${STRING_FIELDS[@]} " ; do
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ function package_manager::determine_package_manager() {
59
59
meta_set " setup_py_only" " false"
60
60
fi
61
61
62
+ if [[ -f " ${build_dir} /uv.lock" ]]; then
63
+ meta_set " uv_lockfile" " true"
64
+ fi
65
+
62
66
local num_package_managers_found=${# package_managers_found[@]}
63
67
64
68
case " ${num_package_managers_found} " in
@@ -87,6 +91,11 @@ function package_manager::determine_package_manager() {
87
91
Otherwise, add a package manager file to your app. If your app has
88
92
no dependencies, then create an empty 'requirements.txt' file.
89
93
94
+ If you would like to see support for the package manager uv,
95
+ please vote and comment on these GitHub issues:
96
+ https://github.com/heroku/heroku-buildpack-python/issues/1616
97
+ https://github.com/heroku/roadmap/issues/323
98
+
90
99
For help with using Python on Heroku, see:
91
100
https://devcenter.heroku.com/articles/getting-started-with-python
92
101
https://devcenter.heroku.com/articles/python-support
Original file line number Diff line number Diff line change 31
31
remote: ! Otherwise, add a package manager file to your app. If your app has
32
32
remote: ! no dependencies, then create an empty 'requirements.txt' file.
33
33
remote: !
34
+ remote: ! If you would like to see support for the package manager uv,
35
+ remote: ! please vote and comment on these GitHub issues:
36
+ remote: ! https://github.com/heroku/heroku-buildpack-python/issues/1616
37
+ remote: ! https://github.com/heroku/roadmap/issues/323
38
+ remote: !
34
39
remote: ! For help with using Python on Heroku, see:
35
40
remote: ! https://devcenter.heroku.com/articles/getting-started-with-python
36
41
remote: ! https://devcenter.heroku.com/articles/python-support
You can’t perform that action at this time.
0 commit comments