bright-church-87196
05/29/2024, 5:47 PMgenerate-lockfiles
is not creating nor updating lockfiles.
I ran pants --keep-sandboxes=on_failure -ldebug generate-lockfiles
both with the old lockfile in place (updated some deps recently) and deleting the old one, but it never updates. And the log does not give any errors. Any ideas?
(pasted log in thread)bright-church-87196
05/29/2024, 5:48 PM19:45:53.88 [DEBUG] specs are: Specs(includes=RawSpecs(description_of_origin='CLI arguments', address_literals=(), file_literals=(), file_globs=(), dir_literals=(), dir_globs=(), recursive_globs=(), ancestor_globs=(), unmatched_glob_behavior=<GlobMatchErrorBehavior.error: 'error'>, filter_by_global_options=True, from_change_detection=False), ignores=RawSpecs(description_of_origin='CLI arguments', address_literals=(), file_literals=(), file_globs=(), dir_literals=(), dir_globs=(), recursive_globs=(), ancestor_globs=(), unmatched_glob_behavior=<GlobMatchErrorBehavior.error: 'error'>, filter_by_global_options=False, from_change_detection=False))
19:45:53.88 [DEBUG] changed_options are: ChangedOptions(since=None, diffspec=None, dependents=<DependentsOption.NONE: 'none'>)
19:45:53.88 [DEBUG] Launching 1 roots (poll=false).
19:45:53.88 [DEBUG] computed 1 nodes in 0.004063 seconds. there are 47 total nodes.
19:45:53.88 [DEBUG] Launching 1 roots (poll=false).
19:45:53.88 [DEBUG] computed 1 nodes in 0.000318 seconds. there are 52 total nodes.
19:45:53.88 [DEBUG] Launching 1 roots (poll=false).
19:45:53.88 [DEBUG] computed 1 nodes in 0.000130 seconds. there are 52 total nodes.
19:45:53.88 [DEBUG] requesting <class 'pants.core.goals.generate_lockfiles.GenerateLockfilesGoal'> to satisfy execution of `generate-lockfiles` goal
19:45:53.88 [DEBUG] Launching 1 roots (poll=false).
19:45:53.90 [DEBUG] Completed: Generate `python_requirement` targets from requirements.txt or PEP 621 compliant pyproject.toml
19:45:53.90 [DEBUG] Completed: Generate `python_requirement` targets from requirements.txt or PEP 621 compliant pyproject.toml
19:45:53.91 [DEBUG] Completed: Find all targets in the project
19:45:53.91 [DEBUG] /Users/williamlac/.cache/pants/lmdb_store/immutable/files -> /Users/williamlac/Personal/Programming/TU Delft/digico-backend hardlinkable: true
19:45:53.91 [DEBUG] external invalidation: cleared 1 and dirtied 236 nodes for: {""}
19:45:53.91 [DEBUG] Completed: `generate-lockfiles` goal
19:45:53.91 [DEBUG] computed 1 nodes in 0.025109 seconds. there are 345 total nodes.
bright-church-87196
05/29/2024, 5:48 PM[GLOBAL]
pants_version = "2.21.0"
backend_packages = [
"pants.backend.build_files.fmt.ruff",
"pants.backend.python",
"pants.backend.experimental.python.lint.ruff.check",
"pants.backend.experimental.python.lint.ruff.format",
"pants.backend.experimental.python.typecheck.pyright",
"pants.backend.docker",
"pants.backend.docker.lint.hadolint"
]
[python]
interpreter_constraints = ["==3.11.*"]
pip_version = "24.0"
[python.resolves]
ruff = "3rdparty/python/ruff.lock"
python-default = "python-default.lock"
careful-address-89803
05/29/2024, 6:26 PM--resolve
argument, like --resolve=python-default
?bright-church-87196
05/30/2024, 7:10 AMcareful-address-89803
05/30/2024, 9:58 PMbright-church-87196
05/31/2024, 7:12 AM