From 60016b78d38d6eb30f57f32a9366c7ee381df90f Mon Sep 17 00:00:00 2001 From: Rostyslav Zatserkovnyi Date: Tue, 14 May 2024 16:30:35 +0300 Subject: [PATCH 1/4] Update Python client CHANGELOG --- src/client/packaging/pypi/CHANGELOG.md | 32 ++++++++++++++++++++++++++ src/client/packaging/pypi/setup.py | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/client/packaging/pypi/CHANGELOG.md b/src/client/packaging/pypi/CHANGELOG.md index ee95128f7..758ea699f 100644 --- a/src/client/packaging/pypi/CHANGELOG.md +++ b/src/client/packaging/pypi/CHANGELOG.md @@ -3,6 +3,38 @@ All notable future changes to the `delphi_epidata` python client will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## [4.1.21] - TBD + +### Includes +- https://github.com/cmu-delphi/delphi-epidata/pull/1418 +- https://github.com/cmu-delphi/delphi-epidata/pull/1436 + +### Added +- Adds two debug flags: `debug` logs info about HTTP requests and responses; whereas `sandbox` prevents any HTTP requests from actually executing, allowing for tests that do not incur server load. + +### Changed +- Updates internal version detection to use `bumpversion`. + +## [4.1.17] - 2024-01-30 + +### Includes +- https://github.com/cmu-delphi/delphi-epidata/pull/1363 + +### Removed +- Removes uses of setuptools' deprecated pkg_resources library - these are replaced by the native importlib.metadata library. + +## [4.1.13] - 2023-11-04 + +### Includes +- https://github.com/cmu-delphi/delphi-epidata/pull/1323 +- https://github.com/cmu-delphi/delphi-epidata/pull/1330 + +### Changed +- Appends a trailing slash to URLs requested by the Python client, which should prevent an automatic redirect and an extra request to the server. + +### Removed +- Mutes the covidcast_nowcast endpoint & removes unnecessary code that is related to this endpoint. + ## [4.1.11] - 2023-10-12 ### Includes diff --git a/src/client/packaging/pypi/setup.py b/src/client/packaging/pypi/setup.py index 7c0ee051e..e67a03289 100644 --- a/src/client/packaging/pypi/setup.py +++ b/src/client/packaging/pypi/setup.py @@ -13,7 +13,7 @@ long_description_content_type="text/markdown", url="https://github.com/cmu-delphi/delphi-epidata", project_urls={ - "Changelog": "https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/packaging/pypi/CHANGELOG.md", + "Changelog": "https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/packaging/pypi/CHANGELOG.md", }, packages=setuptools.find_packages(), install_requires=["aiohttp", "requests>=2.7.0", "tenacity"], From 4c31e84ac04422d237bb3e259d2f225a74db72d0 Mon Sep 17 00:00:00 2001 From: Rostyslav Zatserkovnyi Date: Tue, 14 May 2024 21:37:54 +0300 Subject: [PATCH 2/4] Reword & remove unreleased features --- src/client/packaging/pypi/CHANGELOG.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/client/packaging/pypi/CHANGELOG.md b/src/client/packaging/pypi/CHANGELOG.md index 758ea699f..cb0ab6a0e 100644 --- a/src/client/packaging/pypi/CHANGELOG.md +++ b/src/client/packaging/pypi/CHANGELOG.md @@ -3,25 +3,13 @@ All notable future changes to the `delphi_epidata` python client will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). -## [4.1.21] - TBD - -### Includes -- https://github.com/cmu-delphi/delphi-epidata/pull/1418 -- https://github.com/cmu-delphi/delphi-epidata/pull/1436 - -### Added -- Adds two debug flags: `debug` logs info about HTTP requests and responses; whereas `sandbox` prevents any HTTP requests from actually executing, allowing for tests that do not incur server load. - -### Changed -- Updates internal version detection to use `bumpversion`. - ## [4.1.17] - 2024-01-30 ### Includes - https://github.com/cmu-delphi/delphi-epidata/pull/1363 -### Removed -- Removes uses of setuptools' deprecated pkg_resources library - these are replaced by the native importlib.metadata library. +### Changed +- Replaced use of deprecated setuptools' `pkg_resources` library with the native `importlib.metadata` library. ## [4.1.13] - 2023-11-04 @@ -33,7 +21,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). - Appends a trailing slash to URLs requested by the Python client, which should prevent an automatic redirect and an extra request to the server. ### Removed -- Mutes the covidcast_nowcast endpoint & removes unnecessary code that is related to this endpoint. +- Removed the `covidcast_nowcast()` method, as the associated API endpoint is no longer available. ## [4.1.11] - 2023-10-12 From 00799e375a868377451197712aa7bc3233f8c9c3 Mon Sep 17 00:00:00 2001 From: Rostyslav Zatserkovnyi Date: Tue, 14 May 2024 22:36:10 +0300 Subject: [PATCH 3/4] Add debug/sandbox mention again --- src/client/packaging/pypi/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/packaging/pypi/CHANGELOG.md b/src/client/packaging/pypi/CHANGELOG.md index cb0ab6a0e..f5654cc89 100644 --- a/src/client/packaging/pypi/CHANGELOG.md +++ b/src/client/packaging/pypi/CHANGELOG.md @@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). ### Includes - https://github.com/cmu-delphi/delphi-epidata/pull/1363 +### Added +- Adds two debug flags: + - `debug` logs info about HTTP requests and responses + - `sandbox` prevents any HTTP requests from actually executing, allowing for tests that do not incur server load. + ### Changed - Replaced use of deprecated setuptools' `pkg_resources` library with the native `importlib.metadata` library. From 7a43ff8c140e232e7b254897f734dfe7e950f958 Mon Sep 17 00:00:00 2001 From: Rostyslav Zatserkovnyi Date: Wed, 15 May 2024 18:12:20 +0300 Subject: [PATCH 4/4] Re-add pending section --- src/client/packaging/pypi/CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/client/packaging/pypi/CHANGELOG.md b/src/client/packaging/pypi/CHANGELOG.md index f5654cc89..56af46125 100644 --- a/src/client/packaging/pypi/CHANGELOG.md +++ b/src/client/packaging/pypi/CHANGELOG.md @@ -3,16 +3,21 @@ All notable future changes to the `delphi_epidata` python client will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). -## [4.1.17] - 2024-01-30 +## [4.1.21] - TBD ### Includes -- https://github.com/cmu-delphi/delphi-epidata/pull/1363 +- https://github.com/cmu-delphi/delphi-epidata/pull/1418 ### Added - Adds two debug flags: - `debug` logs info about HTTP requests and responses - `sandbox` prevents any HTTP requests from actually executing, allowing for tests that do not incur server load. +## [4.1.17] - 2024-01-30 + +### Includes +- https://github.com/cmu-delphi/delphi-epidata/pull/1363 + ### Changed - Replaced use of deprecated setuptools' `pkg_resources` library with the native `importlib.metadata` library.