-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up delphi_utils #1973
Comments
We could even put some of the esoteric usage and/or larger installation dependencies behind package "extras". |
If we combine this with migrating over to |
migrating to using |
Gonna reopen this issue. Also, gonna edit your OP @melange396 so the subtasks are clearer because #1984 addressed the first of the subtasks and we could probably tackle the second in the Jenkins-fix follow-up too. The third subtask can be closed when we finish up #1972. |
Thinking about the unused package subtask, I found
The following will be handled by #2014, as they get moved to dev.
|
delphi_utils
is a big hodge-podge of a package with a lot of dependencies, thus it has a relatively large net footprint and takes a while to install. Lets see if we can lessen that.darker
,freezegun
,mock
,moto
,pydocstyle
,pylint
,pytest-cov
,pytest
,requests-mock
. They can be put into something like a "requirements.test.txt
" file that gets installed via the CI and/or Makefile.setup.py
any unused packages, asgitpython
appears to be.covidcast
package has its own wacky imports, which includes a bunch of imaging/graphics and geospatial libraries. It is only used in thedelphi_utils.validator
module for pulling data from the API and can be replaced with the lighter-weightdelphi_epidata
client instead. Doing that is not quite as easy as moving requirements entries around, and it is covered in in replace the python covidcast client in validator #1972.The text was updated successfully, but these errors were encountered: