From 553f24350db2e73f233fecc6ac6db39df08f31b7 Mon Sep 17 00:00:00 2001 From: "Ariel Shaqed (Scolnicov)" Date: Sun, 10 Nov 2024 11:47:29 +0200 Subject: [PATCH 1/2] Link Python clients doc to deprecation notice --- docs/integrations/python.md | 7 +++++++ docs/posts/deprecate-py-legacy.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/integrations/python.md b/docs/integrations/python.md index 7f8bf0083d1..4c01a16ca84 100644 --- a/docs/integrations/python.md +++ b/docs/integrations/python.md @@ -12,6 +12,10 @@ redirect_from: {% include toc_2-3.html %} +{: .warning } +> If you are still using the [legacy Python `lakefs-client`][legacy-pypi], it's +> time to upgrade! This client is [deprecated][legacy-deprecated] and will be removed +> soon. **High Level Python SDK** New We've just released a new High Level Python SDK library, and we're super excited to tell you about it! Continue reading to get the @@ -604,3 +608,6 @@ s3.head_object(Bucket='example-repo', Key='main/example-file.parquet') # 'ETag': '"2398bc5880e535c61f7624ad6f138d62"', # 'Metadata': {}} ``` + +[legacy-deprecated]: https://docs.lakefs.io/posts/deprecate-py-legacy.html +[legacy-pypi]: https://pypi.org/project/lakefs-client/ diff --git a/docs/posts/deprecate-py-legacy.md b/docs/posts/deprecate-py-legacy.md index 7390ab21acd..4dbef3547e5 100644 --- a/docs/posts/deprecate-py-legacy.md +++ b/docs/posts/deprecate-py-legacy.md @@ -4,7 +4,7 @@ date: 2024-10-28 search_exclude: true --- -# :warning: Deprecating `lakefs-client`, the legacy Python :snake: Client SDKs +# ⚠️ Deprecating `lakefs-client`, the legacy Python 🐍 Client SDKs `lakefs-client` is now deprecated, and we will shortly publish its last release to PyPI. From ea9d3281e06c39351ab3e5490e249479b656dfd6 Mon Sep 17 00:00:00 2001 From: "Ariel Shaqed (Scolnicov)" Date: Mon, 11 Nov 2024 09:31:27 +0200 Subject: [PATCH 2/2] Use relative link to deprecation post --- docs/integrations/python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/integrations/python.md b/docs/integrations/python.md index 4c01a16ca84..19b69714862 100644 --- a/docs/integrations/python.md +++ b/docs/integrations/python.md @@ -23,7 +23,7 @@ full story! Though our previous SDK client is still supported and maintained, we highly recommend using the new High Level SDK. **For previous Python SDKs follow these links:** [lakefs-sdk](https://pydocs-sdk.lakefs.io) -[legacy-sdk](https://pydocs.lakefs.io) (Depracated) +[legacy-sdk](https://pydocs.lakefs.io) (Deprecated) {: .note } There are three primary ways to work with lakeFS from Python: @@ -609,5 +609,5 @@ s3.head_object(Bucket='example-repo', Key='main/example-file.parquet') # 'Metadata': {}} ``` -[legacy-deprecated]: https://docs.lakefs.io/posts/deprecate-py-legacy.html +[legacy-deprecated]: /posts/deprecate-py-legacy.html [legacy-pypi]: https://pypi.org/project/lakefs-client/