Skip to content

chore(deps): remove packaging and replace its uses#187

Merged
mdevolde merged 1 commit into
jxmorris12:masterfrom
mdevolde:chore/packaging
Jun 13, 2026
Merged

chore(deps): remove packaging and replace its uses#187
mdevolde merged 1 commit into
jxmorris12:masterfrom
mdevolde:chore/packaging

Conversation

@mdevolde

Copy link
Copy Markdown
Collaborator

chore(deps): remove packaging and replace its uses

Why the pull request was made

Remove packaging dependency. In prevision of the future breaking version, this dependency has been removed to adopt a "minimal dependencies" policy.
Because the only usage of packaging was the Version class to compare two versions as strings (e.g. 6.6 < 10.1), we can just replace this class by transforming these strings into tuples of integers. We can replace packaging because we have always versions in this form: x.x.

Summary of changes

  • Remove packaging dependency
  • Replace usages of Version by a new function who transform version strings into tuples.
  • uv lock --upgrade

Screenshots (if appropriate):

Not applicable.

How has this been tested?

Applied local tests.

Resources

Not applicable.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (changes to documentation only)
  • Refactor / code style update (non-breaking change that improves code structure or readability)
  • Tests / CI improvement (adding or updating tests or CI configuration only)
  • Other (please describe): chore: dependency removal

Checklist

  • Followed the project's contributing guidelines.
  • Updated any relevant tests.
  • Updated any relevant documentation.
  • Added comments to your code where necessary.
  • Formatted your code, run the linters, checked types and tests.

@mdevolde mdevolde self-assigned this Jun 13, 2026
@mdevolde mdevolde merged commit 23310ac into jxmorris12:master Jun 13, 2026
10 checks passed
@mdevolde mdevolde deleted the chore/packaging branch June 13, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant