[Core] Add deprecation warnings about removal of shared libraries. (#3106)

* feat: add deprecation warning when importing shared libs

* enhance(downloader): add shared libs deprecation warns

* enhance: add deprecation warning when (re)loading cogs

* docs(downloader): add deprecation note about shared libs

* chore(changelog): add towncrier entries

* style: split long tuple unpacks in multiple lines

* fix: argument to `humanize_list` has to be a sequence
This commit is contained in:
jack1142
2019-12-20 08:06:53 +01:00
committed by Michael H
parent 9d027747d1
commit b457f8d1c1
10 changed files with 149 additions and 12 deletions

View File

@@ -0,0 +1 @@
Add deprecation note about shared libraries in Downloader Framework docs.

View File

@@ -0,0 +1 @@
Send deprecation warning when using `[p]load` and `[p]reload` commands if the repos loaded cogs are from have shared libraries.

View File

@@ -0,0 +1 @@
Print deprecation loading when some package tries importing from `cog_shared.*`.

View File

@@ -0,0 +1 @@
Shared libraries are marked for removal in Red 3.3.

View File

@@ -0,0 +1 @@
Send deprecation warning when using install and update commands if the repos installed/updated cogs are from have shared libraries.