Skip to content

Commit

Permalink
Version 1.4.5, add deprecation warning on import and in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivknv committed Dec 14, 2023
1 parent 8e2c1b0 commit f132b80
Show file tree
Hide file tree
Showing 15 changed files with 237 additions and 162 deletions.
11 changes: 11 additions & 0 deletions README.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ YaDisk-async

YaDisk-async is a Yandex.Disk REST API client library with async/await support.

.. warning::
This library is no longer maintained, use `yadisk <https://pypi.org/project/yadisk>`__>=2.0.0 instead, it also
supports async API.

.. _Read the Docs (EN): http://yadisk-async.readthedocs.io
.. _Read the Docs (RU): http://yadisk-async.readthedocs.io/ru/latest

Expand Down Expand Up @@ -92,6 +96,13 @@ Changelog
.. _issue #29: https://github.com/ivknv/yadisk/issues/29
.. _PR #31: https://github.com/ivknv/yadisk/pull/31

* **Release 1.4.5 (2023-12-14)**

* Added a deprecation warning on import
* This library is no longer maintained, use
`yadisk <https://pypi.org/project/yadisk>`__>=2.0.0 instead, it also
supports async API.

* **Release 1.4.4 (2023-10-15)**

* :code:`upload()` and :code:`download()` (and related) methods can now
Expand Down
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ YaDisk-async

YaDisk-async - это библиотека-клиент REST API Яндекс.Диска с поддержкой async/await.

.. warning::
Данная библиотека больше не поддерживается, используйте `yadisk <https://pypi.org/project/yadisk>`__>=2.0.0
вместо неё, она также поддерживает асинхронный API.

.. _Read the Docs (EN): http://yadisk-async.readthedocs.io
.. _Read the Docs (RU): http://yadisk-async.readthedocs.io/ru/latest

Expand Down Expand Up @@ -92,6 +96,13 @@ YaDisk-async - это библиотека-клиент REST API Яндекс.Д
.. _issue #29: https://github.com/ivknv/yadisk/issues/29
.. _PR #31: https://github.com/ivknv/yadisk/pull/31

* **Release 1.4.5 (2023-12-14)**

* Добавлено предупреждение об устаревании при импорте
* Данная библиотека больше не поддерживается, используйте `yadisk
<https://pypi.org/project/yadisk>`__>=2.0.0 вместо неё, она также поддерживает
асинхронный API

* **Release 1.4.4 (2023-10-15)**

* Методы :code:`upload()` и :code:`download()` (и связянные с ними) теперь
Expand Down
11 changes: 11 additions & 0 deletions README.ru.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ YaDisk-async

YaDisk-async - это библиотека-клиент REST API Яндекс.Диска с поддержкой async/await.

.. warning::
Данная библиотека больше не поддерживается, используйте `yadisk <https://pypi.org/project/yadisk>`__>=2.0.0
вместо неё, она также поддерживает асинхронный API.

.. _Read the Docs (EN): http://yadisk-async.readthedocs.io
.. _Read the Docs (RU): http://yadisk-async.readthedocs.io/ru/latest

Expand Down Expand Up @@ -92,6 +96,13 @@ YaDisk-async - это библиотека-клиент REST API Яндекс.Д
.. _issue #29: https://github.com/ivknv/yadisk/issues/29
.. _PR #31: https://github.com/ivknv/yadisk/pull/31

* **Release 1.4.5 (2023-12-14)**

* Добавлено предупреждение об устаревании при импорте
* Данная библиотека больше не поддерживается, используйте `yadisk
<https://pypi.org/project/yadisk>`__>=2.0.0 вместо неё, она также поддерживает
асинхронный API

* **Release 1.4.4 (2023-10-15)**

* Методы :code:`upload()` и :code:`download()` (и связянные с ними) теперь
Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ Changelog
.. _issue #29: https://github.com/ivknv/yadisk/issues/29
.. _PR #31: https://github.com/ivknv/yadisk/pull/31

* **Release 1.4.5 (2023-12-14)**

* Added a deprecation warning on import
* This library is no longer maintained, use
`yadisk <https://pypi.org/project/yadisk>`__>=2.0.0 instead, it also
supports async API

* **Release 1.4.4 (2023-10-15)**

* `upload()` and `download()` (and related) methods can now
Expand Down
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sys
sys.path.insert(0, os.path.abspath('..'))

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = '1.4.4'
version = '1.4.5'
# The full version, including alpha/beta/rc tags.
release = '1.4.4'
release = '1.4.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 6 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
Welcome to YaDisk's documentation!
==================================

.. _yadisk: https://pypi.org/project/yadisk

.. warning::
This library is no longer maintained, use `yadisk`_>=2.0.0 instead, it also
supports async API.

.. toctree::
:maxdepth: 2
:caption: Contents:
Expand Down
4 changes: 4 additions & 0 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Introduction
YaDisk-async is a modified version of `YaDisk`_ with :code:`async/await` support.
It uses `aiohttp` instead of `requests`.

.. warning::
This library is no longer maintained, use `yadisk <https://pypi.org/project/yadisk>`__>=2.0.0 instead, it also
supports async API.

The usage is more or less the same, except that you have to manually close
all the sessions (can be done with :any:`YaDisk.close` or through :code:`async with` statement).

Expand Down
Binary file modified docs/locales/ru/LC_MESSAGES/changelog.mo
Binary file not shown.
Loading

0 comments on commit f132b80

Please sign in to comment.