Repository navigation
Enhanced how to manage dependencies - #2222
stevepiercy wants to merge 1 commit into
Conversation
- Added new sections for removing and syncing dependencies. - Added a make target ``dep-check`` to check which dependencies would be updated. - Removed a line that was accidentally committed from an earlier PR.
dep-check to check which dependencies would be updated. - Removed a line that was accidentally committed from an earlier PR.|
Thanks for contributing to icalendar @stevepiercy! Documentation reviewThe pull request is technically correct. The documentation needs reviewing now. To speed this up, please read our style guide and make any adjustments that you can find.
|
|
@josemmiranda04 I'd appreciate your feedback on this PR. Thank you! |
niccokunzmann
left a comment
There was a problem hiding this comment.
I read it and it is informative.
josemmiranda04
left a comment
There was a problem hiding this comment.
Glad to take a look at this PR!
I reviewed the dependency management doc and tested the new dep-check target locally.
The documentation is clear and the documented command works as expected. I left one inline comment about the default behavior of make dep-check, which currently fails unless a specific Python version is provided.
Overall, the changes look good to me!
|
|
||
| .PHONY: dep-check | ||
| dep-check: .venv ## Check development requirements for updates | ||
| @uv tree --all-groups --outdated --depth=1 --python-version "$(PYTHONVERSION)" |
There was a problem hiding this comment.
I tested the new dep-check target locally and noticed that running make dep-check without arguments fails because PYTHONVERSION defaults to >=3.10,<3.15, which uv tree --python-version does not accept.
The documented command, make dep-check PYTHONVERSION=3.14, works correctly. I also confirmed that uv tree --all-groups --outdated --depth=1 works without an explicit python version.
Would it make sense to allow make dep-check to work without requiring an explicit PYTHONVERSION?
Linked issue
Description
Enhanced how to manage dependencies
dep-checkto check which dependencies would be updated.