Simplify pyparsing dependency by requiring version >2.0.0#24
Merged
Conversation
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
…comparison edge cases Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Reduce external dependencies in the project
Remove tzlocal and packaging dependencies
Jan 17, 2026
Owner
|
Keep tzlocal |
Owner
|
@copilot Keep tzlocal and revert back the changes associated |
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Author
Copilot
AI
changed the title
Remove tzlocal and packaging dependencies
Remove packaging dependency
Jan 17, 2026
Owner
|
@copilot Update pyparsing to >2.0.0 and remove the version check in the code |
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Author
Copilot
AI
changed the title
Remove packaging dependency
Simplify pyparsing dependency by requiring version >2.0.0
Jan 17, 2026
csett86
approved these changes
Jan 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduces external dependencies from 8 to 7 and simplifies pyparsing version handling by requiring pyparsing >2.0.0.
Changes
packaging: Eliminated the need for thepackagingdependency by requiring pyparsing >2.0.0 directlypyparsing>=1.5.7topyparsing>2.0.0in pyproject.tomltzlocal: Maintains the existingtzlocaldependency for timezone detectionImplementation
Simplified grammar initialization (
graphite_render/render/grammar.py):The version check and
_compare_version()function have been completely removed since all installations are now guaranteed to have pyparsing >2.0.0.Benefits
packagingremoved)All 486 tests pass. No security alerts.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.