django-configurations/configurations
Michal Szczesny 27f67a58a4 Replace imp with importlib
This project uses the imp module which has been deprecated since Python 3.4 and set for removal in 3.12:
• Raised PendingDeprecationWarning since 3.4 (2014)
• Raised DeprecationWarning since 3.5 (2015)
• Updated DeprecationWarning to say removal in 3.12 since 3.10 (2021)
• Removal planned for 3.12 (2023)

This change removes the dependency on imp in favour of importlib.

Co-authored-by: @jbkkd
Inspired by: @mgorny

https://github.com/jazzband/django-configurations/issues/358
2023-09-27 14:08:16 +03:00
..
__init__.py Switch to setuptools-scm. 2019-12-03 13:09:15 +01:00
__main__.py Added "python -m configurations" entry point. 2021-10-27 07:29:02 +06:00
asgi.py Suppress import ordering style error 2021-10-25 09:34:42 -04:00
base.py Fix "STATICFILES_STORAGE/STORAGES are mutually exclusive" on Django>=4.2 (#349) 2023-02-13 09:18:38 +01:00
decorators.py Renamed Settings class to Configuration to better match what it means. Settings is still importable and is marked to be deprecated in 1.0. 2013-07-27 12:05:39 +02:00
fastcgi.py Add a fastcgi helper. Fixes #19. 2013-03-27 16:57:05 +01:00
importer.py Replace imp with importlib 2023-09-27 14:08:16 +03:00
management.py Added configurations.management.call_command. Fix #72. 2015-01-06 21:38:08 +01:00
sphinx.py Move sphinx callback to a separate sphinx submodule 2016-06-13 12:26:52 +02:00
utils.py Deprecate utils.import_by_path in favor of django.utils.module_loading.import_string 2021-01-19 13:11:16 +06:00
values.py docs: Fix a few typos 2022-09-01 20:41:53 +10:00
version.py Add importlib.metadata backport for older Python versions 2021-10-25 14:33:55 -04:00
wsgi.py Simplify import of django.core.wsgi.get_wsgi_application 2021-10-25 09:52:21 -04:00