Bump the all-dependencies group across 1 directory with 38 updates
Type: Pull Request
State: Open
Association: None
Comments: 1
(2 months ago)
(about 1 month ago)
dependencies python
Bumps the all-dependencies group with 36 updates in the / directory:
| Package | From | To |
|---|---|---|
| alembic | 1.14.1 |
1.16.5 |
| fastapi | 0.115.10 |
0.116.1 |
| pydantic | 2.10.6 |
2.11.7 |
| pydantic-settings | 2.8.1 |
2.10.1 |
| sqlalchemy | 2.0.38 |
2.0.43 |
| coverage | 7.6.12 |
7.10.6 |
| freezegun | 1.5.1 |
1.5.5 |
| greenlet | 3.1.1 |
3.2.4 |
| mypy | 1.15.0 |
1.17.1 |
| pre-commit | 4.1.0 |
4.3.0 |
| pytest | 8.3.4 |
8.4.1 |
| pytest-asyncio | 0.25.3 |
1.1.0 |
| pytest-cov | 6.0.0 |
6.2.1 |
| pytest-xdist | 3.6.1 |
3.8.0 |
| ruff | 0.9.9 |
0.12.11 |
| uvicorn | 0.34.0 |
0.35.0 |
| anyio | 4.8.0 |
4.10.0 |
| certifi | 2025.1.31 |
2025.8.3 |
| click | 8.1.8 |
8.2.1 |
| distlib | 0.3.9 |
0.4.0 |
| email-validator | 2.2.0 |
2.3.0 |
| filelock | 3.17.0 |
3.19.1 |
| h11 | 0.14.0 |
0.16.0 |
| identify | 2.6.8 |
2.6.13 |
| iniconfig | 2.0.0 |
2.1.0 |
| mako | 1.3.9 |
1.3.10 |
| mypy-extensions | 1.0.0 |
1.1.0 |
| packaging | 24.2 |
25.0 |
| platformdirs | 4.3.6 |
4.4.0 |
| pluggy | 1.5.0 |
1.6.0 |
| python-dotenv | 1.0.1 |
1.1.1 |
| starlette | 0.46.0 |
0.47.3 |
| typing-extensions | 4.12.2 |
4.15.0 |
| virtualenv | 20.29.2 |
20.34.0 |
| watchfiles | 1.0.4 |
1.1.0 |
| websockets | 15.0 |
15.0.1 |
Updates alembic from 1.14.1 to 1.16.5
Release notes
Sourced from alembic's releases.
1.16.5
Released: August 27, 2025
bug
[bug] [mysql] Fixed Python-side autogenerate rendering of index expressions in MySQL dialect by aligning it with SQLAlchemy's MySQL index expression rules. Pull request courtesy david-fed.
References: #1492
[bug] [config] Fixed issue where new pyproject.toml config would fail to parse the integer value used for the
truncate_slug_lengthparameter. Pull request courtesy Luís Henrique Allebrandt Schunemann.References: #1709
1.16.4
Released: July 10, 2025
bug
[bug] [config] Fixed issue in new
pyproject.tomlsupport where boolean values, such as those used for therecursive_version_locationsandsourcelessconfiguration parameters, would not be accepted.References: #1694
1.16.3
Released: July 8, 2025
usecase
[usecase] [commands] Added new
pyproject_asynctemplate, combining the newpyprojecttemplate with theasynctemplate. Pull request courtesy Alc-Alc.References: #1683
[usecase] [autogenerate] Add "module" post-write hook. This hook type is almost identical to the console_scripts hook, except it's running
python -m blackinstead of using black'sconsole_script. It is mainly useful for tools without console scripts (e.g. ruff), but has semantics closer to the console_scripts hook in that it finds the ruff module available to the running interpreter instead of finding an executable by path. Pull request
... (truncated)
Commits
- See full diff in compare view
Updates fastapi from 0.115.10 to 0.116.1
Release notes
Sourced from fastapi's releases.
0.116.1
Upgrades
- ⬆️ Upgrade Starlette supported version range to
>=0.40.0,<0.48.0. PR #13884 by@tiangolo.Docs
- 📝 Add notification about impending changes in Translations to
docs/en/docs/contributing.md. PR #13886 by@YuriiMotov.Internal
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #13871 by
@pre-commit-ci[bot].0.116.0
Features
- ✨ Add support for deploying to FastAPI Cloud with
fastapi deploy. PR #13870 by@tiangolo.Installing
fastapi[standard]now includesfastapi-cloud-cli.This will allow you to deploy to FastAPI Cloud with the
fastapi deploycommand.If you want to install
fastapiwith the standard dependencies but withoutfastapi-cloud-cli, you can install insteadfastapi[standard-no-fastapi-cloud-cli].Translations
- 🌐 Add Russian translation for
docs/ru/docs/advanced/response-directly.md. PR #13801 by@NavesSapnis.- 🌐 Add Russian translation for
docs/ru/docs/advanced/additional-status-codes.md. PR #13799 by@NavesSapnis.- 🌐 Add Ukrainian translation for
docs/uk/docs/tutorial/body-updates.md. PR #13804 by@valentinDruzhinin.Internal
- ⬆ Bump pillow from 11.1.0 to 11.3.0. PR #13852 by
@dependabot[bot].- 👥 Update FastAPI People - Sponsors. PR #13846 by
@tiangolo.- 👥 Update FastAPI GitHub topic repositories. PR #13848 by
@tiangolo.- ⬆ Bump mkdocs-material from 9.6.1 to 9.6.15. PR #13849 by
@dependabot[bot].- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #13843 by
@pre-commit-ci[bot].- 👥 Update FastAPI People - Contributors and Translators. PR #13845 by
@tiangolo.0.115.14
Fixes
- 🐛 Fix support for unions when using
Form. PR #13827 by@patrick91.Docs
- ✏️ Fix grammar mistake in
docs/en/docs/advanced/response-directly.md. PR #13800 by@NavesSapnis.- 📝 Update Speakeasy URL to Speakeasy Sandbox. PR #13697 by
@ndimares.Translations
... (truncated)
Commits
3137234🔖 Release version 0.116.1095dab0📝 Update release notescad6880⬆️ Upgrade Starlette supported version range to>=0.40.0,<0.48.0(#13884)a6e79e6📝 Update release notes2c13b1b📝 Add notification about impending changes in Translations to `docs/en/docs/c...7179d48📝 Update release notes07bcb18⬆ [pre-commit.ci] pre-commit autoupdate (#13871)bd8f358🔖 Release version 0.116.018eb7a7📝 Update release notesdd906a9📝 Update release notes- Additional commits viewable in compare view
Updates pydantic from 2.10.6 to 2.11.7
Release notes
Sourced from pydantic's releases.
v2.11.7 2025-06-14
What's Changed
Fixes
- Copy
FieldInfoinstance if necessary duringFieldInfobuild by@Viicosin pydantic/pydantic#11980Full Changelog: https://github.com/pydantic/pydantic/compare/v2.11.6...v2.11.7
v2.11.6 2025-06-13
v2.11.6 (2025-06-13)
What's Changed
Fixes
- Rebuild dataclass fields before schema generation by
@Viicosin #11949- Always store the original field assignment on
FieldInfoby@Viicosin #11946Full Changelog: https://github.com/pydantic/pydantic/compare/v2.11.5...v2.11.6
v2.11.5 2025-05-22
What's Changed
Fixes
- Check if
FieldInfois complete after applying type variable map by@Viicosin #11855- Do not delete mock validator/serializer in
model_rebuild()by@Viicosin #11890- Do not duplicate metadata on model rebuild by
@Viicosin #11902Full Changelog: https://github.com/pydantic/pydantic/compare/v2.11.4...v2.11.5
v2.11.4 2025-04-29
What's Changed
Packaging
Changes
- Allow config and bases to be specified together in
create_model()by@Viicosin #11714. This change was backported as it was previously possible (although not meant to be supported) to providemodel_configas a field, which would make it possible to provide both configuration and bases.Fixes
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.11.7 (2025-06-14)
What's Changed
Fixes
v2.11.6 (2025-06-13)
What's Changed
Fixes
- Rebuild dataclass fields before schema generation by
@Viicosin #11949- Always store the original field assignment on
FieldInfoby@Viicosin #11946v2.11.5 (2025-05-22)
What's Changed
Fixes
- Check if
FieldInfois complete after applying type variable map by@Viicosin #11855- Do not delete mock validator/serializer in
model_rebuild()by@Viicosin #11890- Do not duplicate metadata on model rebuild by
@Viicosin #11902v2.11.4 (2025-04-29)
What's Changed
Packaging
Changes
... (truncated)
Commits
5f033e4Prepare release v2.11.7c3368b8CopyFieldInfoinstance if necessary duringFieldInfobuild (#11980)3987b23Prepare release v2.11.6dc7a9d2Always store the original field assignment onFieldInfoc284c27Rebuild dataclass fields before schema generation5e6d1dcPrepare release v2.11.51b63218Do not duplicate metadata on model rebuild (#11902)5aefad8Do not delete mock validator/serializer inmodel_rebuild()8fbe658Check ifFieldInfois complete after applying type variable map12b371aUpdate documentation about@dataclass_transformsupport- Additional commits viewable in compare view
Updates pydantic-settings from 2.8.1 to 2.10.1
Release notes
Sourced from pydantic-settings's releases.
v2.10.1
What's Changed
- Fix UnboundLocalError error in _replace_field_names_case_insensitively by
@hramezaniin pydantic/pydantic-settings#639- Remove unknown file reference in documentation by
@Viicosin pydantic/pydantic-settings#640- Prepare release 2.10.1 by
@hramezaniin pydantic/pydantic-settings#642Full Changelog: https://github.com/pydantic/pydantic-settings/compare/2.10.0...2.10.1
v2.10.0
What's Changed
- Fix running tests when azure-keyvault-secrets is not installed by
@CyberTailorin pydantic/pydantic-settings#601- Fix running tests when google-cloud-secret-manager is not installed by
@CyberTailorin pydantic/pydantic-settings#602- Support loading a specific nested key from YAML in YamlConfigSettingsSource by
@Seunghan-Jungin pydantic/pydantic-settings#603- Fix CLI suppression for model group help by
@kschwabin pydantic/pydantic-settings#604- Fix missing DEFAULT_PATH import by
@hramezaniin pydantic/pydantic-settings#606- Fix case-insensitive handling of nested aliases in EnvironmentSettingsSource by
@d15kyin pydantic/pydantic-settings#608- Azure Key Vault case insensitive support and dash-underscore translation by
@d15kyin pydantic/pydantic-settings#607- fix: Respect 'cli_parse_args' from model_config with settings_customise_sources by
@karta9821in pydantic/pydantic-settings#611- Bump astral-sh/setup-uv by
@hramezaniin pydantic/pydantic-settings#612- Update packages by
@hramezaniin pydantic/pydantic-settings#613- Update README.md by
@hramezaniin pydantic/pydantic-settings#616- Fix CI badge by
@hramezaniin pydantic/pydantic-settings#617- Update dependencies by
@hramezaniin pydantic/pydantic-settings#618- Fix coverage report by
@hramezaniin pydantic/pydantic-settings#619- Fix _consume_object_or_array on unbalanced brackets in JSON strings by
@andryakin pydantic/pydantic-settings#621- add region as a parameter to aws secret manager by
@barakor-vsin pydantic/pydantic-settings#622- Expose GCP Secret Manager case sensitive option by
@bellmatthewfin pydantic/pydantic-settings#626- Update deps by
@hramezaniin pydantic/pydantic-settings#633- feat: Add
cli_shortcutsto CLI settings by@karta9821in pydantic/pydantic-settings#624- Expose AWS Secrets Manager case sensitive option by
@femiadebayoin pydantic/pydantic-settings#629- Prepare release 2.10.0 by
@hramezaniin pydantic/pydantic-settings#635New Contributors
@Seunghan-Jungmade their first contribution in pydantic/pydantic-settings#603@d15kymade their first contribution in pydantic/pydantic-settings#608@karta9821made their first contribution in pydantic/pydantic-settings#611@andryakmade their first contribution in pydantic/pydantic-settings#621@barakor-vsmade their first contribution in pydantic/pydantic-settings#622@bellmatthewfmade their first contribution in pydantic/pydantic-settings#626@femiadebayomade their first contribution in pydantic/pydantic-settings#629Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.9.1...2.10.0
v2.9.1
What's Changed
- fix: Expose ConfigFileSourceMixing on top level sources/init.py by
@jbw-vtlin pydantic/pydantic-settings#597- Fix typo in gcp secret manager error message by
@christian-heuselin pydantic/pydantic-settings#598- Prepare release 2.9.1 by
@hramezaniin pydantic/pydantic-settings#600
... (truncated)
Commits
6bae3abPrepare release 2.10.1 (#642)36b8bfeRemove unknown file reference in documentation (#640)697aaa6Fix UnboundLocalError error in _replace_field_names_case_insensitively (#639)910b1b1Prepare release 2.10.0 (#635)1ee6624Expose AWS Secrets Manager case sensitive option (#629)180e74efeat: Addcli_shortcutsto CLI settings (#624)e162908Update deps (#633)159ef14Expose GCP Secret Manager case sensitive option (#626)e9f7994add region as a parameter to aws secret manager (#622)ca4ff9fFix _consume_object_or_array on unbalanced brackets in JSON strings (#621)- Additional commits viewable in compare view
Updates sqlalchemy from 2.0.38 to 2.0.43
Release notes
Sourced from sqlalchemy's releases.
2.0.43
Released: August 11, 2025
orm
[orm] [bug] Fixed issue where using the
post_updatefeature would apply incorrect "pre-fetched" values to the ORM objects after a multi-row UPDATE process completed. These "pre-fetched" values would come from any column that had anColumn.onupdatecallable or a version id generator used byorm.Mapper.version_id_generator; for a version id generator that delivered random identifiers like timestamps or UUIDs, this incorrect data would lead to a DELETE statement against those same rows to fail in the next step.References: #12748
[orm] [bug] Fixed issue where
_orm.mapped_column.use_existing_columnparameter in_orm.mapped_column()would not work when the_orm.mapped_column()is used inside of anAnnotatedtype alias in polymorphic inheritance scenarios. The parameter is now properly recognized and processed during declarative mapping configuration.References: #12787
[orm] [bug] Improved the implementation of the
_orm.selectin_polymorphic()inheritance loader strategy to properly render the IN expressions using chunks of 500 records each, in the same manner as that of the_orm.selectinload()relationship loader strategy. Previously, the IN expression would be arbitrarily large, leading to failures on databases that have limits on the size of IN expressions including Oracle Database.References: #12790
engine
[engine] [usecase] Added new parameter
create_engine.skip_autocommit_rollbackwhich provides for a per-dialect feature of preventing the DBAPI.rollback()from being called under any circumstances, if the connection is detected as being in "autocommit" mode. This improves upon a critical performance issue identified in MySQL dialects where the network overhead of the.rollback()call remains prohibitive even if autocommit mode is set.References: #12784
postgresql
... (truncated)
Commits
- See full diff in compare view
Updates coverage from 7.6.12 to 7.10.6
Changelog
Sourced from coverage's changelog.
Version 7.10.6 — 2025-08-29
Fix:
sourcedirectories were not properly communicated to subprocesses that ran in different directories, as reported inissue 1499_. This is now fixed.Performance:
Alex Gaynor continues fine-tuning <pull 2038_>_ the speed of combination, especially with many contexts... _issue 1499: nedbat/coveragepy#1499 .. _pull 2038: nedbat/coveragepy#2038
.. _changes_7-10-5:
Version 7.10.5 — 2025-08-23
- Big speed improvements for
coverage combine: it's now about twice as fast! Huge thanks to Alex Gaynor for pull requests2032 <pull 2032_>,2033 <pull 2033_>, and2034 <pull 2034_>_... _pull 2032: nedbat/coveragepy#2032 .. _pull 2033: nedbat/coveragepy#2033 .. _pull 2034: nedbat/coveragepy#2034
.. _changes_7-10-4:
Version 7.10.4 — 2025-08-16
Added
patch = forkfor times when the built-in forking support is insufficient.Fix:
patch = execvalso inherits the entire coverage configuration now... _changes_7-10-3:
Version 7.10.3 — 2025-08-10
Fixes for
patch = subprocess:
If subprocesses spawned yet more subprocesses simultaneously, some coverage could be missed. This is now fixed, closing
issue 2024_.If subprocesses were created in other directories, their data files were
... (truncated)
Commits
88c55ffdocs: sample HTML for 7.10.601d8995docs: prep for 7.10.69b0c24fdocs: thanks Alex #203866d6910fix: makesourcepaths absolute where they exist. #1499bb3382fbuild: no need for the combine/html times now9ea349alab: warn_executed.py808c9b4build: changing metacov.ini should trigger metacov384f5f2build: oops, some 'if's are really line pragmasa7224afperf: pre-compute the mapping between other_db.context and main.context (#2038)5c00c5bchore: bump the action-dependencies group with 3 updates (#2039)- Additional commits viewable in compare view
Updates freezegun from 1.5.1 to 1.5.5
Changelog
Sourced from freezegun's changelog.
1.5.5
- Allow parametrized arguments called 'func' (Broken in 1.5.4)
1.5.4
- Fix: Ability to yield fixtures (broken in 1.5.3)
1.5.3
- Fix compatibility with pytest 8.4.0 when using fixtures
- Add (back) class-decorator overload to guarantee Pytype understands it
1.5.2
- Remove support for Python 3.7
- Explicitly marks support for Python 3.13
- Improved project documentation
Commits
c9bf52cIncrease version number0f2bd7eMerge pull request #582 from spulec/fixture-called-funca608055Allow parametrized arguments with name 'func'2bb4711Increase version number7599eeeAdd 1.5.4 release notes0d00e7dMerge pull request #579 from zsh8/decorate_generator10c93f2fix: preserve functionality in pytest yield fixturesd2e0a00Increase version number6229e27Add 1.5.3 release notes3111775Merge pull request #576 from spulec/support-fixtures-pytest-840- Additional commits viewable in compare view
Updates greenlet from 3.1.1 to 3.2.4
Changelog
Sourced from greenlet's changelog.
3.2.4 (2025-08-07)
.. note::
The 3.2.x series will be the last to support Python 3.9.
- Various small build/test changes for less common configurations (e.g., building CPython with assertions enabled but NOT debugging), contributed by Michał Górny. Note that while greenlet will BUILD in a free-threaded Python, it will cause the GIL to be allocated and used, and memory may leak. Also note that these configurations are not tested by this project's CI.
- Fix an assertion error on debug builds of Python 3.14 when using the experimental JIT. See :issue:
460 <https://github.com/python-greenlet/greenlet/issues/460>_.3.2.3 (2025-06-05)
- Make greenlet build and run on Python 3.14 beta 2 on Windows amd64.
- Potentially fix build on NetBSD/sparc64. See
PR 447 <https://github.com/python-greenlet/greenlet/pull/447>_.3.2.2 (2025-05-09)
- Make greenlet build and run on Python 3.14 beta 1. It will not run on earlier versions of 3.14; it should run on subsequent versions. See
PR 445 <https://github.com/python-greenlet/greenlet/pull/445>_.3.2.1 (2025-04-22)
- Fix a crash regression for Riscv64. See
issue 443 <https://github.com/python-greenlet/greenlet/issues/443>_.3.2.0 (2025-04-15)
- Remove support for Python 3.7 and 3.8.
- Add untested, community supported implementation for RiscV 32. See
PR 438 <https://github.com/python-greenlet/greenlet/pull/439>_.- Make greenlet build and run on Python 3.14a7. It will not build on earlier 3.14 alpha releases, and may not build on later 3.14 releases.
... (truncated)
Commits
65f8da8Preparing release 3.2.4b2c6559Update CHANGES for release.b2aa1aaMerge pull request #462 from python-greenlet/issue460a1990d8Python3.14/JIT: Save and restore the PyThreadState current_executor object.68af251Py3.14 w/JIT: Fix leakchecks.74a65bdVarious free-threaded fixes; bump tested Python version.e3e2953Merge pull request #459 from mgorny/py314-debug-build-failurebdb5f44Merge pull request #456 from mgorny/setuptools-test-depb288f43Merge pull request #457 from mgorny/fix-assert-test-skips739cc55Fix py312+ crash test skips to correctly check for assertions- Additional commits viewable in compare view
Updates mypy from 1.15.0 to 1.17.1
Changelog
Sourced from mypy's changelog.
Mypy 1.17.1
- Retain
Noneas constraints bottom if no bottoms were provided (Stanislav Terliakov, PR 19485)- Fix "ignored exception in
hasattr" in dmypy (Stanislav Terliakov, PR 19428)- Prevent a crash when InitVar is redefined with a method in a subclass (Stanislav Terliakov, PR 19453)
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
- Alexey Makridenko
- Brian Schubert
- Chad Dombrova
- Chainfire
- Charlie Denton
- Charulata
- Christoph Tyralla
- CoolCat467
- Donal Burns
- Guy Wilson
- Ivan Levkivskyi
- johnthagen
- Jukka Lehtosalo
- Łukasz Kwieciński
- Marc Mueller
- Michael J. Sullivan
- Mikhail Golubev
- Sebastian Rittau
- Shantanu
- Stanislav Terliakov
- wyattscarpenter
I’d also like to thank my employer, Dropbox, for supporting mypy development.
Mypy 1.16
We’ve just uploaded mypy 1.16 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features and bug fixes. You can install it as follows:
python3 -m pip install -U mypyYou can read the full documentation for this release on Read the Docs.
Different Property Getter and Setter Types
Mypy now supports using different types for a property getter and setter:
class A: _value: int </tr></table>
... (truncated)
Commits
acb2983Bump version to 1.17.1933c913RetainNoneas constraints bottom if no bottoms were provided (#19485)5f4428fFix "ignored exception inhasattr" in dmypy (#19428)88fdeaaPrevent a crash when InitVar is redefined with a method in a subclass (#19453)e44d14fBump version to 1.17.1+dev0260991Update version string3901aa2Updates to 1.17 changelog (#19436)7d13396Initial changelog for 1.17 release (#19427)a182decCombine the revealed types of multiple iteration steps in a more robust manne...ab4fd57Improve the handling of "iteration dependent" errors and notes in finally cla...- Additional commits viewable in compare view
Updates pre-commit from 4.1.0 to 4.3.0
Release notes
Sourced from pre-commit's releases.
pre-commit v4.3.0
Features
language: docker/language: docker_image: detect rootless docker.
- #3446 PR by
@matthewhughes934.- #1243 issue by
@dkolepp.language: julia: avoidstartup.jlwhen executing hooks.
- #3496 PR by
@ericphanson.language: dart: support latest dart versions which require a higher sdk lower bound.pre-commit v4.2.0
Features
- For
language: pythonfirst attempt a versioned python executable for the default language version before consulting a potentially unversionedsys.executable.
- #3430 PR by
@asottile.Fixes
- Handle error during conflict detection when a file is named "HEAD"
- #3425 PR by
@tusharsadhwani.
Changelog
Sourced from pre-commit's changelog.
4.3.0 - 2025-08-09
Features
language: docker/language: docker_image: detect rootless docker.
- #3446 PR by
@matthewhughes934.- #1243 issue by
@dkolepp.language: julia: avoidstartup.jlwhen executing hooks.
- #3496 PR by
@ericphanson.language: dart: support latest dart versions which require a higher sdk lower bound.4.2.0 - 2025-03-18
Features
- For
language: pythonfirst attempt a versioned python executable for the default language version before consulting a potentially unversionedsys.executable.
- #3430 PR by
@asottile.Fixes
- Handle error during conflict detection when a file is named "HEAD"
- #3425 PR by
@tusharsadhwani.
Commits
b74a22dv4.3.0cc899deMerge pull request #3507 from bc-lee/dart-fix2a0bceaDowngrade Dart SDK version installed in the CIf1cc7a4Make Dart pre-commit hook compatible with the latest Dart SDKs72a3b71Merge pull request #3504 from pre-commit/pre-commit-ci-update-configc8925a4[pre-commit.ci] pre-commit autoupdatea5fe6c5Merge pull request #3496 from ericphanson/eph/jl-startup6f1f433Julia language: skip startup.jl filec681721Merge pull request #3499 from pre-commit/pre-commit-ci-update-config4fd4537[pre-commit.ci] pre-commit autoupdate- Additional commits viewable in compare view
Updates pytest from 8.3.4 to 8.4.1
Release notes
Sourced from pytest's releases.
8.4.1
pytest 8.4.1 (2025-06-17)
Bug fixes
#13461: Corrected
_pytest.terminal.TerminalReporter.isattyto support being called as a method. Before it was just a boolean which could break correct code when using-o log_cli=true).#13477: Reintroduced
pytest.PytestReturnNotNoneWarning{.interpreted-text role="class"} which was removed by accident in pytest [8.4]{.title-ref}.This warning is raised when a test functions returns a value other than
None, which is often a mistake made by beginners.See
return-not-none{.interpreted-text role="ref"} for more information.#13497: Fixed compatibility with
Twisted 25+.Improved documentation
- #13492: Fixed outdated warning about
faulthandlernot working on Windows.8.4.0
pytest 8.4.0 (2025-06-02)
Removals and backward incompatible breaking changes
#11372: Async tests will now fail, instead of warning+skipping, if you don't have any suitable plugin installed.
#12346: Tests will now fail, instead of raising a warning, if they return any value other than None.
#12874: We dropped support for Python 3.8 following its end of life (2024-10-07).
#12960: Test functions containing a yield now cause an explicit error. They have not been run since pytest 4.0, and were previously marked as an expected failure and deprecation warning.
See
the docs <yield tests deprecated>{.interpreted-text role="ref"} for more information.Deprecations (removal in next major release)
- #10839: Requesting an asynchronous fixture without a [pytest_fixture_setup]{.title-ref} hook that resolves it will now give a DeprecationWarning. This most commonly happens if a sync test requests an async fixture. This should have no effect on a majority of users with async tests or fixtures using async pytest plugins, but may affect non-standard hook setups or
autouse=True. For guidance on how to work around this warning seesync-test-async-fixture{.interpreted-text role="ref"}.New features
#11538: Added
pytest.RaisesGroup{.interpreted-text role="class"} as an equivalent topytest.raises{.interpreted-text role="func"} for expectingExceptionGroup{.interpreted-text role="exc"}. Also addspytest.RaisesExc{.interpreted-text role="class"} which is now the logic behindpytest.raises{.interpreted-text role="func"} and used as parameter topytest.RaisesGroup{.interpreted-text role="class"}.RaisesGroupincludes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulatingexcept* <except_star>{.interpreted-text role="ref"}. Seeassert-matching-exception-groups{.interpreted-text role="ref"} and docstrings for more information.#12081: Added
capteesys{.interpreted-text role="fixture"} to capture AND pass output to next handler set by--capture=.#12504:
pytest.mark.xfail{.interpreted-text role="func"} now acceptspytest.RaisesGroup{.interpreted-text role="class"} for theraisesparameter when you expect an exception group. You can also pass apytest.RaisesExc{.interpreted-text role="class"} if you e.g. want to make use of thecheckparameter.#12713: New [--force-short-summary]{.title-ref} option to force condensed summary output regardless of verbosity level.
... (truncated)
Commits
8d99211Prepare release version 8.4.15dc5880docs: update pytest.ini addopts example to use separate -p entries (#13529) (...d0c7ed0Reintroduce PytestReturnNotNoneWarning (#13495) (#13527)a1b3a78Fix compatibility with Twisted 25 (#13502) (#13531)4c161abpytester: avoid unraisableexception gc collects in inline runs to speed up te...a86ee09Fix typo in parametrize.rst (#13514) (#13516)1a0581bRemove outdated warning about faulthandler_timeout on Windows (#13492) (#13493)4e631a7Merge pull request #13486 from hosmir/fixtypo (#13487)-
Pull Request Statistics
Commits:
0Files Changed:
0Additions:
+0Deletions:
-0
Package Dependencies
Technical Details
| ID: | 9035878 |
| UUID: | 3375373913 |
| Node ID: | PR_kwDOOVKlEc6ma-q2 |
| Host: | GitHub |
| Repository: | Photons3/fast-api-postgres |