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.
This release is not a usual bug fix release -- it contains features and improvements, being a follow up
to 8.1.0, which has been yanked from PyPI.
:::
Features
#11475: Added the new consider_namespace_packages{.interpreted-text role="confval"} configuration option, defaulting to False.
If set to True, pytest will attempt to identify modules that are part of namespace packages when importing modules.
#11653: Added the new verbosity_test_cases{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity.
See Fine-grained verbosity <pytest.fine_grained_verbosity>{.interpreted-text role="ref"} for more details.
Improvements
#10865: pytest.warns{.interpreted-text role="func"} now validates that warnings.warn{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}.
Currently in Python it is possible to use other types, however this causes an exception when warnings.filterwarnings{.interpreted-text role="func"} is used to filter those warnings (see [CPython #103577](python/cpython#103577) for a discussion).
While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.
#11311: When using --override-ini for paths in invocations without a configuration file defined, the current working directory is used
as the relative directory.
Previoulsy this would raise an AssertionError{.interpreted-text role="class"}.
#11475: --import-mode=importlib <import-mode-importlib>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :pysys.path{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.
This means that installed packages will be imported under their canonical name if possible first, for example app.core.models, instead of having the module name always be derived from their path (for example .env310.lib.site_packages.app.core.models).
#11801: Added the iter_parents() <_pytest.nodes.Node.iter_parents>{.interpreted-text role="func"} helper method on nodes.
It is similar to listchain <_pytest.nodes.Node.listchain>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.
#11850: Added support for sys.last_exc{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.
#11962: In case no other suitable candidates for configuration file are found, a pyproject.toml (even without a [tool.pytest.ini_options] table) will be considered as the configuration file and define the rootdir.
#11978: Add --log-file-mode option to the logging plugin, enabling appending to log-files. This option accepts either "w" or "a" and defaults to "w".
Previously, the mode was hard-coded to be "w" which truncates the file before logging.
Bumps the python-packages group with 19 updates in the / directory:
3.7.2
3.8.1
4.2.10
4.2.11
3.7.1
4.0.0
3.13.1
3.13.4
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.9.0
23.2
24.0
4.2.0
4.2.1
1.4.0
1.5.0
8.0.2
8.1.1
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.0
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-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.13.4Release notes
Sourced from filelock's releases.
Commits
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)766e12d
[pre-commit.ci] pre-commit autoupdate (#311)f641eb6
Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 (#310)9048580
Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 (#308)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.9.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
5ff46f8
Remove +dev.155909a
[Release 1.9] Unsupport targetting 3.7. (#16883) (#16900)6615cab
[Release 1.9] Stubtest: ignore a new protocol dunder (#16895) (#16899)b956e6a
stubtest: Private parameters can be omitted (#16507)ede0b20
Bump ruff to 0.2.0 (#16870)7bdd61f
stubgen: Fix crash on star unpack of TypeVarTuple (#16869)8c2ef9d
Update hashes in sync-typeshed.py following recent typeshed sync0dd4b6f
Revert use ofParamSpec
forfunctools.wraps
dd12a2d
Revert typeshed ctypes changed132999
Revert sum literal integer change (#13961)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.1.1Release notes
Sourced from pytest's releases.
... (truncated)
Commits
81653ee
Adjust changelog manually for 8.1.1e60b4b9
Prepare release version 8.1.115fbe57
[8.1.x] Revert legacy path removals (#12093)86c3aab
[8.1.x] Do not import duplicated modules with --importmode=importlib (#12077)5b82b0c
[8.1.x] Yank version 8.1.0 (#12076)0a53681
Merge pull request #12054 from pytest-dev/release-8.1.0b9a167f
Prepare release version 8.1.000043f7
Merge pull request #12038 from bluetech/fixtures-rm-arg2indexf4e1025
Merge pull request #12048 from bluetech/fixture-teardown-excgroup43492f5
Merge pull request #12051 from jakkdl/test_debugging_pythonbreakpointUpdates
python-dateutil
from 2.9.0 to 2.9.0.post0Release notes
Sourced from python-dateutil's releases.
Changelog
Sourced from python-dateutil's changelog.
Commits
1ae8077
Merge pull request #1346 from pganssle/release_2.9.0.post0ee6de9d
Update news to prepare for release9780d32
Pinsetuptools_scm
to <8Updates
sqlparse
from 0.4.4 to 0.5.0Changelog
Sourced from sqlparse's changelog.
Commits
ddbd0ec
Bump version.29f2e0a
Raise recursion limit for tests.b4a39d9
Raise SQLParseError instead of RecursionError.f1bcf2f
Update AUHTORS and Changelog.e03b74e
Fix Function.get_parameters(), add Funtion.get_window()617b8f6
Add OVER clause, and group it into Function (fixes #701)d8f8147
Update AUHTORS and Changelog.012c9f1
Optimize sqlparse.utils.imt().46971e5
Fix parsing of PRIMARY KEY (fixes #740).fc4b0be
Code cleanup.Updates
types-pytz
from 2024.1.0.20240203 to 2024.1.0.20240417Commits
Updates
types-pyyaml
from 6.0.12.12 to 6.0.12.20240311Commits
Updates
typing-extensions
from 4.10.0 to 4.11.0Release notes
Sourced from typing-extensions's releases.