🐛 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.
Initial support formatting f-strings (in --preview).
Support for overriding arbitrary configuration options via the CLI through an expanded --config
argument (e.g., --config "lint.isort.combine-as-imports=false").
Significant performance improvements in Ruff's lexer, parser, and lint rules.
Initial support formatting f-strings (in --preview).
Support for overriding arbitrary configuration options via the CLI through an expanded --config
argument (e.g., --config "lint.isort.combine-as-imports=false").
Significant performance improvements in Ruff's lexer, parser, and lint rules.
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.50
9.5.9
9.5.11
8.0.0
8.0.2
6.98.4
6.98.12
1.1.350
1.1.351
0.2.1
0.2.2
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.50Commits
Updates
mkdocs-material
from 9.5.9 to 9.5.11Release notes
Sourced from mkdocs-material's releases.
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
10a97aa
Updated Insiders changelogbe21a6f
Prepare 9.5.11 releasef26cfaa
Documentation23f1886
Removed manually added instant previews in light of new extension59f4147
Updated Insiders changeloga1f4084
Updated distribution filesb24e494
Updated Finnish translation (#6801)740552a
Documentation (#6803)b3e8f09
Updated Premium sponsorsc8eea6b
Merge branch 'master' of github.com:squidfunk/mkdocs-materialUpdates
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.12Commits
16f5205
Bump hypothesis-python version to 6.98.12 and update changelog7f5b065
Merge pull request #3895 from Zac-HD/more-rewritesaebcdd9
Fix latent len-filter-rewrite bugs2c2348a
Handle .map(np.array) and friendsc9f2a85
Fix a repr edge case52f9245
Rewrite length filters on collection typesa807d15
even lazier LazyStrategy13aa400
MappedSearchStrategy cleanup3eea8c5
Bump hypothesis-python version to 6.98.11 and update changelog202d6af
Merge pull request #3894 from Zac-HD/efficient-statefulUpdates
pyright
from 1.1.350 to 1.1.351Commits
fbe3722
Pyright NPM Package update to 1.1.351 (#251)Updates
ruff
from 0.2.1 to 0.2.2Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
235cfb7
Bump version to v0.2.2 (#10018)91ae81b
MoveRUF001
,RUF002
to AST checker (#9993)d46c5d8
docs: Formatter compatibility warning for D207 and D300 (#10007)20217e9
Fix panic on RUF027 (#9990)72bf1c2
Preview minimal f-string formatting (#9642)c47ff65
chore(docs): update Discord invite to permalink (#10005)c3bba54
Fix SIM113 false positive with async for loops (#9996)fe79798
split string module (#9987)bb8d203
Use atomic write when persisting cache (#9981)f40e012
Use name directly in RUF006 (#9979)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