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.
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.
Built with Cython 3.0.10.
5.1.2 (2024-??-??)
Bugs fixed
LP#2059977: Element.iterfind("//absolute_path") failed with a SyntaxError
where it should have issued a warning.
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`)
[#178](https://github.com/pytest-dev/pluggy/issues/178) <https://github.com/pytest-dev/pluggy/issues/178>_: Add support for deprecating specific hook parameters, or more generally, for issuing a warning whenever a hook implementation requests certain parameters.
See :ref:warn_on_impl for details.
Bug Fixes
[#481](https://github.com/pytest-dev/pluggy/issues/481) <https://github.com/pytest-dev/pluggy/issues/481>_: PluginManager.get_plugins() no longer returns None for blocked plugins.
#12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:
pytest_ignore_collect{.interpreted-text role="hook"} - the path parameter - use collection_path instead.
pytest_collect_file{.interpreted-text role="hook"} - the path parameter - use file_path instead.
pytest_pycollect_makemodule{.interpreted-text role="hook"} - the path parameter - use module_path instead.
pytest_report_header{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
pytest_report_collectionfinish{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
The replacement parameters are available since pytest 7.0.0.
The old parameters will be removed in pytest 9.0.0.
See legacy-path-hooks-deprecated{.interpreted-text role="ref"} for more details.
Features
#11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @tests.txt. The file must have one argument per line.
See Read arguments from file <args-from-file>{.interpreted-text role="ref"} for details.
Improvements
#11523: pytest.importorskip{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised ImportError{.interpreted-text role="class"} instead of ModuleNotFoundError{.interpreted-text role="class"}.
The warning can be suppressed by passing exc_type=ImportError to pytest.importorskip{.interpreted-text role="func"}.
See import-or-skip-import-error{.interpreted-text role="ref"} for details.
#11728: For unittest-based tests, exceptions during class cleanup (as raised by functions registered with TestCase.addClassCleanup <unittest.TestCase.addClassCleanup>{.interpreted-text role="meth"}) are now reported instead of silently failing.
#11777: Text is no longer truncated in the short test summary info section when -vv is given.
#12112: Improved namespace packages detection when consider_namespace_packages{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).
#9502: Added PYTEST_VERSION{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of pytest.__version__, and among other things can be used to easily check if code is running from within a pytest run.
Bug Fixes
#12065: Fixed a regression in pytest 8.0.0 where test classes containing setup_method and tests using @staticmethod or @classmethod would crash with AttributeError: 'NoneType' object has no attribute 'setup_method'.
Now the request.instance <pytest.FixtureRequest.instance>{.interpreted-text role="attr"} attribute of tests using @staticmethod and @classmethod is no longer None, but a fresh instance of the class, like in non-static methods.
Bumps the python-packages group with 21 updates in the / directory:
3.7.2
3.8.1
4.2.10
4.2.11
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.1
1.8.0
1.10.0
23.2
24.0
4.2.0
4.2.1
1.4.0
1.5.0
8.0.2
8.2.0
2.9.0
2.9.0.post0
0.4.4
0.5.0
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.1
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
django
from 4.2.10 to 4.2.11Commits
61a986f
[4.2.x] Bumped version for 4.2.11 release.3c9a277
[4.2.x] Fixed CVE-2024-27351 -- Prevented potential ReDoS in Truncator.words().7973951
[4.2.x] Added release date for 4.2.11 and 3.2.25.86d8034
[4.2.x] Refs #34900, Refs #34118 -- Updated assertion in test_skip_class_unle...cb173bb
[4.2.x] Fixed #35172 -- Fixed intcomma for string floats.227ef29
[4.2.x] Added CVE-2024-24680 to security archive.e2f1907
[4.2.x] Post release version bump.Updates
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.1Changelog
Sourced from lxml's changelog.
... (truncated)
Commits
47f94ff
Update changelog.932a41e
Update macOS build isntructions.888153a
Merge branch 'lxml-5.1'fcf00fb
Update changelog.76fd4f9
Fix SyntaxError in Element.iterfind() that should have been a warning.4faebe3
Fix test.9b8e36d
Fix SyntaxError in Element.iterfind() that should have been a warning.175c66a
Build: Reduce the number of build jobs by disabling some old targets.06ad31c
Prepare release of 5.2.1.24dafd3
Build: Fix Makefile to work on systems withoutwhich(1)
(GH-416)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.1Release notes
Sourced from platformdirs's releases.
Commits
9781f05
[pre-commit.ci] pre-commit autoupdate (#276)b44d57d
Allow working without ctypes (#275)89b6b2b
[pre-commit.ci] pre-commit autoupdate (#274)f211ab4
[pre-commit.ci] pre-commit autoupdate (#273)077e11e
[pre-commit.ci] pre-commit autoupdate (#272)c8870a1
[pre-commit.ci] pre-commit autoupdate (#271)7039c66
Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14 (#270)16f93e2
[pre-commit.ci] pre-commit autoupdate (#266)f9b9d6d
chore: update dead Microsoft's known folders documentation link (#267)1aece7e
chore: various minor fixes (#263)Updates
pluggy
from 1.4.0 to 1.5.0Changelog
Sourced from pluggy's changelog.
Commits
f8aa4a0
Preparing release 1.5.0b4a8c92
Merge pull request #495 from bluetech/warn-on-impl-args6f6ea68
Add support deprecating hook parameters91f88d2
Merge pull request #496 from bluetech/codecov-action89ce829
ci: replace upload-coverage script with codecov github action29f104d
Lift pluggy (#493)c2b36b4
Merge pull request #491 from pytest-dev/pre-commit-ci-update-config2b533c9
[pre-commit.ci] pre-commit autoupdate04d1bcd
[pre-commit.ci] pre-commit autoupdate (#490)f74e94b
[pre-commit.ci] pre-commit autoupdate (#489)Updates
pytest
from 8.0.2 to 8.2.0Release notes
Sourced from pytest's releases.
... (truncated)
Commits
6bd3f31
Tweak changelog for 8.2.09b6219b
Prepare release version 8.2.0835765c
Merge pull request #12130 from bluetech/fixtures-inline7e7503c
unittest: report class cleanup exceptions (#12250)882c4da
fixtures: inlinefail_fixturefunc
2e8fb9f
fixtures: extract a_check_fixturedef
methodacf2971
fixtures: inline_getnextfixturedef
into_get_active_fixturedef
3c77aec
fixtures: move "request" check earlyd217d68
fixtures: inline_compute_fixture_value
530be28
fixtures: use early return in_get_active_fixturedef
Updates
python-dateutil
from 2.9.0 to 2.9.0.post0Release notes
Sourced from python-dateutil's releases.
Looks like these dependencies are updatable in another way, so this is no longer needed.