Specify dependencies version #19
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/0x0#19
Loading…
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?
Hi,
I saw you removed the dependencies versions in this commit
f66418ad4d
. Why?The versions should be specified to ensure the app still works if any dependency gets updated. Ranges could be used to accept minor version, but block major ones (like
someting>=10,<11
)On Dienstag, 3. Dezember 2019 06:15:55 PST Alexandre Morignot wrote:
Because in my experience, the Python ecosystem (excluding the irredeemable
dumpsterfire that is the Django community) tends not to break API in
backwards-incompatible ways very often. And if they do, this app should be
updated to support the changes. To that end, it might make sense to write a
test suite.
To be honest, I don’t care enough to even keep requirements.txt up to date
because I’m just using openSUSE Tumbleweed’s packages anyway (which are
generally up to date).
In the few years 0x0.st has been running, I don’t recall any instance of API
breakage.
What I should do however is refactor the damn thing so it uses fewer
abandoned/obsolete modules. 0x0 started out as a quick temporary solution, and
it really shows that code quality was not a priority at any point in its
development.