Releases: lisphilar/covid19-sir
Covsirphy 3.1.1
Fixed citation.
Related issue: [Docs] update the last year in citation, 2020-2023 to 2020-2024 #1598
Milestone: https://github.com/lisphilar/covid19-sir/milestone/54?closed=1
What's Changed
- update the last year in citation, 2020-2023 to 2020-2024 by @lisphilar in #1599
Full Changelog: 3.1.0...3.1.1
Covsirphy 3.1.0
Covsirphy dropped Python version 3.8 and added Python 3.12 support.
Covsirphy version 3.1.0 support 3.9, 3.10, 3.11 and 3.12.
Milestone:
https://github.com/lisphilar/covid19-sir/milestone/53?closed=1
Related issues
- [New] Drop Python 3.8 support #1591
- [New] Add Python 3.12 support #1592
- [Bug] UserWarning when plotting: The figure layout has changed to tight #1484
- [Bug] FutureWarning with the behavior of DataFrame concatenation with empty or all-NA entries #1511
- [Bug] FutureWarning: The default of observed=False is deprecated #1514
- [Bug] FutureWarning: Series.getitem treating keys as positions is deprecated #1513
- [Bug] FutureWarning: Setting an item of incompatible dtype is deprecated #1515
- [Bug] FutureWarning: Series.getitem treating keys as positions is deprecated #1595
- [Bug] FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value ' #1594
- [Bug] DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns #1596
- [Bug] tests failed with covsirphy.util.error.NotIncludedError: 'Population' was not included in the 'column list of raw data'. The dataframe has ISO3, Province, City, Date as columns. #1597
- [Docs] fix URL expiration regarding pepy.tech #1504
- [Docs] show data flow diagram of CovsirPhy on README #1507
What's Changed
- Bump ipykernel from 6.23.0 to 6.23.1 by @dependabot in #1442
- Bump pyright from 1.1.308 to 1.1.309 by @dependabot in #1443
- Bump requests from 2.30.0 to 2.31.0 by @dependabot in #1444
- Bump autots from 0.5.6 to 0.5.7 by @dependabot in #1445
- Bump typing-extensions from 4.5.0 to 4.6.0 by @dependabot in #1447
- Bump sphinx-rtd-theme from 1.2.0 to 1.2.1 by @dependabot in #1446
- Bump typing-extensions from 4.6.0 to 4.6.1 by @dependabot in #1448
- Bump pytest-cov from 4.0.0 to 4.1.0 by @dependabot in #1449
- Bump tornado from 6.3.1 to 6.3.2 by @dependabot in #1450
- Bump nbsphinx from 0.9.1 to 0.9.2 by @dependabot in #1451
- Bump typing-extensions from 4.6.1 to 4.6.2 by @dependabot in #1452
- Bump pyright from 1.1.309 to 1.1.310 by @dependabot in #1453
- Bump pandas from 2.0.1 to 2.0.2 by @dependabot in #1454
- Bump pca from 2.0.1 to 2.0.2 by @dependabot in #1455
- Bump optuna from 3.1.1 to 3.2.0 by @dependabot in #1456
- Bump pyright from 1.1.310 to 1.1.311 by @dependabot in #1458
- Bump pca from 2.0.2 to 2.0.3 by @dependabot in #1457
- Bump typing-extensions from 4.6.2 to 4.6.3 by @dependabot in #1459
- Bump geopandas from 0.13.0 to 0.13.1 by @dependabot in #1460
- Bump geopandas from 0.13.1 to 0.13.2 by @dependabot in #1461
- Bump ruptures from 1.1.7 to 1.1.8 by @dependabot in #1462
- Bump sphinx-rtd-theme from 1.2.1 to 1.2.2 by @dependabot in #1463
- Bump pyright from 1.1.311 to 1.1.313 by @dependabot in #1464
- Bump pytest from 7.3.1 to 7.3.2 by @dependabot in #1465
- Bump ipykernel from 6.23.1 to 6.23.2 by @dependabot in #1466
- Bump pyarrow from 12.0.0 to 12.0.1 by @dependabot in #1467
- Bump pyright from 1.1.313 to 1.1.314 by @dependabot in #1468
- Bump deptry from 0.11.0 to 0.12.0 by @dependabot in #1469
- Bump pyright from 1.1.314 to 1.1.315 by @dependabot in #1470
- Bump pytest from 7.3.2 to 7.4.0 by @dependabot in #1471
- Bump ipykernel from 6.23.2 to 6.23.3 by @dependabot in #1472
- Bump numpy from 1.24.3 to 1.24.4 by @dependabot in #1473
- Bump pyright from 1.1.315 to 1.1.316 by @dependabot in #1474
- Bump typing-extensions from 4.6.3 to 4.7.0 by @dependabot in #1476
- Bump pandas from 2.0.2 to 2.0.3 by @dependabot in #1475
- Bump typing-extensions from 4.7.0 to 4.7.1 by @dependabot in #1479
- Bump pillow from 9.5.0 to 10.0.0 by @dependabot in #1478
- Bump ipykernel from 6.23.3 to 6.24.0 by @dependabot in #1477
- Bump ipywidgets from 8.0.6 to 8.0.7 by @dependabot in #1480
- use fig.set_tight_layout(True) instead of plt.tight_layout() by @lisphilar in #1485
- Bump pyright from 1.1.316 to 1.1.317 by @dependabot in #1483
- Bump autots from 0.5.7 to 0.5.8 by @dependabot in #1482
- Bump matplotlib from 3.7.1 to 3.7.2 by @dependabot in #1481
- Bump pyright from 1.1.317 to 1.1.318 by @dependabot in #1487
- Bump ipykernel from 6.24.0 to 6.25.0 by @dependabot in #1488
- Bump ipywidgets from 8.0.7 to 8.1.0 by @dependabot in #1489
- Bump pyright from 1.1.318 to 1.1.320 by @dependabot in #1490
- Bump pca from 2.0.3 to 2.0.4 by @dependabot in #1492
- Bump optuna from 3.2.0 to 3.3.0 by @dependabot in #1491
- Bump ipykernel from 6.25.0 to 6.25.1 by @dependabot in #1493
- Bump autots from 0.5.8 to 0.6.0 by @dependabot in #1494
- Bump pyright from 1.1.320 to 1.1.321 by @dependabot in #1495
- Bump pyright from 1.1.321 to 1.1.322 by @dependabot in #1496
- Bump pyright from 1.1.322 to 1.1.323 by @dependabot in #1497
- Bump certifi from 2023.5.7 to 2023.7.22 by @dependabot in #1498
- Bump tornado from 6.3.2 to 6.3.3 by @dependabot in #1499
- Bump sphinx-rtd-theme from 1.2.2 to 1.3.0 by @dependabot in #1500
- Bump pyright from 1.1.323 to 1.1.324 by @dependabot in #1503
- Bump pyarrow from 12.0.1 to 13.0.0 by @dependabot in #1502
- docs; close #1504 by @lisphilar in #1505
- Bump pca from 2.0.4 to 2.0.5 by @dependabot in #1506
- Show data flow diagram of CovsirPhy on README by @lisphilar in #1508
- Bump nbsphinx from 0.9.2 to 0.9.3 by @dependabot in #1509
- Fix errors regarding pandas version 2.1.0 release by @lisphilar in #1512
- Bump ipykernel from 6.25.1 to 6.25.2 by @dependabot in #1517
- Bump pytest from 7.4.0 to 7.4.2 by @dependabot in #1520
- Bump pyright from 1.1.324 to 1.1.326 by @dependabot in #1519
- Bump loguru from 0.7.0 to 0.7.1 by @dependabot in #1518
- Bump loguru from 0.7.1 to 0.7.2 by @dependabot in #1521
- Bump matplotlib from 3.7.2 to 3.7.3 by @dependabot in #1522
- Bump ipywidgets from 8.1.0 to 8.1.1 by @dependabot in #1523
- Bump pyright from 1.1.326 to 1.1.327 by @dependabot in #1524
- Bump pillow from 10.0.0 to 10.0.1 by @dependabot in #1525
- Bump typing-extensions from 4.7.1 to 4.8.0 by @dependabot in #1526
- Bump unidecode from 1.3.6 to 1.3.7 by @dependabot in #1527
- Bump pyright from 1.1.327 to 1.1.328 by @dependabot in #1528
- Bump pyright from 1.1.328 to 1.1.329 by @dependabot in #1529
- Bump urllib3 from 2.0.4 to 2.0.6 by @dependabot in #1530
- Bump pyright from 1.1.329 to 1.1.330.post0 by @dependabot in #1532
- Bump pyright from 1.1.330.post0 to 1....
CovsirPhy 3.0.0
All deprecated APIs were removed.
Milestone: https://github.com/lisphilar/covid19-sir/milestone/49?closed=1
What's Changed
- Deprecation for v3.0.0 by @lisphilar in #1261
- Run quality check workflow for all updates of default branch and pull requests by @lisphilar in #1264
- Refactoring Python files and tests, suppressing warning raised by a dependency by @lisphilar in #1269
- Stop tests with multiple CPUs to avoid un-necessary FAILED by @lisphilar in #1272
- fix: coverage report not created by @lisphilar in #1273
- update .github/workflows/**.yml to use "main" branch by @lisphilar in #1275
- exclude main branch from the targets of deleted after pull request closing by @lisphilar in #1276
- add automated rebase workflow by @lisphilar in #1277
- Bump optuna from 3.0.2 to 3.0.3 by @dependabot in #1279
- Bump numpy from 1.23.3 to 1.23.4 by @dependabot in #1280
- remove .html for deprecated classes and fix "APIs of GIS and DataEngineer class not documented" by @lisphilar in #1282
- update data/README.md to document the date ranges of Japan data by @lisphilar in #1284
- use type hints in APIs users will call: downloading, show type hint in documentation by @lisphilar in #1285
- Use type hint in APIs of dynamics and add
pyright
check to quality check workflow by @lisphilar in #1286 - use type hint in DatEngineer by @lisphilar in #1288
- revert test skip and use pandas 1.5.1 by @lisphilar in #1289
- Improve importing time and add make command for evaluation by @lisphilar in #1291
- Bump geopandas from 0.11.1 to 0.12.0 by @dependabot in #1293
- Bump pyarrow from 9.0.0 to 10.0.0 by @dependabot in #1294
- ignore pytest.PytestDeprecationWarning in tests by @lisphilar in #1296
- Bump pca from 1.8.3 to 1.8.4 by @dependabot in #1298
- Bump country-converter from 0.7.7 to 0.8.0 by @dependabot in #1299
- Bump autots from 0.5.0 to 0.5.1 by @dependabot in #1300
- Bump numpy from 1.23.4 to 1.23.5 by @dependabot in #1303
- Delegate error handling of colormap to Matplotlib by @lisphilar in #1310
- Bump certifi from 2022.9.24 to 2022.12.7 by @dependabot in #1311
- Bump geopandas from 0.12.1 to 0.12.2 by @dependabot in #1312
- Bump autots from 0.5.1 to 0.5.2 by @dependabot in #1313
- Bump numpy from 1.23.5 to 1.24.0 by @dependabot in #1315
- Bump optuna from 3.0.4 to 3.0.5 by @dependabot in #1316
- Bump autots from 0.5.2 to 0.5.3 by @dependabot in #1317
- Bump numpy from 1.24.0 to 1.24.1 by @dependabot in #1318
- Issue1319 by @lisphilar in #1320
- Bump pca from 1.8.5 to 1.8.6 by @dependabot in #1322
- Bump sphinx-autodoc-typehints from 1.19.5 to 1.21.4 by @dependabot in #1333
- Bump pyright from 1.1.285 to 1.1.290 by @dependabot in #1332
- Bump optuna from 3.0.5 to 3.1.0 by @dependabot in #1331
- Bump ipykernel from 6.19.4 to 6.20.2 by @dependabot in #1329
- Bump pillow from 9.3.0 to 9.4.0 by @dependabot in #1327
- Bump nbsphinx from 0.8.10 to 0.8.11 by @dependabot in #1326
- Bump pytest from 7.2.0 to 7.2.1 by @dependabot in #1325
- Bump requests from 2.28.1 to 2.28.2 by @dependabot in #1324
- Bump matplotlib from 3.6.2 to 3.6.3 by @dependabot in #1323
- Bump scipy from 1.8.1 to 1.10.0 by @dependabot in #1334
- Bump pandas from 1.5.2 to 1.5.3 by @dependabot in #1335
- Bump sphinx-autodoc-typehints from 1.21.4 to 1.21.7 by @dependabot in #1337
- Bump nbsphinx from 0.8.11 to 0.8.12 by @dependabot in #1336
- Bump sphinx-autodoc-typehints from 1.21.7 to 1.21.8 by @dependabot in #1338
- Bump ipykernel from 6.20.2 to 6.21.0 by @dependabot in #1341
- Bump pyarrow from 10.0.1 to 11.0.0 by @dependabot in #1340
- Bump pyright from 1.1.290 to 1.1.291 by @dependabot in #1339
- Bump sphinx-autodoc-typehints from 1.21.8 to 1.22 by @dependabot in #1342
- Bump pyright from 1.1.291 to 1.1.292 by @dependabot in #1343
- Bump nbsphinx from 0.8.10 to 0.8.12 by @dependabot in #1345
- close #1350 by @lisphilar in #1351
- Add Python 3.11 support by @lisphilar in #1297
- Bump numpy from 1.24.1 to 1.24.2 by @dependabot in #1352
- Bump pyright from 1.1.292 to 1.1.293 by @dependabot in #1353
- Bump sphinx-rtd-theme from 1.1.1 to 1.2.0 by @dependabot in #1354
- Bump ipython from 8.9.0 to 8.10.0 by @dependabot in #1355
- [Docs] update the last year in citation, 2020-2022 to 2020-2023 by @deepgohil in #1357
- close #1358 by updating Monkey Pox data URL by @lisphilar in #1359
- Bump matplotlib from 3.6.3 to 3.7.0 by @dependabot in #1361
- update citation section of README by @lisphilar in #1366
- [Docs] update the last year in citation, 2020-2022 to 2020-2023 #1356 by @mehrdadbn9 in #1364
- Bump typing-extensions from 4.4.0 to 4.5.0 by @dependabot in #1362
- Bump pyright from 1.1.293 to 1.1.294 by @dependabot in #1363
- Bump pca from 1.8.6 to 1.9.0 by @dependabot in #1365
- Bump pca from 1.9.0 to 1.9.1 by @dependabot in #1367
- Bump scipy from 1.10.0 to 1.10.1 by @dependabot in #1368
- Removed warning on README for using covsirphy with Google Colab by @Mihan786Chistie in #1369
- Bump pyright from 1.1.294 to 1.1.295 by @dependabot in #1370
- Bump markdown-it-py from 2.1.0 to 2.2.0 by @dependabot in #1371
- Bump pyright from 1.1.295 to 1.1.296 by @dependabot in #1372
- Bump autopep8 from 1.7.0 to 2.0.0 by @dependabot in #1375
- Bump pytest from 7.2.1 to 7.2.2 by @dependabot in #1379
- Bump myst-parser from 0.18.1 to 0.19.1 by @dependabot in #1378
- Bump pytest-cov from 3.0.0 to 4.0.0 by @dependabot in #1377
- Bump country-converter from 0.8.0 to 1.0.0 by @dependabot in #1380
- data: fix Japan vaccinaion aggregation method (1st, 2nd vaccinated) by @lisphilar in #1381
- Bump matplotlib from 3.7.0 to 3.7.1 by @dependabot in #1383
- Bump ipykernel from 6.21.2 to 6.21.3 by @dependabot in #1384
- Bump myst-parser from 0.19.1 to 1.0.0 by @dependabot in #1385
- data: revise vaccine data integration, add _4th and 5th columns by @lisphilar in #1386
- fix errors of pull request #1386 by @lisphilar in #1387
- Bump matplotlib from 3.7.0 to 3.7.1 by @dependabot in #1388
- Bump pyright from 1.1.296 to 1.1.298 by @dependabot in #1389
- Bump ip...
CovsirPhy v.2.28.0
Updates
- [New] use logger #1242
- [New] serialize ODEScenario object #1239
- [Dev] use YAML issue templates #1232
- [Dev] use deptry version 0.5.12 #1249
- [Docs] update URL of installation guide in seculity policy #1251
Acknowledgement
Special thanks for users and developers!
Related issues and pull requests:
https://github.com/lisphilar/covid19-sir/milestone/51?closed=1
What's Changed
- Issue1239 by @lisphilar in #1240
- Issue1242 by @lisphilar in #1243
- dev: close #1249 by @lisphilar in #1250
- use logger.info() instead of print() by @lisphilar in #1253
- Bump tabulate from 0.8.10 to 0.9.0 by @dependabot in #1255
- Catch warnings with logger by @lisphilar in #1256
- Follow-up Issue #1239 by @lisphilar in #1257
Full Changelog: 2.27.1...2.28.0
CovsirPhy v2.27.1
Data engineering
- [Fix] DataDownloader().layer(databases=["google"]) updates mobility data although no longer updated #1223
- [Fix] DataEngineer().subset(country=None) calculates total values without filling NAs #1222
- [Fix] LinePlot().plot(), BarPlot().plot() raise incorrect error when un-expected colormap was specified #1228
- [Fix] DataEngineer().diff() raises ValueError with pandas version 1.5.0 #1225
To handle warnings
- [Fix] warning raised when tests #1227
Documentation
- [Docs] documetation raises ValueError #1238
- [Docs] fix broken URL for installation guide on README.md #1237
- [Docs] update documentation for Monkeypox data downloading to use the lates file #1236
Acknowledgement
Special thanks for users and developers!
Related issues and pull requests:
https://github.com/lisphilar/covid19-sir/milestone/50?closed=1
What's Changed
- Issue1225_1228 by @lisphilar in #1226
- Issue1223 by @lisphilar in #1229
- Issue1222 by @lisphilar in #1230
- update: skip updates if files, #1223 by @lisphilar in #1234
- config: raise error when warning by @lisphilar in #1235
Full Changelog: 2.27.0...2.27.1
CovsirPhy v.2.27.0
Installation
- [New] Drop Python 3.7 support #1146
- [New] install all dependency automatically (especially with Python 3.10) by using pyarrow as the engine of reading CSV files #1159
Data engineering
- [New] dataset regarding population #1180
- [New] apply date range with DataEngineer().clean(kinds=["resample"], date_range=<tuple>) #1217
- [Fix] UnicodeEncodeError when automated downloading #1160
- [Deprecate] JapanData class #1179
Documentation
- [Docs] how to analyze Monkeypox 2022 linelist data with SIR-derived models #1131
- [Docs] add configuration file of Binder to open notebooks #1201
- [Docs] remove input.py #1198
- [Docs] fix terms in glossary list: trend analysis -> change point analysis #1216
- [Docs] improve readability of API reference by updating titles and ignore internal classes #1208
For developers
- [Revise] deptry 0.4.6 is available #1195
- [Revise] use deptry version 0.5.0 #1207
- [Revise] multiprocessing in tests #1203
Acknowledgement
Special thanks for users and developers!
Related issues and pull requests:
https://github.com/lisphilar/covid19-sir/milestone/48?closed=1
What's Changed
- update: #1160, specify encoding by @lisphilar in #1193
- Issue1146 by @lisphilar in #1196
- Issue1159 by @lisphilar in #1200
- build(deps): bump matplotlib from 3.5.3 to 3.6.0 by @dependabot in #1202
- test: use pytest-xdist by @lisphilar in #1204
- test: refactor test workflow because datatable installation is un-necessary with Python 3.10 by @lisphilar in #1206
- Issue#1208 by @lisphilar in #1209
- Issue1179 by @lisphilar in #1210
- Issue1180 by @lisphilar in #1213
- Issue1217 by @lisphilar in #1218
Full Changelog: 2.26.2...2.27.0
CovsirPhy v.2.26.2
Data engineering
- [Revise] change the default directory to save Natural Earth data #1190
Scenario analysis
- [Fix] incorrect title of ODEScenario().compare_cases() #1192
ODE parameter prediction
- [Fix] UnExpectedValueRangeError when phase appending after prediction #1188
For developers
- [Fix] Running the unit tests clutters the project directory #1173
- [Revise] Deptry 0.2.5 uses modified configuration #1174
- [Revise] deptry 0.2.9 is available #1181
- [Revise] confirm poetry envirenment activated before test #1177
- [Revise] GitHub pages deployment with GitHub Actions #1184
- [Revise] tests only with GitHub workflow #1185
Acknowledgement
Special thanks for users and developers!
Related issues and pull requests:
https://github.com/lisphilar/covid19-sir/milestone/47
What's Changed
- build(deps): bump seaborn from 0.11.2 to 0.12.0 by @dependabot in #1172
- build(deps): bump pca from 1.8.2 to 1.8.3 by @dependabot in #1171
- Upgraded deptry to 0.2.5 by @fpgmaas in #1175
- config: use deptry 0.2.6 by @lisphilar in #1176
- test: #1173, move created files with test_japan_data.py to input dir by @lisphilar in #1178
- bumped deptry to 0.2.9 by @fpgmaas in #1182
- config: migrate test workflow by @lisphilar in #1187
- Issue1188 by @lisphilar in #1189
- Issue1190 by @lisphilar in #1191
Full Changelog: 2.26.1...2.26.2
CovsirPhy v.2.26.1
Config
- [Revise] re-organize pyproject.toml using dependency group #1144
- [Revise] pyproject.toml contains obsolete dependencies #1161
- [Revise] citation of CovsirPhy is confusing because we have two #1164
Scenario analysis
- [Fix] UnExpectedValueError after appending a phase with under three days #1166
Acknowledgement
Special thanks for users and developers!
Related issues and pull requests:
https://github.com/lisphilar/covid19-sir/milestone/46?closed=1
CovsirPhy v.2.26.0
Config
- [New] New support of Python 3.10 #1147
Data engineering
- [Fix] Vaccinated_1st, _2nd and _3rd are included in the output of DataDownloader().layer() #1137
Dynamics
ODE parameter prediction
- [New] MLEngineer().pca() perform Principal Component Analysis (PCA) #1136
- [New] Prediction of ODE parameters with indicators #477
Documentation
- [Docs] update image in README with the latest version #1130
- [Docs] not rendered bullet list from markdown and notebook #1132
- [Docs] show favicon in documentation #1150
Acknowledgement
Special thanks for users and developers!
Related issues and pull requests:
https://github.com/lisphilar/covid19-sir/milestone/45?closed=1
CovsirPhy v.2.25.0
Breaking changes
- [New] accept city-level data in analysis #1041
- [New] change of data loading scheme: download datasets of selected location #1045
- [New] DataEngineer class for data cleaning, transforming and complementing #1064
Most of classes were deprecated and new classes were created. Please refer to Documentation for tutorials of the new classes.
Others and documentation
- [Fix] address format of county and province: province/country, not country/province #1059
- [Fix] too much time to retrieve dataset from COVID-19 Data Hub #986
- [Revise] stdout when downloading datasets from CovsirPhy/data project #1051
- [Data] failed in ODE parameter estimation with Japan data: IndexError #1087
- [Question/Docs] how to access S-R trend analysis statistical details #894
Acknowledgement
Special thanks for users and developers!
Related issues and pull requests:
https://github.com/lisphilar/covid19-sir/milestone/44?closed=1