Adds module_denylist to AstroidManager for modules to be skipped during AST
generation. Modules in this list will cause an AstroidImportError to be raised
when an AST for them is requested.
Make astroid.interpreter._import.util.is_namespace only consider modules
using a loader set to NamespaceLoader or None as namespaces.
This fixes a problem that six.moves brain was not effective if six.moves
was already imported.
Removed some CSS which wasn't carefully limited to the toolbar's elements.
Stopped assuming that INTERNAL_IPS is a list.
Added a section to the installation docs about running tests in projects
where the toolbar is being used.
4.4.1 (2024-05-26)
Pin metadata version to 2.2 to be compatible with Jazzband release
process.
4.4.0 (2024-05-26)
Raised the minimum Django version to 4.2.
Automatically support Docker rather than having the developer write a
workaround for INTERNAL_IPS.
Display a better error message when the toolbar's requests
return invalid json.
Render forms with as_div to silence Django 5.0 deprecation warnings.
Stayed on top of pre-commit hook updates.
Added :doc:architecture documentation <architecture> to help
on-board new contributors.
Removed the static file path validation check in
:class:StaticFilesPanel <debug_toolbar.panels.staticfiles.StaticFilesPanel>
since that check is made redundant by a similar check in Django 4.0 and
later.
Deprecated the OBSERVE_REQUEST_CALLBACK setting and added check
debug_toolbar.W008 to warn when it is present in
DEBUG_TOOLBAR_SETTINGS.
Add a note on the profiling panel about using Python 3.12 and later
about needing --nothreading
Added IS_RUNNING_TESTS setting to allow overriding the
debug_toolbar.E001 check to avoid including the toolbar when running
tests.
Fixed the bug causing 'djdt' is not a registered namespace and updated
docs to help in initial configuration while running tests.
Added a link in the installation docs to a more complete installation
example in the example app.
Added check to prevent the toolbar from being installed when tests
are running.
Added test to example app and command to run the example app's tests.
Implemented dark mode theme and button to toggle the theme,
introduced the DEFAULT_THEME setting which sets the default theme
to use.
The spellchecker plugin is gone (including USE_SPELLCHECKER setting). Use
the browser_spellcheck TinyMCE option (activated by default) to enable
browser-based spellchecking.
The spellchecker plugin is gone (including USE_SPELLCHECKER setting). Use
the browser_spellcheck TinyMCE option (activated by default) to enable
browser-based spellchecking.
GH#417: The test_feed_parser test could fail if lxml_html_clean was not installed.
It is now skipped in that case.
LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to
"core2", without SSE 4.2.
If libxml2 uses iconv, the compile time version is available as etree.ICONV_COMPILED_VERSION.
5.2.1 (2024-04-02)
Bugs fixed
LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to
"core2", but with SSE 4.2 enabled.
LP#2059977: Element.iterfind("//absolute_path") failed with a SyntaxError
where it should have issued a warning.
GH#416: The documentation build was using the non-standard which command.
Patch by Michał Górny.
5.2.0 (2024-03-30)
Other changes
LP#1958539: The lxml.html.clean implementation suffered from several (only if used)
security issues in the past and was now extracted into a separate library:
Projects that use lxml without "lxml.html.clean" will not notice any difference,
except that they won't have potentially vulnerable code installed.
The module is available as an "extra" setuptools dependency "lxml[html_clean]",
so that Projects that need "lxml.html.clean" will need to switch their requirements
from "lxml" to "lxml[html_clean]", or install the new library themselves.
The minimum CPU architecture for the Linux x86 binary wheels was upgraded to
"sandybridge" (launched 2011), and glibc 2.28 / gcc 12 (manylinux_2_28) wheels were added.
We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Support TypeIs (PEP 742)
Mypy now supports TypeIs (PEP 742), which allows
functions to narrow the type of a value, similar to isinstance(). Unlike TypeGuard,
TypeIs can narrow in both the if and else branches of an if statement:
Bumps the python-packages group with 27 updates in the / directory:
3.7.2
3.8.1
3.1.0
3.2.2
4.2.10
4.2.13
2.1.10
2.2.1
4.3.0
4.4.2
4.2.7
5.0.2
4.2.7
5.0.2
3.7.1
4.0.0
3.13.1
3.14.0
21.2.0
22.0.0
5.0.11
5.0.12
3.6
3.7
5.1.0
5.2.2
1.8.0
1.10.0
23.2
24.0
4.2.0
4.2.2
1.4.0
1.5.0
3.1.0
3.2.2
8.0.2
8.2.1
2.9.0
2.9.0.post0
2.31.0
2.32.2
0.4.4
0.5.0
0.12.4
0.12.5
2024.1.0.20240203
2024.1.0.20240417
6.0.12.12
6.0.12.20240311
4.10.0
4.12.0
20.25.1
20.26.2
Updates
asgiref
from 3.7.2 to 3.8.1Changelog
Sourced from asgiref's changelog.
Commits
e38d3c3
Releasing 3.8.18769434
Raise exception if exec_coro is done.852344e
Add tox.ini to MANIFEST.inf710647
Fix a rST problem in the pathsend extension documentation4c28385
Releasing 3.8.04209b6c
Correct WSGI adapter handling of root path.8cf847a
Update error-on-send text in main spec8108512
Move variable initialization in AsyncToSync from init to call (#440)6f02daa
Clarify send error behaviour more clearly0503c2c
Fix task cancellation propagation to subtasks when using sync middleware (#435)Updates
astroid
from 3.1.0 to 3.2.2Changelog
Sourced from astroid's changelog.
Commits
a35821a
Bump astroid to 3.2.2, update changelog (#2445)306164e
Improve inference for generic classes (PEP 695) (#2433) (#2444)0ce116d
Bump astroid to 3.2.1, update changelog (#2439)3650c34
Add prefer_stubs configuration (#2437) (#2438)a7ff092
Fix RecursionError ininfer_call_result()
(#2432) (#2436)7d4d805
Bump astroid to 3.2.0, update changelog4a1a788
[changelog] Remove placeholder patch release header8c48d5c
[pre-commit.ci] pre-commit autoupdate (#2425)a4a9fcc
Bump actions/checkout from 4.1.4 to 4.1.5 (#2423)0984386
Prefer.pyi
stubs (#2375)Updates
django
from 4.2.10 to 4.2.13Commits
3bf46e2
[4.2.x] Bumped version for 4.2.13 release.b46b94e
[4.2.x] Added release notes for 4.2.13.1536833
[4.2.x] Post-release version bump.6193c72
[4.2.x] Bumped version for 4.2.12 release.3f9c8fc
[4.2.x] Added release date for 4.2.12.256f719
[4.2.x] Reverted "Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS clas...0fc8326
[4.2.x] Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS class uncondit...1d85b41
[4.2.x] Refs #35361 -- Clarified release notes for 4.2.12.27c32cc
[4.2.x] Fixed #35361 -- Added release notes for 4.2.12 for backport of b231bc...0d3ddca
[4.2.x] Refs #34900, Refs #35361 -- Fixed SafeMIMEText.set_payload() crash on...Updates
django-admin-sortable2
from 2.1.10 to 2.2.1Release notes
Sourced from django-admin-sortable2's releases.
Changelog
Sourced from django-admin-sortable2's changelog.
Commits
feba6e7
Merge branch 'master' of github.com:jrief/django-admin-sortable22f8a649
Bump to version 2.2.15ea4352
Fix: loading the unminimized JavaScript files failed with DEBUG=Trueab6e48b
Merge pull request #392 from mgrdcm/undrop-python312-changelog91b201e
Update CHANGELOG for 2.2 to reflect actual Python and Django support changesbe76b2f
Update CLASSIFIERS to reflect updated Django and Python support21ece8a
Merge branch 'master' of github.com:jrief/django-admin-sortable2387d5d1
Merge pull request #391 from jrief/django-5-support1b7fabd
exclude Django-5.0 for Python-3.9cb4c77e
fix failing unit test for Django-5.0Updates
django-debug-toolbar
from 4.3.0 to 4.4.2Release notes
Sourced from django-debug-toolbar's releases.
... (truncated)
Changelog
Sourced from django-debug-toolbar's changelog.
Commits
d481182
Version 4.4.2f7e83b1
Add a section to the installation docs about running tests (#1921)782bdd9
INTERNAL_IPS may not be a list4808add
Avoid setting color-scheme on :root, we're only a guest on pages (#1923)e7541ab
Ignore UP031 for now97b49d1
Merge remote-tracking branch 'origin/pre-commit-ci-update-config'25c860e
Version 4.4.1202c831
Limit metadata version for Jazzband's release process15dc305
Version 4.4.0de2feca
Fix theme selenium integration test.Updates
django-stubs
from 4.2.7 to 5.0.2Commits
5118c5d
Bumpdjango-stubs-ext
dependency to latest (#2186)d9b47af
Prepare for a release5.0.1
(#2183)6b31bed
Formset get_queryset() returns QuerySet (#2174)b8f1592
Don't crash when inspecting classes loaded from cache (#2185)95e7d4d
Migrate 'test_conf.yml' to 'assert_type' tests (#2182)1f4efbe
AbstractBaseSession
: Use model fields for subclassed cases (#2180)e196985
Fix signature of Choices member creation, addassert_type
test cases, run `...d03eaf1
AddBaseConstraint.get_violation_error_message()
(#2178)496190e
5.0: Update django.db.models.expressions (#2176)5218b4f
5.0: Update django.db.models.constraints.UniqueConstraint (#2175)Updates
django-stubs-ext
from 4.2.7 to 5.0.2Commits
5118c5d
Bumpdjango-stubs-ext
dependency to latest (#2186)d9b47af
Prepare for a release5.0.1
(#2183)6b31bed
Formset get_queryset() returns QuerySet (#2174)b8f1592
Don't crash when inspecting classes loaded from cache (#2185)95e7d4d
Migrate 'test_conf.yml' to 'assert_type' tests (#2182)1f4efbe
AbstractBaseSession
: Use model fields for subclassed cases (#2180)e196985
Fix signature of Choices member creation, addassert_type
test cases, run `...d03eaf1
AddBaseConstraint.get_violation_error_message()
(#2178)496190e
5.0: Update django.db.models.expressions (#2176)5218b4f
5.0: Update django.db.models.constraints.UniqueConstraint (#2175)Updates
django-tinymce
from 3.7.1 to 4.0.0Release notes
Sourced from django-tinymce's releases.
Changelog
Sourced from django-tinymce's changelog.
Commits
eac5cc3
Upgrade version in pyproject.tomldc270e1
Prepare release 4.0.054d64ba
Fixes #460 - Remove sourceMappingURL lines from tinymce static filesf04e1c8
Migrate from TinyMCE 5 to TinyMCE 6Updates
filelock
from 3.13.1 to 3.14.0Release notes
Sourced from filelock's releases.
Commits
8556141
feat:blocking
parameter on lock constructor with tests and docs (#325)26ccad3
[pre-commit.ci] pre-commit autoupdate (#324)853e7d1
[pre-commit.ci] pre-commit autoupdate (#323)000a3fa
Raise error on incompatible singleton timeout and mode args (#320)312fb4e
[pre-commit.ci] pre-commit autoupdate (#321)f50a337
[pre-commit.ci] pre-commit autoupdate (#319)3f6df70
Make singleton class instance dict unique per subclass (#318)9a64375
[BugFix] fix permission denied error when lock file is placed in/tmp
(#317)e2f121b
Update index.rst to improve the demo usage (#314)a46ea71
[pre-commit.ci] pre-commit autoupdate (#312)Updates
gunicorn
from 21.2.0 to 22.0.0Release notes
Sourced from gunicorn's releases.
Commits
f63d59e
bump to 22.04ac81e0
Merge pull request #3175 from e-kwsm/typo401cecf
Merge pull request #3179 from dhdaines/exclude-eventlet-03600243ec3
fix(deps): exclude eventlet 0.36.0628a0bc
chore: fix typos88fc4a4
Merge pull request #3131 from pajod/patch-py12-rebaseddeae2fc
CI: back off the agressive timeoutf470382
docs: promise 3.12 compat5e30bfa
add changelog to project.urls (updated for PEP621)481c3f9
remove setup.cfg - overridden by pyproject.tomlUpdates
icalendar
from 5.0.11 to 5.0.12Changelog
Sourced from icalendar's changelog.
Commits
72966e7
try to set a body text of the release38fcd16
modify release679ecab
use different release action216452c
use github.token72c0d6d
try other tag release method5551ad9
version 5.0.12f417720
Merge pull request #602 from niccokunzmann/refactor-test-6b51fef6
Merge pull request #599 from niccokunzmann/refactor-test-3fb0baf4
Merge pull request #598 from niccokunzmann/refactor-test-200a2d56
Merge pull request #597 from niccokunzmann/refactor-test-1Updates
idna
from 3.6 to 3.7Release notes
Sourced from idna's releases.
Changelog
Sourced from idna's changelog.
Commits
1d365e1
Release v3.7c1b3154
Merge pull request #172 from kjd/optimize-contextj0394ec7
Merge branch 'master' into optimize-contextjcd58a23
Merge pull request #152 from elliotwutingfeng/dev5beb28b
More efficient resolution of joiner contexts1b12148
Update ossf/scorecard-action to v2.3.1d516b87
Update Github actions/checkout to v4c095c75
Merge branch 'master' into dev60a0a4c
Fix typo in GitHub Actions workflow key5918a0e
Merge branch 'master' into devUpdates
lxml
from 5.1.0 to 5.2.2Release notes
Sourced from lxml's releases.
Changelog
Sourced from lxml's changelog.
... (truncated)
Commits
8e4b14c
Prepare release of lxml 5.2.2.ddaa6ed
Provide compile time version of libiconv as "etree.ICONV_COMPILED_VERSION".1ab00bd
CI: Do not install lxml as dependency of "lxml_html_clean".b325054
CI: Stop building LTO wheels to avoid messing with the library build cache.81624c2
CI: Exclude now-unsupported Python versions 3.6/7 from macOS jobs.069fa36
Fix typo.e0df2ba
Fix typo.df55eaf
Update changelog.f3e77fa
Remove dependency on SSE4 instructions, reverting back to "core2" as a target...a22e83c
Update changelog.Updates
mypy
from 1.8.0 to 1.10.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
3faf0fc
Remove +dev for version for release 1.10a5998d2
Update CHANGELOG.md (#17159)62ea5b0
Various updates to changelog for 1.10 (#17158)2f0864c
Update CHANGELOG.md with draft for release 1.10 (#17150)e1443bb
fix: incorrect returned type of access descriptors on unions of types (#16604)5161ac2
Sync typeshed (#17124)e2fc1f2
Fix crash when expanding invalid Unpack in aCallable
alias (#17028)3ff6e47
Docs: docstrings in checker.py, ast_helpers.py (#16908)732d98e
Fix string formatting for string enums (#16555)8019010
Narrow individual items when matching a tuple to a sequence pattern (#16905)Updates
packaging
from 23.2 to 24.0Release notes
Sourced from packaging's releases.