From 4dc77f77a6af52b91dbd90f0e6e4dd141f4c8f73 Mon Sep 17 00:00:00 2001 From: Michael Haas Date: Mon, 14 Jun 2021 15:52:46 +0200 Subject: [PATCH 1/3] Properly specify compatible version of dependencies Commit 855c090cd9bbeeb345152ab6d535fbd85e444b61 in release 0.8.0 introduced use of the `~=` operator to declare package dependencies. Sadly, this introduced a bug where now the package depended on `requests >= 2.20.0; requests < 2.21.0` due to the way the "compatible release operator" is specified in PEP-440. The notion of "compatible release" in PEP-440 thus does not strictly follow semantic versioning. This commit updates the dependencies to once again allow updates to any minor version. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1567d33..e3d0d20 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def get_long_version(): author="Michael Haas", author_email="michael.haas01@sap.com", url="https://github.com/sap/data-attribute-recommendation-python-sdk", - install_requires=["requests>=2.20.0", "typing-extensions>=3.7.4.1"], + install_requires=["requests~=2.20", "typing-extensions~=3.7", "cfenv~=0.5"], packages=find_packages(exclude=["tests"]), include_package_data=True, python_requires="~=3.5", From 61297f33d18bc88c946c82424d2d803a30ad35c4 Mon Sep 17 00:00:00 2001 From: Michael Haas Date: Mon, 14 Jun 2021 16:01:42 +0200 Subject: [PATCH 2/3] Prepare 0.8.1 release --- CHANGELOG.md | 11 ++++++++++- version.txt | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index defc891..377b8c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.8.1] + +### Fixed + +* Fix specification of dependencies. The SDK package was incorrectly depending + on an older version of the requests package. If you have installed 0.8.0, it is + recommended to update to 0.8.1 and also ensure you have the latest dependencies. + ## [0.8.0] ### Added @@ -166,7 +174,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * First public release -[Unreleased]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.8.0...HEAD +[Unreleased]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.8.1...HEAD +[0.8.1]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.8.0...rel/0.8.1 [0.8.0]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.7.1...rel/0.8.0 [0.7.1]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.7.0...rel/0.7.1 [0.7.0]: https://github.com/SAP/data-attribute-recommendation-python-sdk/compare/rel/0.6.8...rel/0.7.0 diff --git a/version.txt b/version.txt index a3df0a6..6f4eebd 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.8.0 +0.8.1 From f7bbcee384df9ba6d5546243c178877fa2cf7ab5 Mon Sep 17 00:00:00 2001 From: Michael Haas Date: Mon, 14 Jun 2021 16:05:21 +0200 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 377b8c4..ee242ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Fix specification of dependencies. The SDK package was incorrectly depending on an older version of the requests package. If you have installed 0.8.0, it is - recommended to update to 0.8.1 and also ensure you have the latest dependencies. + recommended to update to 0.8.1 and also ensure you have the latest dependencies. [#102] + +[#102]: https://github.com/SAP/data-attribute-recommendation-python-sdk/pull/102 ## [0.8.0]