-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release covidcast-indicators 0.3.56 (#2049)
* doc: add logger examples to README and format * deployment + staging details * wrap lines * Update _template_python/INDICATOR_DEV_GUIDE.md Co-authored-by: David Weber <[email protected]> * Update _template_python/INDICATOR_DEV_GUIDE.md Co-authored-by: David Weber <[email protected]> * Update _template_python/INDICATOR_DEV_GUIDE.md Co-authored-by: David Weber <[email protected]> * Update INDICATOR_DEV_GUIDE.md with mysql syntax * Update INDICATOR_DEV_GUIDE.md reorder instruction on cron jobs * switch from input_file to input_dir (#1995) * adjust nssp max_age * add pyproject.toml * made changes based on suggestion * update ci config * separate new line Co-authored-by: Dmitry Shemetov <[email protected]> * fix: add explicit boto and moto dependencies to indicators * trying to get package data to show * installing dev package before testing in ci * adding dependency * move comment to right package * Update _delphi_utils_python/pyproject.toml Co-authored-by: Dmitry Shemetov <[email protected]> * Revert "Clean up delphi_utils " * refactoring date parsing to seperate file * first implimentation * small cleanup and adding missing data * changed wording and some logic * made test more explicit * add missing file * cleaning up tests * consolidating tests into one * fixed wording * consolidating test/fixture * clean up test * Update google_symptoms/delphi_google_symptoms/patch.py remove old code; not used anymore Co-authored-by: nmdefries <[email protected]> * clean up lint * remove teardown * cleaning and renaming * more explicit branching for regular run vs patching, renaming, cleaning * cleanup and rewrite logic * avoid linking keywords in PR template * Update _delphi_utils_python/README.md Co-authored-by: george <[email protected]> * Refactor Jenkins pipeline - Remove usage of parallel in the build and package stages - Retain usage of parallel in the deploy stages - Separate build and package into separate scripts to support build-only stages - Add a build-only stage for dev/feature branches * Add separate build and package scripts * Update script comments * Remove unused script * changes based on suggestion * standardizing output dir in test * changing back to session scope * more logging and update params * adding back conditional for num_export_days * test_run does not like fixtures * make deep copies of params fixtures * linting * test patch check if num_export_days is set or not * patch fn takes params as an arg, like run_module * list values added using actual day as an example * move pull date creation into pull_gs_data * don't modify num_export_days; define start/end date in terms of it and lag * refer to params by name; patch_flag -> custom_run flag * use test data based on recent actual indicator run * say where gold test data came from * not all date_utils tests need metadata * formatting * fn docs * lint and cleanup * adding more tests * removed extra lag and made test more robust * export_start_date is optional since the first available date is baked in * need to account for historical / current run for adding lag * adding validation script * fix typo * fixing typo in test * lint * sample run for validation * remove unused input Co-authored-by: nmdefries <[email protected]> * remove unused import * added progress chunk to limit logging (#2024) * added progress chunk to limit logging * lint * comment based on suggestion * add hhs geo level (#2036) * Add discussion of patching functionality to indicator manual (#2031) * basic patching info * custom_run * add hhs to geo section * de-emphasize R in contributing doc, and add links * ref/issue date intro * naming and force push standards * secret and params links * Clean up delphi_utils (take 2) (#2014) * add pyproject.toml * made changes based on suggestion * update ci config * separate new line Co-authored-by: Dmitry Shemetov <[email protected]> * fix: add explicit boto and moto dependencies to indicators * trying to get package data to show * installing dev package before testing in ci * adding dependency * move comment to right package * Update _delphi_utils_python/pyproject.toml Co-authored-by: Dmitry Shemetov <[email protected]> * more suggestion * adding pyproject.toml to template * Update changehc/Makefile * Update claims_hosp/Makefile * Update doctor_visits/Makefile * Update google_symptoms/Makefile * Update hhs_hosp/Makefile * Update nchs_mortality/Makefile * Update nssp/Makefile * Update nwss_wastewater/Makefile * Update quidel_covidtest/Makefile * Update sir_complainsalot/Makefile * fix: dependence bugs and cleanup * pandas[excel]<2 doesn't work, go back to xlrd and comment * add mock to changehc * add requests * remove setup.py from template * build: fix Jenkins build script --------- Co-authored-by: Amaris Sim <[email protected]> Co-authored-by: aysim319 <[email protected]> Co-authored-by: Dmitry Shemetov <[email protected]> * fix: build-indicators.sh looks for setup.py and pyproject.toml (#2048) * fix: build-indicators.sh looks for setup.py again Reverting a premature change. * fix: readability and future-proof * fix: more readability * chore: bump delphi_utils to 0.3.25 * chore: bump covidcast-indicators to 0.3.56 * [create-pull-request] automated change --------- Co-authored-by: Dmitry Shemetov <[email protected]> Co-authored-by: minhkhul <[email protected]> Co-authored-by: Nat DeFries <[email protected]> Co-authored-by: minhkhul <[email protected]> Co-authored-by: David Weber <[email protected]> Co-authored-by: george <[email protected]> Co-authored-by: Amaris Sim <[email protected]> Co-authored-by: aysim319 <[email protected]> Co-authored-by: Brian Clark <[email protected]> Co-authored-by: Delphi Deploy Bot <[email protected]> Co-authored-by: minhkhul <[email protected]>
- Loading branch information
1 parent
b338a09
commit dd22ccd
Showing
59 changed files
with
51,793 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.3.55 | ||
current_version = 0.3.56 | ||
commit = True | ||
message = chore: bump covidcast-indicators to {new_version} | ||
tag = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[bumpversion] | ||
current_version = 0.3.24 | ||
current_version = 0.3.25 | ||
commit = True | ||
message = chore: bump delphi_utils to {new_version} | ||
tag = False | ||
|
||
[bumpversion:file:setup.py] | ||
[bumpversion:file:pyproject.toml] | ||
|
||
[bumpversion:file:delphi_utils/__init__.py] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ | |
from .nancodes import Nans | ||
from .weekday import Weekday | ||
|
||
__version__ = "0.3.24" | ||
__version__ = "0.3.25" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm>=8.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "delphi-utils" | ||
version = "0.3.25" | ||
description = "Shared Utility Functions for Indicators" | ||
readme = "README.md" | ||
requires-python = "== 3.8.*" | ||
license = { text = "MIT License" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: MIT", | ||
] | ||
dependencies = [ | ||
"boto3", | ||
"covidcast", | ||
"cvxpy", | ||
"epiweeks", | ||
"gitpython", | ||
"importlib_resources>=1.3", | ||
"numpy", | ||
"pandas>=1.1.0", | ||
"requests", | ||
"slackclient", | ||
"scs<3.2.6", # TODO: remove this ; it is a cvxpy dependency, and the excluded version appears to break our jenkins build. see: https://github.com/cvxgrp/scs/issues/283 | ||
"structlog", | ||
"xlrd", # needed by Pandas to read Excel files | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/cmu-delphi/covidcast-indicators" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"darker[isort]~=2.1.1", | ||
"pylint==2.8.3", | ||
"pytest", | ||
"pydocstyle", | ||
"pytest-cov", | ||
"mock", | ||
"moto~=4.2.14", | ||
"requests-mock", | ||
"freezegun", | ||
] | ||
flash = ["scipy"] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] | ||
include = ["delphi_utils"] | ||
namespaces = true | ||
|
||
[tool.setuptools.package-data] | ||
"delphi_utils.data" = ["20*/*.csv"] |
Oops, something went wrong.