Closed commonism closed 3 months ago
pdm lock --update-reuse -S inherit_metadata
Anything else to consider?
🔒 Lock successful.
/home/runner/.local/share/pdm/venv/lib/python3.10/site-packages/pdm_update_action/__init__.py:56: PDMDeprecationWarning: Project.locked_repository is deprecated, use Project.get_locked_repository() instead
after_candidates = project.locked_repository.all_candidates
[AttributeError]: 'list' object has no attribute 'version'
WARNING: Add '-v' to see the detailed traceback
Error: Process completed with exit code 1.
Are you using the main branch or the latest tag?
main
Fixed
Currently this action fails with
How to set the lock strategy in the action as required by https://github.com/pdm-project/pdm/pull/2995?