Skip to content

Commit

Permalink
[internal] Document how to regenerate lockfiles until we have more ro…
Browse files Browse the repository at this point in the history
…bust automatic support (#12386)

In the meantime to landing #12382, this makes things more clear for pantsbuild/pants contributors.

Of course, this PR is not sustainable, but it brings some clarity while we iterate on this volatile code.

[ci skip-rust]
[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano authored Jul 20, 2021
1 parent 37d2d23 commit 5453f21
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 3rdparty/python/lockfile.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#
# To regenerate, run `./pants --tag=-lockfile_ignore lock ::` on a machine w/ Py37.
#
#
# This file is autogenerated by pip-compile with python 3.7
# To update, run:
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#
# To regenerate, run `./pants tool-lock` on a machine w/ Py36.
#
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#
# To regenerate, run `./pants tool-lock` on a machine w/ Py36.
#
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
Expand Down
4 changes: 4 additions & 0 deletions src/python/pants/backend/python/lint/black/lockfile.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#
# To regenerate, run `./pants tool-lock` on a machine w/ Py36.
# You MUST manually add back the `python_version` environment markers. (This will be automated soon.)
#
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#
# To regenerate, run `./pants tool-lock` on a machine w/ Py36.
#
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
Expand Down
3 changes: 3 additions & 0 deletions src/python/pants/backend/python/lint/isort/lockfile.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#
# To regenerate, run `./pants tool-lock` on a machine w/ Py36.
#
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
Expand Down
3 changes: 3 additions & 0 deletions src/python/pants/backend/python/lint/yapf/lockfile.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#
# To regenerate, run `./pants tool-lock` on a machine w/ Py36.
#
#
# This file is autogenerated by pip-compile with python 3.6
# To update, run:
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#
# To regenerate, run `./pants tool-lock` on a machine w/ Py37.
#
#
# This file is autogenerated by pip-compile with python 3.7
# To update, run:
#
Expand Down

0 comments on commit 5453f21

Please sign in to comment.