Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 7a7cc54

Browse files
authored
Final. (#755)
* Final update. * Update __init__.py * black Change-Id: Ie40eb0797e317566cc5a5665a6b38f36c748effc
1 parent 658b54b commit 7a7cc54

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Thank you for building with Gemini and [let us know](https://discuss.ai.google.d
1414

1515
* **Limited Maintenance:** Development is now restricted to **critical bug fixes only**. No new features will be added.
1616
* **Purpose:** This limited support aims to provide stability for users while they transition to the new SDK.
17-
* **End-of-Life Date:** All support for this repository (including bug fixes) will permanently end on **November 30, 2025**.
17+
* **End-of-Life Date:** All support for this repository ended permanently on **November 30, 2025**.
1818

1919
We encourage all users to begin planning their migration to the [Google Generative AI SDK](https://github.com/googleapis/python-genai) to ensure continued access to the latest capabilities and support.
2020

google/generativeai/__init__.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
See the [python quickstart](https://ai.google.dev/tutorials/python_quickstart) for more details.
4040
"""
4141
from __future__ import annotations
42+
import warnings
43+
import textwrap
4244

4345
from google.generativeai import version
4446

@@ -77,6 +79,23 @@
7779

7880
__version__ = version.__version__
7981

82+
83+
warnings.warn(
84+
textwrap.dedent(
85+
"""
86+
87+
All support for the `google.generativeai` package has ended. It will no longer be receiving
88+
updates or bug fixes. Please switch to the `google.genai` package as soon as possible.
89+
See README for more details:
90+
91+
https://github.com/google-gemini/deprecated-generative-ai-python/blob/main/README.md
92+
"""
93+
),
94+
FutureWarning,
95+
stacklevel=2,
96+
)
97+
98+
8099
del embedding
81100
del files
82101
del generative_models

google/generativeai/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515
from __future__ import annotations
1616

17-
__version__ = "0.8.5"
17+
__version__ = "0.8.6"

0 commit comments

Comments
 (0)