Skip to content

Commit 5654dca

Browse files
authored
Merge pull request #1663 from cmu-delphi/release/delphi-epidata-4.1.35
Release Delphi Epidata 4.1.35
2 parents 87cdb01 + 6ac0a72 commit 5654dca

File tree

11 files changed

+372
-40
lines changed

11 files changed

+372
-40
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4.1.34
2+
current_version = 4.1.35
33
commit = False
44
tag = False
55

dev/docker/python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8-buster
1+
FROM python:3.8-bookworm
22

33
RUN apt-get update && apt-get install -y r-base && Rscript -e "install.packages(c('httr','xml2'))"
44

dev/local/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = Delphi Development
3-
version = 4.1.34
3+
version = 4.1.35
44

55
[options]
66
packages =

docs/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,14 @@ GEM
207207
rb-fsevent (~> 0.10, >= 0.10.3)
208208
rb-inotify (~> 0.9, >= 0.9.10)
209209
mercenary (0.3.6)
210-
mini_portile2 (2.8.8)
210+
mini_portile2 (2.8.9)
211211
minima (2.5.1)
212212
jekyll (>= 3.5, < 5.0)
213213
jekyll-feed (~> 0.9)
214214
jekyll-seo-tag (~> 2.1)
215215
minitest (5.17.0)
216216
multipart-post (2.1.1)
217-
nokogiri (1.18.8)
217+
nokogiri (1.18.9)
218218
mini_portile2 (~> 2.8.2)
219219
racc (~> 1.4)
220220
octokit (4.20.0)

integrations/server/test_covidcast_endpoints.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
from delphi.epidata.maintenance.covidcast_meta_cache_updater import main as update_cache
1313
from delphi.epidata.acquisition.covidcast.test_utils import CovidcastBase, CovidcastTestRow
14+
from delphi.epidata.maintenance.coverage_crossref_updater import main as update_crossref
15+
1416

1517
# use the local instance of the Epidata API
1618
BASE_URL = "http://delphi_web_epidata/epidata/covidcast"
@@ -385,3 +387,19 @@ def test_coverage(self):
385387
with self.subTest("invalid geo_type"):
386388
out = self._fetch("/coverage", signal=first.signal_pair(), geo_type="doesnt_exist", format="json")
387389
self.assertEqual(len(out), 0)
390+
391+
def test_geo_indicator_coverage(self):
392+
"""Request a geo_type:geo_value from the /geo_indicator_coverage endpoint."""
393+
394+
self._insert_rows([
395+
CovidcastTestRow.make_default_row(geo_type="state", geo_value="pa"),
396+
CovidcastTestRow.make_default_row(geo_type="state", geo_value="ny"),
397+
CovidcastTestRow.make_default_row(geo_type="state", geo_value="ny", signal="sig2"),
398+
])
399+
400+
update_crossref()
401+
402+
out = self._fetch("/geo_indicator_coverage", data_source="src", signals="sig")
403+
self.assertEqual(len(out["epidata"]), 2)
404+
self.assertEqual(out["epidata"], ['state:ny', 'state:pa'])
405+

src/client/delphi_epidata.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Epidata <- (function() {
1515
# API base url
1616
BASE_URL <- getOption('epidata.url', default = 'https://api.delphi.cmu.edu/epidata/')
1717

18-
client_version <- '4.1.34'
18+
client_version <- '4.1.35'
1919

2020
auth <- getOption("epidata.auth", default = NA)
2121

src/client/delphi_epidata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
})(this, function (exports, fetchImpl, jQuery) {
2424
const BASE_URL = "https://api.delphi.cmu.edu/epidata/";
25-
const client_version = "4.1.34";
25+
const client_version = "4.1.35";
2626

2727
// Helper function to cast values and/or ranges to strings
2828
function _listitem(value) {

0 commit comments

Comments
 (0)