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.
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:
* Do specifier matching correctly when the specifier contains an epoch number
and has more components than the version (:issue:`683`)
* Support the experimental ``--disable-gil`` builds in packaging.tags
(:issue:`727`)
* BREAKING: Make optional ``metadata.Metadata`` attributes default to ``None`` (:issue:`733`)
* Fix errors when trying to access the ``description_content_type``, ``keywords``,
and ``requires_python`` attributes on ``metadata.Metadata`` when those values
have not been provided (:issue:`733`)
* Fix a bug preventing the use of the built in ``ExceptionGroup`` on versions of
Python that support it (:issue:`725`)
Bumps the python-packages group with 26 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.2.7
5.0.0
4.2.7
5.0.0
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.11.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-stubs
from 4.2.7 to 5.0.0Commits
68b199e
Version 5.0.0 release (django-stubs, django-stubs-ext) (#2087)64a3aac
Remove incorrectReversible
base class fromQuerySet
(#2094)e5f2159
[pre-commit.ci] pre-commit autoupdate (#2092)35fdd20
Bump pytest from 8.1.1 to 8.2.0 (#2091)6f7a19c
Bump black from 24.4.1 to 24.4.2 (#2086)5ef36c5
Add path signature for async views. (#2085)3fe74d8
Bump black from 24.4.0 to 24.4.1 (#2084)0756d06
Bump mypy from 1.9.0 to 1.10.0 (#2083)1546e5c
[pre-commit.ci] pre-commit autoupdate (#2082)11a7f54
5.0: Updatedjango.contrib.postgres
(#2078)Updates
django-stubs-ext
from 4.2.7 to 5.0.0Commits
68b199e
Version 5.0.0 release (django-stubs, django-stubs-ext) (#2087)64a3aac
Remove incorrectReversible
base class fromQuerySet
(#2094)e5f2159
[pre-commit.ci] pre-commit autoupdate (#2092)35fdd20
Bump pytest from 8.1.1 to 8.2.0 (#2091)6f7a19c
Bump black from 24.4.1 to 24.4.2 (#2086)5ef36c5
Add path signature for async views. (#2085)3fe74d8
Bump black from 24.4.0 to 24.4.1 (#2084)0756d06
Bump mypy from 1.9.0 to 1.10.0 (#2083)1546e5c
[pre-commit.ci] pre-commit autoupdate (#2082)11a7f54
5.0: Updatedjango.contrib.postgres
(#2078)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.
Changelog
Sourced from packaging's changelog.
Commits
7a983f7
Bump for release4d85340
Add riscv64 as a supported manylinux architecture (#751)4dce761
Apply some ruff suggestions (#772)57a6a7f
Appply some bugbear suggestions (#761)7bcd6d8
Apply some refurb suggestions (#763)d0067e9
[StepSecurity] ci: Harden GitHub Actions (#1) (#758)eae70dd
feat: Create dependabot.yml (#757)241bb35
Update URLs (#764)7698237
Remove coverage ignore for non-existent file (#752)b271d2b
Replace PEP references with PUG links (#750)Updates
platformdirs
from 4.2.0 to 4.2.2Release notes
Sourced from platformdirs's releases.
Commits
5ec69d8
Fix android detection when python4android is present (#277)dbf360f
[pre-commit.ci] pre-commit autoupdate (#280)b318012
[pre-commit.ci] pre-commit autoupdate (#279)120a441
[pre-commit.ci] pre-commit autoupdate (#278)9781f05
[pre-commit.ci] pre-commit autoupdate (#276)Superseded by #289.