Skip to content

Enhanced how to manage dependencies - #2222

Open
stevepiercy wants to merge 1 commit into
mainfrom
1710-doc-update-deps
Open

stevepiercy wants to merge 1 commit into
mainfrom
1710-doc-update-deps

Conversation

@stevepiercy

Copy link
Copy Markdown
Member

Linked issue

Description

Enhanced how to manage dependencies

  • 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.

- 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.
@stevepiercy stevepiercy added doc exempt Exempt from pull request quality check workflow Documentation review Created by dashboard.pycal.org: https://dashboard.pycal.org/projects/icalendar/steps/?step_id=6 labels Dec 5, 2026
@stevepiercy stevepiercy changed the title Enhanced how to manage dependencies - 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. Enhanced how to manage dependencies Dec 5, 2026
@dashboard-pycal-org dashboard-pycal-org Bot added the Needs documentation review This pull request is ready for a documentation review label Dec 5, 2026
@dashboard-pycal-org

dashboard-pycal-org Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

View progress Replies of Steve Piercy

Thanks for contributing to icalendar @stevepiercy!

Documentation review

The 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.

  1. ❌ All documentation reviews need to be addressed

dashboard.pycal.org feedback

@stevepiercy

Copy link
Copy Markdown
Member Author

@josemmiranda04 I'd appreciate your feedback on this PR. Thank you!

@niccokunzmann niccokunzmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I read it and it is informative.

@josemmiranda04 josemmiranda04 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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!

Comment thread Makefile

.PHONY: dep-check
dep-check: .venv ## Check development requirements for updates
@uv tree --all-groups --outdated --depth=1 --python-version "$(PYTHONVERSION)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation review Created by dashboard.pycal.org: https://dashboard.pycal.org/projects/icalendar/steps/?step_id=6 exempt Exempt from pull request quality check workflow Needs documentation review This pull request is ready for a documentation review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc: how to update dependencies

3 participants