⬆️ Update all non-major dependencies #175
Merged
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:
1.0.1
->1.2.0
1.2.6
->1.2.8
9.5.31
->9.5.34
0.25.2
->0.26.1
1.11.1
->1.11.2
2.8.2
->2.9.1
0.6.0
->0.6.4
Release Notes
mkdocstrings/autorefs (mkdocs-autorefs)
v1.2.0
Compare Source
Compare with 1.1.0
Features
Bug Fixes
Code Refactoring
%s
formatting instead of f-strings in log messages (0cedf9d by Timothée Mazzucotelli).v1.1.0
Compare Source
Compare with 1.0.1
Deprecations
AUTO_REF_RE
is renamedAUTOREF_RE
(and updated for an improved version offix_refs
)AutoRefInlineProcessor
is renamedAutorefsInlineProcessor
Features
Bug Fixes
Code Refactoring
timvink/mkdocs-git-revision-date-localized-plugin (mkdocs-git-revision-date-localized-plugin)
v1.2.8
: revision-date-localized v1.2.8Compare Source
What's Changed
theme.language
in mkdocs.yml was not fetched correctly under themkdocs-material
theme by @Xiaokang2022 in https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/143New Contributors
Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.2.6...v1.2.8
v1.2.7
: revision-date-localized v1.2.7Compare Source
What's Changed
New Contributors
Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.2.6...v1.2.7
squidfunk/mkdocs-material (mkdocs-material)
v9.5.34
: mkdocs-material-9.5.34Compare Source
Thanks go to @manselmi for their contributions
v9.5.33
: mkdocs-material-9.5.33Compare Source
v9.5.32
: mkdocs-material-9.5.32Compare Source
Thanks go to @joaopalmeiro for their contributions
mkdocstrings/mkdocstrings (mkdocstrings)
v0.26.1
Compare Source
Compare with 0.26.0
Bug Fixes
v0.26.0
Compare Source
Compare with 0.25.2
Build
Dependencies
Features
python/mypy (mypy)
v1.11.2
Compare Source
pydantic/pydantic (pydantic)
v2.9.1
: (2024-09-09)Compare Source
What's Changed
Fixes
annotated-types
bound to>=0.6.0
by @sydney-runkle in #10327tzdata
install requirement into optionaltimezone
dependency by @jakob-keller in #10331IncExc
type alias definition by @Viicos in #10339Full Changelog: pydantic/pydantic@v2.9.0...v2.9.1
v2.9.0
Compare Source
GitHub release
The code released in v2.9.0 is practically identical to that of v2.9.0b2.
What's Changed
Packaging
ruff
tov0.5.0
andpyright
tov1.1.369
by @sydney-runkle in #9801pydantic-extra-types
tov2.9.0
by @sydney-runkle in #9832pdm v2.18.1
by @Viicos in #10138v1
version stub tov1.10.18
by @sydney-runkle in #10214pydantic-core
tov2.23.2
by @sydney-runkle in #10311New Features
ZoneInfo
by @Youssefares in #9896Config.val_json_bytes
by @josh-newman in #9770complex
number by @changhc in #9654annotated_types.Not
by @aditkumar72 in #10210WithJsonSchema
to inject$ref
s w/http
orhttps
links by @dAIsySHEng1 in #9863PathLike
types by @nix010 in #9764str
orcallable
discriminators to select the correct serializer by @sydney-runkle in in pydantic/pydantic-core#1397Changes
dict
typejson_schema_extra
by @sydney-runkle in #9792pattern
for incompatible types by @sydney-runkle in #10158'allOf'
JSON schema workarounds by @dpeachey in #10029typed_dict_cls
data fromCoreMetadata
by @sydney-runkle in #10180Examples
class by @Viicos in #10181initial_metadata
from internal metadata construct by @sydney-runkle in #10194re.Pattern.search
instead ofre.Pattern.match
for consistency withrust
behavior by @tinez in pydantic/pydantic-core#1368pydantic-core
serialization warning by @BoxyUwU in pydantic/pydantic-core#1377pydantic-core
, changemetadata
type hint in core schemas fromAny
->Dict[str, Any] | None
by @sydney-runkle in pydantic/pydantic-core#1411self
isn't returned from model validator by @sydney-runkle in #10255Performance
BaseModel
by @sydney-runkle in #10013Minor Internal Improvements
multiple_of_validator()
by 31% inpydantic/_internal/_validators.py
by @misrasaurabh1 in #9839ModelPrivateAttr.__set_name__()
by 18% inpydantic/fields.py
by @misrasaurabh1 in #9841dataclass()
by 7% inpydantic/dataclasses.py
by @misrasaurabh1 in #9843_field_name_for_signature
by 37% inpydantic/_internal/_signature.py
by @misrasaurabh1 in #9951GenerateSchema._unpack_refs_defs
by 26% inpydantic/_internal/_generate_schema.py
by @misrasaurabh1 in #9949apply_each_item_validators
by 100% inpydantic/_internal/_generate_schema.py
by @misrasaurabh1 in #9950ConfigWrapper.core_config
by 28% inpydantic/_internal/_config.py
by @misrasaurabh1 in #9953Fixes
use_enum_values
onLiteral
types by @kwint in #9787BaseModel/RootModel
inheritance by @dmontagu in #9913str
type annotation withAny
in validator factories in documentation on validators by @maximilianfellhuber in #9885ComputedFieldInfo.wrapped_property
pointer when a property setter is assigned by @tlambert03 in #9892main.IncEnx
by @tlambert03 in #9924type[Annotated[...]]
by @Viicos in #9932mypy
plugin: handle frozen fields on a per-field basis by @dmontagu in #9935invalid-annotated-type
error code by @sydney-runkle in #9948uuid
,url
, andip
types by @sydney-runkle in #9975date
schemas to_generate_schema.py
by @sydney-runkle in #9976decimal.Decimal
validation to_generate_schema.py
by @sydney-runkle in #9977_std_types_schema.py
by @sydney-runkle in #9959GenerateSchema.match_type
options by @sydney-runkle in #9961dataclass
ignoringdefault_factory
passed in Annotated by @kc0506 in #9971Sequence
ignoringdiscriminator
by @kc0506 in #9980IPvAnyAddress
andIPvAnyInterface
by @haoyun in #9990mypy
plugin forfrom_orm
check requiring from_attributes=True config by @radekwlsk in #9938strict=True
to__init__
inmypy
plugin by @kc0506 in #9998deque
annotations by @sydney-runkle in #10018__pydantic_extra__
annotation in specific circumstances by @Viicos in #10070frozen
enforcement fordataclasses
by @sydney-runkle in #10066__get_pydantic_core_schema__
signature by @Viicos in #10075is_annotated
consistently by @Viicos in #10095PydanticDeprecatedSince26
typo by @kc0506 in #10101pyright
tests, refactor model decorators signatures by @Viicos in #10092ip
serialization logic by @sydney-runkle in #10112dataclasses
by @mochi22 in #10082when_used
set to'json-unless-none'
and the default value isNone
by @Viicos in #10121ImportString
special cases by @sydney-runkle in #10137__
prefixed annotations by @sydney-runkle in #10136nullable
schemas withserialization
schema available during JSON Schema generation by @Viicos in #10132BaseModel
annotations by @kc0506 in #10110PrivateAttr
withAnnotated
by @Viicos in #10157number
type for literal and enum schemas by @Viicos in #10172Mapping
andMutableMapping
annotations to use mapping schema instead of dict schema by @sydney-runkle in #10020field_serializer
with computed field when using*
by @nix010 in pydantic/pydantic-core#1349Union
serializer before inference by @sydney-runkle in pydantic/pydantic-core#1398float
serialization behavior instrict
mode by @sydney-runkle in pydantic/pydantic-core#1400exactness
into Decimal validation logic to improve union validation behavior by @sydney-runkle in in pydantic/pydantic-core#1405pytest.warns()
by @mgorny in #10241ModelMetaclass
by @Viicos in #10242__init__
by @Viicos in #10264BigInt
serialization forint
subclasses by @kxx317 in pydantic/pydantic-core#1417info
by @sydney-runkle in #10277__pydantic_complete__
is set when rebuildingdataclasses
by @Viicos in #10291schema_generator
config value inTypeAdapter
by @sydney-runkle in #10300New Contributors
pydantic
pydantic-core
astral-sh/ruff (ruff)
v0.6.4
Compare Source
Preview features
flake8-builtins
] Use dynamic builtins list based on Python version (#13172)pydoclint
] Permit yieldingNone
inDOC402
andDOC403
(#13148)pylint
] Update diagnostic message forPLW3201
(#13194)ruff
] Implementpost-init-default
(RUF033
) (#13192)ruff
] Implement useless if-else (RUF034
) (#13218)Rule changes
flake8-pyi
] Respectpep8_naming.classmethod-decorators
settings when determining if a method is a classmethod incustom-type-var-return-type
(PYI019
) (#13162)flake8-pyi
] Teach various rules that annotations might be stringized (#12951)pylint
] Avoidno-self-use
forattrs
-style validators (#13166)pylint
] Recurse into subscript subexpressions when searching for list/dict lookups (PLR1733
,PLR1736
) (#13186)pyupgrade
] Detectaiofiles.open
calls inUP015
(#13173)pyupgrade
] Marksys.version_info[0] < 3
and similar comparisons as outdated (UP036
) (#13175)CLI
ruff format
output (#13212)Bug fixes
pydocstyle
] Improve heuristics for detecting Google-style docstrings (#13142)refurb
] Treatsep
arguments with effects as unsafe removals (FURB105
) (#13165)v0.6.3
Compare Source
Preview features
flake8-simplify
] Extendopen-file-with-context-handler
to work withdbm.sqlite3
(SIM115
) (#13104)pycodestyle
] DisableE741
in stub files (.pyi
) (#13119)pydoclint
] AvoidDOC201
on explicit returns in functions that only returnNone
(#13064)Rule changes
flake8-async
] Disable check forasyncio
before Python 3.11 (ASYNC109
) (#13023)Bug fixes
FastAPI
] Avoid introducing invalid syntax in fix forfast-api-non-annotated-dependency
(FAST002
) (#13133)flake8-implicit-str-concat
] Normalize octals before merging concatenated strings insingle-line-implicit-string-concatenation
(ISC001
) (#13118)flake8-pytest-style
] Improve help message forpytest-incorrect-mark-parentheses-style
(PT023
) (#13092)pylint
] Avoid autofix for calls that aren'tmin
ormax
as starred expression (PLW3301
) (#13089)ruff
] Adddatetime.time
,datetime.tzinfo
, anddatetime.timezone
as immutable function calls (RUF009
) (#13109)ruff
] Extend comment deletion forRUF100
to include trailing text fromnoqa
directives while preserving any following comments on the same line, if any (#13105)v0.6.2
Compare Source
Preview features
flake8-simplify
] Extendopen-file-with-context-handler
to work with other standard-library IO modules (SIM115
) (#12959)ruff
] Avoidunused-async
for functions with FastAPI route decorator (RUF029
) (#12938)ruff
] Ignorefstring-missing-syntax
(RUF027
) forfastAPI
paths (#12939)ruff
] Implement check for Decimal called with a float literal (RUF032) (#12909)Rule changes
flake8-bugbear
] Update diagnostic message when expression is at the end of function (B015
) (#12944)flake8-pyi
] Skip type annotations instring-or-bytes-too-long
(PYI053
) (#13002)flake8-type-checking
] Always recognise relative imports as first-party (#12994)flake8-unused-arguments
] Ignore unused arguments on stub functions (ARG001
) (#12966)pylint
] Ignore augmented assignment forself-cls-assignment
(PLW0642
) (#12957)Server
Bug fixes
pep8-naming
] Don't flagfrom
imports following conventional import names (N817
) (#12946)pylint
] - Allow__new__
methods to havecls
as their first argument even if decorated with@staticmethod
forbad-staticmethod-argument
(PLW0211
) (#12958)Documentation
hyperfine
installation instructions; updatehyperfine
code samples (#13034)PT001
as per the new default behavior (#13019)perflint
] Improve docs fortry-except-in-loop
(PERF203
) (#12947)pydocstyle
] Add reference tolint.pydocstyle.ignore-decorators
setting to rule docs (#12996)v0.6.1
Compare Source
This is a hotfix release to address an issue with
ruff-pre-commit
. In v0.6,Ruff changed its behavior to lint and format Jupyter notebooks by default;
however, due to an oversight, these files were still excluded by default if
Ruff was run via pre-commit, leading to inconsistent behavior.
This has now been fixed.
Preview features
fastapi
] Implementfast-api-unused-path-parameter
(FAST003
) (#12638)Rule changes
pylint
] Renametoo-many-positional
totoo-many-positional-arguments
(R0917
) (#12905)Server
Other changes
flake8-naming
]: Respect import conventions (N817
) (#12922)Configuration
📅 Schedule: Branch creation - "after 11am on friday" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.