Django 4 support
See original GitHub issueThere is an error collecting tests
[ 78s] _________ ERROR collecting tests/management/commands/test_show_urls.py _________
[ 78s] ImportError while importing test module '/home/abuild/rpmbuild/BUILD/django-extensions-3.1.5/tests/management/commands/test_show_urls.py'.
[ 78s] Hint: make sure your test modules/packages have valid Python names.
[ 78s] Traceback:
[ 78s] /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule
[ 78s] mod = import_path(self.fspath, mode=importmode)
[ 78s] /usr/lib/python3.9/site-packages/_pytest/pathlib.py:524: in import_path
[ 78s] importlib.import_module(module_name)
[ 78s] /usr/lib64/python3.9/importlib/__init__.py:127: in import_module
[ 78s] return _bootstrap._gcd_import(name[level:], package, level)
[ 78s] <frozen importlib._bootstrap>:1030: in _gcd_import
[ 78s] ???
[ 78s] <frozen importlib._bootstrap>:1007: in _find_and_load
[ 78s] ???
[ 78s] <frozen importlib._bootstrap>:986: in _find_and_load_unlocked
[ 78s] ???
[ 78s] <frozen importlib._bootstrap>:680: in _load_unlocked
[ 78s] ???
[ 78s] /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
[ 78s] exec(co, module.__dict__)
[ 78s] tests/management/commands/test_show_urls.py:4: in <module>
[ 78s] from django.conf.urls import url
[ 78s] E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Django 4.0 release notes
Django 4.0 supports Python 3.8, 3.9, and 3.10. We highly recommend and only officially support the latest release of each series. The Django...
Read more >What's new in Django v4.0 - LogRocket Blog
Django v4.0 will only support Oracle ≥v19. The Django team has officially removed support for Oracle versions 18c and earlier. According to the ......
Read more >Django 4.0 - What's New Features and Improvements
Django 4.0 supports Python 3.8, 3.9, and 3.10. The Django 3.2.x series is the last to support Python 3.6 and 3.7.
Read more >Django - endoflife.date
Check End of Life, Support Schedule, and release timelines for AlmaLinux OS, Alpine Linux, Amazon Linux, Android OS, Angular, Ansible-core, Ansible, antiX, ...
Read more >Django 4 support · Issue #1781 · django/channels - GitHub
Hello channels team. Do you have any plans to support Django 4? Thanks.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After that, lots of failures due to
https://github.com/django-extensions/django-extensions/pull/1698 likely addresses this.