cjhutto / bsd

Bias Statement Detector (BSD) computationally detects and quantifies the degree of bias in sentence-level text of news stories.
MIT License
47 stars 20 forks source link

Add a requirements.txt file #7

Closed jpfairbanks closed 6 years ago

scottagt commented 6 years ago

Looks useful. I noticed there were not any specific versions being referenced. Seems like it would be useful to reference specific version of dependencies or no?

jpfairbanks commented 6 years ago

do we need specific versions of the dependencies? Or should it work with the latest available versions?

I am in favor of either fixing a specific set of version and updating only when necessary, or run with latest versions and keep them up to date.

One problem with pegging versions is that you get a system of packages that don't have a viable set of dependencies that work. Every package specifies a very narrow set of versions and you can't run multiple packages in the same python environment.

The major problem with not specifying versions is that your program can break because a dependency changed.

What are your thoughts?

cjhutto commented 6 years ago

No way to easily designate "latest versions" with graceful degradation to "specific known working version"?

We can keep the conversation open while we discuss implementation, but at a minimum I think the req. file is a good idea.