Drop munch library (?) #318
Labels
No labels
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
discussions
easyfix
enhancement
task
ai-review-please
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
pr2jira
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quality/blockerbugs#318
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's now only used for tests, in just a couple of places. It's an old library from Py2 world, I believe. In Py3 there are now better ways to work with objects, and tests are now often generated anyway, saving a few keystrokes no longer makes much sense. Let's consider getting rid of it.
+1 from me, I never entirely got the point of it.
Turns out that
bodhi-clientAPI returns objects of typemunch.Munchsomunchmodule is loaded anyway as a transitive dependency.While we can drop
munchfrom direct dependencies and access bodhi-client objects using bracket notation, they are still technically Munch type and we'd have to reintroducemunchmodule as soon as we started using more thorough mypy type checks.@adamwill @kparal What say you? Keep
munchor remove it anyway?If that's the case, let's keep it for now. Let's just add a comment in requirements.txt to explain that we keep it as long as we keep bodhi-client (because it returns this type). Other thoughts?