🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. PR #11191 by @tiangolo.
This is a breaking change (and only slightly) if you used dependencies with yield, used except in those dependencies, and didn't raise again.
This was reported internally by @rushilsrivastava as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released.
Support for multiple job executions. A job can now properly manage multiple executions running simultaneously, allowing future support for long running scheduled jobs.
Breaking Changes:
Dropped support for Redis server < 4
RoundRobinWorker and RandomWorker are deprecated. Use --dequeue-strategy <round-robin/random> instead.
Job.__init__ requires both id and connection to be passed in.
Job.exists() requires connection argument to be passed in.
Queue.all() requires connection argument.
@job decorator now requires connection argument.
RQ 1.16 (2024-02-24)
Added a way for jobs to wait for latest result job.latest_result(timeout=60). Thanks @ajnisbet!
Fixed an issue where stopped_callback is not respected when job is enqueued via enqueue_many(). Thanks @eswolinsky3241!
worker-pool no longer ignores --quiet. Thanks @Mindiell!
Added compatibility with AWS Serverless Redis. Thanks @peter-gy!
worker-pool now starts with scheduler. Thanks @chromium7!
#11895: Fix collection on Windows where initial paths contain the short version of a path (for example c:\PROGRA~1\tests).
#11953: Fix an IndexError crash raising from getstatementrange_ast.
#12021: Reverted a fix to [--maxfail]{.title-ref} handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached.
8.0.1
pytest 8.0.1 (2024-02-16)
Bug Fixes
#11875: Correctly handle errors from getpass.getuser{.interpreted-text role="func"} in Python 3.13.
#11879: Fix an edge case where ExceptionInfo._stringify_exception could crash pytest.raises{.interpreted-text role="func"}.
#11906: Fix regression with pytest.warns{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their [__init__]{.title-ref}.
#11907: Fix a regression in pytest 8.0.0 whereby calling pytest.skip{.interpreted-text role="func"} and similar control-flow exceptions within a pytest.warns(){.interpreted-text role="func"} block would get suppressed instead of propagating.
#11929: Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.
#11937: Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the pip group with 10 updates:
0.109.1
0.110.0
1.15.1
1.16.0
1.16.1
1.17.0
1.34.39
1.34.54
9.5.9
9.5.12
8.0.0
8.0.2
6.98.4
6.98.17
1.1.350
1.1.352
0.2.1
0.3.0
1.34.0
1.35.1
Updates
fastapi
from 0.109.1 to 0.110.0Release notes
Sourced from fastapi's releases.
... (truncated)
Commits
e40747f
🔖 Release version 0.110.032b56a8
📝 Update release notesb6b0f2a
📝 Update release notesbf771bd
🐛 Fix unhandled growing memory for internal server errors, refactor dependenc...6336604
📝 Update release notescb93874
📝 Update release notes9210e6a
🌐 Add German translation fordocs/de/docs/reference/background.md
(#10820)dec45c5
🌐 Add German translation fordocs/de/docs/reference/templating.md
(#10842)5da35ff
📝 Update release notes626b066
🌐 Add German translation fordocs/de/docs/external-links.md
(#10852)Updates
rq
from 1.15.1 to 1.16.0Release notes
Sourced from rq's releases.
Changelog
Sourced from rq's changelog.
Commits
34f83d6
Remove Python 3.6 from test matrixe985094
Workflow syntax 2b8d2750
Workflow syntax6ca0a29
Run on push to all branchese50b8f3
Always run github actions on push97b2d83
Minor test case change to trigger Github Actions6ce1cc6
Bump version to 1.16.00935f47
Store project metadata in pyproject.toml (PEP 621) (#1952)efd4bd8
Delete maintenance lock after registries cleaned (#2024)1e6953b
Fix bug with stopped callback in enqueue_many (#1954)Updates
google-cloud-compute
from 1.16.1 to 1.17.0Release notes
Sourced from google-cloud-compute's releases.
Commits
24f0851
chore: release main (#12314)f347084
chore: fix docs build in google-cloud-network-connectivity (#12356)d652877
feat: [google-cloud-container] add API to enable Provisioning Request API on ...0f7d3f3
feat: [google-cloud-securitycenter] Add Backup DR field to finding's list of ...b76625a
feat: [google-cloud-speech] add API for writing BatchRecognize transcripts in...8ff0f9e
docs: [google-cloud-bigquery-datatransfer] update unenrollDataSources API doc...8b20516
feat: [google-cloud-service-control] include api_key_uid in service control c...a7231e0
feat: [google-maps-addressvalidation] add session token support for Autocompl...9379366
docs: [google-cloud-batch] add caution messages for container runnable userna...86743c8
feat: [google-maps-places] add AutoComplete API (#12329)Updates
boto3-stubs
from 1.34.39 to 1.34.54Commits
Updates
mkdocs-material
from 9.5.9 to 9.5.12Release notes
Sourced from mkdocs-material's releases.
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
5108432
Updated changelogd366a45
Fixed instant navigation removing color theme tags6219f3d
Merge branch 'master' of github.com:squidfunk/mkdocs-materialc7bde2d
Formattingde46c41
Fixed document observable not emitting current document7b83b57
Updated contributing guide (#6843)6c2e029
Updated Premium sponsorsb5a5fde
Updated dependenciesc3a1e79
Merge branch 'master' of github.com:squidfunk/mkdocs-materialca7e952
Fixed privacy plugin not handling URL-encoded pathnamesUpdates
pytest
from 8.0.0 to 8.0.2Release notes
Sourced from pytest's releases.
Commits
31afeeb
Prepare release version 8.0.21b00a2f
Merge pull request #12025 from pytest-dev/backport-12022-to-8.0.xff2f66d
[8.0.x] Revert "Fix teardown error reporting when--maxfail=1
(#11721)"8a8eed6
[8.0.x] Fix collection of short paths on Windows (#12024)74346f0
[8.0.x] Allow Sphinx 7.x (#12005)b7657b4
[8.0.x] Disallow Sphinx 6 and 7 (#12001)feb7c5e
Merge pull request #11999 from pytest-dev/backport-11996-to-8.0.x0909655
[8.0.x] code: fixIndexError
crash ingetstatementrange_ast
68524d4
Merge pull request #11993 from pytest-dev/release-8.0.1d7d320a
Prepare release version 8.0.1Updates
hypothesis
from 6.98.4 to 6.98.17Commits
059357d
Bump hypothesis-python version to 6.98.17 and update changelogb9f3d75
Merge pull request #3889 from JonathanPlasse/fix-extra-numpy-arrays-type-sign...30c2b96
Bump hypothesis-python version to 6.98.16 and update changelogfe92cff
Merge pull request #3903 from tybug/ir-shrinker-preparationa899b41
Merge branch 'ir-shrinker-preparation' of github.com:tybug/hypothesis into ir...b0d022f
deflake test162d013
Set pyright python pathca92be7
nocover 3.12 only branch2a99f19
add from None to raise3a732d1
add typesUpdates
pyright
from 1.1.350 to 1.1.352Commits
1b36e5d
Pyright NPM Package update to 1.1.35247b23ec
Drop support for node.js v12fbe3722
Pyright NPM Package update to 1.1.351 (#251)Updates
ruff
from 0.2.1 to 0.3.0Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
b53118e
Bump version to v0.3.0 (#10151)52f4c1e
Remove deprecated CLI option--format
(#10170)eceffe7
Deprecateruff \<path>
ruff --explain
,ruff --clean
and `ruff --generate...c73c497
[pydocstyle
] Trim whitespace when removing blank lines after section (`D413...c9c98c4
Fix mkdocs local link (#10167)72ccb34
Fix ecosystem check for indico (#10164)dcc92f5
Update black tests (#10166)a6f32dd
Ruff 2024.2 style (#9639)0293908
Implement RUF028 to detect useless formatter suppression comments (#9899)36bc725
[flake8-bugbear
] Avoid adding default initializers to stubs (B006
) (#10152)Updates
yamllint
from 1.34.0 to 1.35.1Changelog
Sourced from yamllint's changelog.
Commits
81e9f98
yamllint version 1.35.19235c68
cli: Restore ignoration of files passed as command-line arguments3a13803
yamllint version 1.35.02344380
cli: Cleanly skip broken symlinks that are ignoredf66855b
build: Restore official Read the Docs themeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show