fix(deps): update all dependencies #106
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.15.4
->3.16.0
2.9.5
->2.9.6
7.2.1
->7.2.2
0.0.223
->0.0.260
Release Notes
coleifer/peewee
v3.16.0
Compare Source
This release contains backwards-incompatible changes in the way Peewee
initializes connections to the underlying database driver. Previously, peewee
implemented autocommit semantics on-top of the existing DB-API transactional
workflow. Going forward, Peewee instead places the DB-API driver into
autocommit mode directly.
Why this change?
Previously, Peewee emulated autocommit behavior for top-level queries issued
outside of a transaction. This necessitated a number of checks which had to be
performed each time a query was executed, so as to ensure that we didn't end up
with uncommitted writes or, conversely, idle read transactions. By running the
underlying driver in autocommit mode, we can eliminate all these checks, since
we are already managing transactions ourselves.
Behaviorally, there should be no change -- Peewee will still treat top-level
queries outside of transactions as being autocommitted, while queries inside of
atomic()
/with db:
blocks are implicitly committed at the end of theblock, or rolled-back if an exception occurs.
How might this affect me?
Database.connection()
orDatabase.cursor()
, your queries will now beexecuted in autocommit mode.
commit=
argument is deprecated for thecursor()
,execute()
andexecute_sql()
methods.Database
implementation (whether for a database thatis not officially supported, or for the purpose of overriding default
behaviors), you will want to ensure that your connections are opened in
autocommit mode.
Other changes:
get_columns()
implementation now returns columns in their declaredorder.
View commits
pytest-dev/pytest
v7.2.2
Compare Source
pytest 7.2.2 (2023-03-03)
Bug Fixes
pytest.approx
{.interpreted-text role="func"} handling of dictionaries containing one or more values of [0.0]{.title-ref}.teardown
would be called as part ofnose
teardown stage.--fixtures
and--help
are passed at the same time.pytest.raises
{.interpreted-text role="func"} to return a 'ContextManager' so that type-checkers could narrowpytest.raises(...) if ... else nullcontext()
down to 'ContextManager' rather than 'object'.Improved Documentation
about not collecting tests and not executing the rest of the module.
charliermarsh/ruff
v0.0.260
Compare Source
What's Changed
Rules
flake8-bugbear
] Add more immutable functions forB008
by @rouge8 in https://github.com/charliermarsh/ruff/pull/3764flake8-bugbear
] Allowpathlib.Path()
inB008
by @rouge8 in https://github.com/charliermarsh/ruff/pull/3794flake8-bugbear
] Expand the scope of useless-expression (B018) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3455flake8-bugbear
]: Implement ruleB031
by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3680flake8-gettext
] Implementflake8-gettext
by @leiserfg in https://github.com/charliermarsh/ruff/pull/3785flake8-logging-format
] Add support for.log(level, msg)
calls inflake8-logging-format
by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3726flake8-logging-format
] Allow aliasedlogging
module as a logger candidate by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3718flake8-pyi
] Add autofix forPYI014
by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3729flake8-pyi
] ImplementPYI012
by @JBLDKY in https://github.com/charliermarsh/ruff/pull/3743flake8-pyi
] ImplementPYI015
by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3728flake8-simplify
] Fix SIM222 and SIM223 false negative by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3740isort
]: support submodules in known_(first|third)_party config options by @astaric in https://github.com/charliermarsh/ruff/pull/3768pycodestyle
] Use unicode-width to determine line-length instead of character count by @MichaReiser in https://github.com/charliermarsh/ruff/pull/3714pydocstyle
] Implement autofix forD403
by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3731pylint
] Avoiduseless-import alias
(C0414
) in.pyi
files by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3761pylint
] ExemptPLR1711
andRET501
if non-None
annotation by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3705tryceratops
] Exempt return with side effects for TRY300 by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3780Bug Fixes
ForwardRef
contents as type references by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3698with
statements in complexity calculation by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3771pep8-naming
import rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3772TID252
to fix all valid module paths by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3796wild::args()
and addwild
as a dependency by @agriyakhetarpal in https://github.com/charliermarsh/ruff/pull/3739New Contributors
Full Changelog: astral-sh/ruff@v0.0.259...v0.0.260
v0.0.259
Compare Source
Summary
Follow-up release to
v0.0.258
to fix an issue related to rule resolution viaselect
andignore
.What's Changed
Bug Fixes
missing_whitespace
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3688Full Changelog: astral-sh/ruff@v0.0.258...v0.0.259
v0.0.258
Compare Source
What's Changed
Rules
flake8-comprehensions
] UpdateC416
with dict comprehension (autofixable) by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3605pylint
]: Implementassert-on-string-literal
(W0129
) by @latonis in https://github.com/charliermarsh/ruff/pull/3610pyupgrade
] Convert single-argument %-style format calls by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3600pyupgrade
] Flag PEP 585 and PEP 604 violations in quoted annotations by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3593pyupgrade
] Enable autofix for annotations within 'simple' string literals by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3657pyflakes
] Add autofix functionality forF523
(#3613) by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3613flake8-bandit
]: Implement deny-list rules for suspicious member calls by @colin99d in https://github.com/charliermarsh/ruff/pull/3239flake8-annotations
] Add autofix forANN204
with magic methods by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3633pylint
] Implementbinary-op-exception
(PLW0711
) by @latonis in https://github.com/charliermarsh/ruff/pull/3639flake8-django
]: Implement rule DJ012 by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3659Bug Fixes
pyproject.toml
files by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3588D207
&W605
by @vlindhol in https://github.com/charliermarsh/ruff/pull/3609UP032
autofix with adjacent keywords by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3636RUF007
fixes for more than two arguments by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3654pairwise
diagnostics forzip(..., strict=True)
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3669force-sort-within-sections
andforce-to-top
by @bluetech in https://github.com/charliermarsh/ruff/pull/3645open
fix with re-bound builtin by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3650F401
) inModuleNotFoundError
blocks by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3658New Contributors
Full Changelog: astral-sh/ruff@v0.0.257...v0.0.258
v0.0.257
Compare Source
What's Changed
Rules
ruff
] Preferitertools.pairwise()
overzip()
for successive pairs (RUF007
) by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/3501flake8-bugbear
] Addno-explicit-stacklevel
(B028
) by @johnor in https://github.com/charliermarsh/ruff/pull/3550pylint
] invalid-characters-* by @r3m0t in https://github.com/charliermarsh/ruff/pull/3552pylint
] Implementuseless-return
(R1711
) by @tomecki in https://github.com/charliermarsh/ruff/pull/3116pylint
]: Implementcontinue-in-finally
(E0116
) by @latonis in https://github.com/charliermarsh/ruff/pull/3541Bug Fixes
type
overrides in E721 by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3582value > max
style in pylint and mccabe messages by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/3553D209
andD400
by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3564New Contributors
Full Changelog: astral-sh/ruff@v0.0.256...v0.0.257
v0.0.256
Compare Source
What's Changed
Bug Fixes
math
constants in defaults by @XuehaiPan in https://github.com/charliermarsh/ruff/pull/3484not
in error message by @Czaki in https://github.com/charliermarsh/ruff/pull/3497Other Changes
# ruff:
prefix for isort action comments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3493Full Changelog: astral-sh/ruff@v0.0.255...v0.0.256
v0.0.255
Compare Source
What's Changed
Rules
flake8-pie
] Fix PIE802 broken auto-fix with trailing comma by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3402flake8-pie
] Implement autofix for PIE810 by @kyoto7250 in https://github.com/charliermarsh/ruff/pull/3411flake8-bugbear
] Addflake8-bugbear
's B030 rule by @aacunningham in https://github.com/charliermarsh/ruff/pull/3400pycodestyle
] Add E231 by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3344pyupgrade
] Flag deprecated (but renamed) imports in UP035 by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3448pyupgrade
] Remap ChainMap, Counter, and OrderedDict imports to collections by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3392pylint
] C1901: compare-to-empty-string by @AreamanM in https://github.com/charliermarsh/ruff/pull/3405pylint
] Implement W1508 invalid-envvar-default by @latonis in https://github.com/charliermarsh/ruff/pull/3449pylint
] Implement E1507 invalid-envvar-value by @latonis in https://github.com/charliermarsh/ruff/pull/3467Settings
target-version
from project metadata by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3470runtime-evaluated-decorators
andruntime-evaluated-base-classes
forflake8-type-checking
by @sasanjac in https://github.com/charliermarsh/ruff/pull/3292--format
option. by @StefanBRas in https://github.com/charliermarsh/ruff/pull/3335Bug Fixes
Bool
/Float
/Complex
numbers as simple defaults by @XuehaiPan in https://github.com/charliermarsh/ruff/pull/3459extend
points at a non-existent ruff.toml file. by @DanCardin in https://github.com/charliermarsh/ruff/pull/3417--show-fixes
with--fix-only
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3426OSError
-aliased handlers by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3451CI_PROJECT_DIR
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3475New Contributors
Full Changelog: astral-sh/ruff@v0.0.254...v0.0.255
v0.0.254
Compare Source
What's Changed
Rules
pyupgrade
] Replace tuples with type union in isinstance or issubclass calls by @martinlehoux in https://github.com/charliermarsh/ruff/pull/3280flake8-pyi
] Add flake-pyi PYI033 "Do not use type comments in stubs" by @konstin in https://github.com/charliermarsh/ruff/pull/3302flake8-pyi
] PYI006 bad version info comparison by @konstin in https://github.com/charliermarsh/ruff/pull/3291pycodestyle
] feat(E251,E252): add rules by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3274pycodestyle
] feat(E211): add rule + autofix by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3313pycodestyle
] feat(e225,226,227,228): add rules by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3300pycodestyle
] feat(W191): add indentation_contains_tabs by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3249RUF004
toB026
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3293CLI
--ignore-noqa
CLI flag to force-ignore noqa directives by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3296Settings
property-decorators
configuration option for pydocstyle by @staticssleever668 in https://github.com/charliermarsh/ruff/pull/3311@classmethod
and@staticmethod
in decorator lists by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3314Bug Fixes
RET503
autofixes to "end of statement", including comments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3324identifier_range
for a few more rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3254Path(...)
in Pathlib violations by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/3333New Contributors
Full Changelog: astral-sh/ruff@v0.0.253...v0.0.254
v0.0.253
Compare Source
What's Changed
Rules
pyupgrade
] Avoid rewriting any PEP 604 runtime annotations by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3217pycodestyle
] Missing whitespace after keyword by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3225pycodestyle
] trailing-whitespace, blank-line-contains-whitespace (W291, W293) by @mknaw in https://github.com/charliermarsh/ruff/pull/3122flake8-pyi
]: PYI009, PYI010, PYI021 by @sbdchd in https://github.com/charliermarsh/ruff/pull/3230flake8-pyi
]: PYI011, PYI014 by @sbdchd in https://github.com/charliermarsh/ruff/pull/3238flake8-django
] DJ003, DJ006, DJ007 by @lkh42t in https://github.com/charliermarsh/ruff/pull/3236pylint
] Implement pylint'selse-if-used
rule (PLR5501
) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/3231pylint
] W0603: global-statement by @igozali in https://github.com/charliermarsh/ruff/pull/3227flake8-pie
] Unnecessary list comprehension, with autofix (PIE802) by @matthewlloyd in https://github.com/charliermarsh/ruff/pull/3149Settings
pydocstyle
]: Implementignore-decorators
by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/3229Bug Fixes
writeln
with --show-settings by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3180TypedDict
andNamedTuple
definitions by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3148flake8-tidy-imports
] fix autofix for relative imports by @sciyoshi in https://github.com/charliermarsh/ruff/pull/3197S105
/S106
/S107
by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/3222New Contributors
Full Changelog: astral-sh/ruff@v0.0.252...v0.0.253
v0.0.252
Compare Source
What's Changed
Rules
pylint
]redefined-loop-name
(W2901
) by @matthewlloyd in https://github.com/charliermarsh/ruff/pull/3022pylint
]logging-too-many-args
(E1205
) by @md384 in https://github.com/charliermarsh/ruff/pull/3084pylint
]logging-too-few-args
(E1206
) by @md384 in https://github.com/charliermarsh/ruff/pull/3084Bug Fixes
typing.assert_never
as no return by @bluetech in https://github.com/charliermarsh/ruff/pull/3121no-lines-before
preceded by an empty section by @bluetech in https://github.com/charliermarsh/ruff/pull/3139ManualDictLookup
by @Rupt in https://github.com/charliermarsh/ruff/pull/3117New Contributors
Full Changelog: astral-sh/ruff@v0.0.251...v0.0.252
v0.0.251
[Compare
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.