Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update minor updates (master) #79

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 18, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
conda-forge/python (source) patch 3.12.4 -> 3.12.6 age adoption passing confidence
mypy (source, changelog) dev-dependencies patch ^1.10.0 -> ^1.11.2 age adoption passing confidence
platformdirs dependencies minor 4.2.2 -> 4.3.2 age adoption passing confidence
pydantic (changelog) dependencies minor 2.8.2 -> 2.9.1 age adoption passing confidence
pytest (changelog) dev-dependencies patch ^8.2.2 -> ^8.3.3 age adoption passing confidence
ruff (source, changelog) minor 0.4.9 -> 0.6.4 age adoption passing confidence
ruff (source, changelog) dev minor ^0.4.0 -> ^0.6.0 age adoption passing confidence
xxhash dependencies minor 3.4.1 -> 3.5.0 age adoption passing confidence

Release Notes

python/mypy (mypy)

v1.11.2

Compare Source

platformdirs/platformdirs (platformdirs)

v4.3.2

Compare Source

What's Changed

New Contributors

Full Changelog: tox-dev/platformdirs@4.3.1...4.3.2

v4.3.1

Compare Source

Full Changelog: tox-dev/platformdirs@4.3.0...4.3.1

v4.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: tox-dev/platformdirs@4.2.2...4.3.0

pydantic/pydantic (pydantic)

v2.9.1: (2024-09-09)

Compare Source

What's Changed

Fixes

Full 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
New Features
Changes
Performance
Minor Internal Improvements
Fixes
New Contributors
pydantic
pydantic-core
pytest-dev/pytest (pytest)

v8.3.3

Compare Source

pytest 8.3.3 (2024-09-09)

Bug fixes

  • #​12446: Avoid calling @property (and other instance descriptors) during fixture discovery -- by asottile{.interpreted-text role="user"}

  • #​12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.

  • #​12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.

  • #​12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by Avasam{.interpreted-text role="user"}

  • #​12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.

  • #​6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in assert condition, msg).

  • #​9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.

    -- by GTowers1{.interpreted-text role="user"}

Improved documentation

  • #​12663: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
  • #​12678: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.

Miscellaneous internal changes

  • #​12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.
astral-sh/ruff (ruff)

v0.6.4

Compare Source

Preview features
  • [flake8-builtins] Use dynamic builtins list based on Python version (#​13172)
  • [pydoclint] Permit yielding None in DOC402 and DOC403 (#​13148)
  • [pylint] Update diagnostic message for PLW3201 (#​13194)
  • [ruff] Implement post-init-default (RUF033) (#​13192)
  • [ruff] Implement useless if-else (RUF034) (#​13218)
Rule changes
  • [flake8-pyi] Respect pep8_naming.classmethod-decorators settings when determining if a method is a classmethod in custom-type-var-return-type (PYI019) (#​13162)
  • [flake8-pyi] Teach various rules that annotations might be stringized (#​12951)
  • [pylint] Avoid no-self-use for attrs-style validators (#​13166)
  • [pylint] Recurse into subscript subexpressions when searching for list/dict lookups (PLR1733, PLR1736) (#​13186)
  • [pyupgrade] Detect aiofiles.open calls in UP015 (#​13173)
  • [pyupgrade] Mark sys.version_info[0] < 3 and similar comparisons as outdated (UP036) (#​13175)
CLI
  • Enrich messages of SARIF results (#​13180)
  • Handle singular case for incompatible rules warning in ruff format output (#​13212)
Bug fixes
  • [pydocstyle] Improve heuristics for detecting Google-style docstrings (#​13142)
  • [refurb] Treat sep arguments with effects as unsafe removals (FURB105) (#​13165)

v0.6.3

Compare Source

Preview features
  • [flake8-simplify] Extend open-file-with-context-handler to work with dbm.sqlite3 (SIM115) (#​13104)
  • [pycodestyle] Disable E741 in stub files (.pyi) (#​13119)
  • [pydoclint] Avoid DOC201 on explicit returns in functions that only return None (#​13064)
Rule changes
  • [flake8-async] Disable check for asyncio before Python 3.11 (ASYNC109) (#​13023)
Bug fixes
  • [FastAPI] Avoid introducing invalid syntax in fix for fast-api-non-annotated-dependency (FAST002) (#​13133)
  • [flake8-implicit-str-concat] Normalize octals before merging concatenated strings in single-line-implicit-string-concatenation (ISC001) (#​13118)
  • [flake8-pytest-style] Improve help message for pytest-incorrect-mark-parentheses-style (PT023) (#​13092)
  • [pylint] Avoid autofix for calls that aren't min or max as starred expression (PLW3301) (#​13089)
  • [ruff] Add datetime.time, datetime.tzinfo, and datetime.timezone as immutable function calls (RUF009) (#​13109)
  • [ruff] Extend comment deletion for RUF100 to include trailing text from noqa directives while preserving any following comments on the same line, if any (#​13105)
  • Fix dark theme on initial page load for the Ruff playground (#​13077)

v0.6.2

Compare Source

Preview features
  • [flake8-simplify] Extend open-file-with-context-handler to work with other standard-library IO modules (SIM115) (#​12959)
  • [ruff] Avoid unused-async for functions with FastAPI route decorator (RUF029) (#​12938)
  • [ruff] Ignore fstring-missing-syntax (RUF027) for fastAPI 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 in string-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 for self-cls-assignment (PLW0642) (#​12957)
Server
  • Show full context in error log messages (#​13029)
Bug fixes
  • [pep8-naming] Don't flag from imports following conventional import names (N817) (#​12946)
  • [pylint] - Allow __new__ methods to have cls as their first argument even if decorated with @staticmethod for bad-staticmethod-argument (PLW0211) (#​12958)
Documentation
  • Add hyperfine installation instructions; update hyperfine code samples (#​13034)
  • Expand note to use Ruff with other language server in Kate (#​12806)
  • Update example for PT001 as per the new default behavior (#​13019)
  • [perflint] Improve docs for try-except-in-loop (PERF203) (#​12947)
  • [pydocstyle] Add reference to lint.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] Implement fast-api-unused-path-parameter (FAST003) (#​12638)
Rule changes
  • [pylint] Rename too-many-positional to too-many-positional-arguments (R0917) (#​12905)
Server
  • Fix crash when applying "fix-all" code-action to notebook cells (#​12929)
Other changes
  • [flake8-naming]: Respect import conventions (N817) (#​12922)

v0.6.0

Compare Source

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

See also, the "Remapped rules" section which may result in disabled rules.

  • Lint and format Jupyter Notebook by default (#​12878).
  • Detect imports in src layouts by default for isort rules (#​12848)
  • The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments (#​12838).
Deprecations

The following rules are now deprecated:

Remapped rules

The following rules have been remapped to new rule codes:

Stabilization

The following rules have been stabilized and are no longer in preview:

The following behaviors have been stabilized:

The following fixes have been stabilized:

Preview features
  • [flake8-simplify] Further simplify to binary in preview for (SIM108) (#​12796)
  • [pyupgrade] Show violations without auto-fix (UP031) (#​11229)
Rule changes
  • [flake8-import-conventions] Add xml.etree.ElementTree to default conventions (#​12455)
  • [flake8-pytest-style] Add a space after comma in CSV output (PT006) (#​12853)
Server
  • Show a message for incorrect settings (#​12781)
Bug fixes
  • [flake8-async] Do not lint yield in context manager (ASYNC100) (#​12896)
  • [flake8-comprehensions] Do not lint async for comprehensions (C419) (#​12895)
  • [flake8-return] Only add return None at end of a function (RET503) (#​11074)
  • [flake8-type-checking] Avoid treating dataclasses.KW_ONLY as typing-only (TCH003) (#​12863)
  • [pep8-naming] Treat type(Protocol) et al as metaclass base (N805) (#​12770)
  • [pydoclint] Don't enforce returns and yields in abstract methods (DOC201, DOC202) (#​12771)
  • [ruff] Skip tuples with slice expressions in (RUF031) (#​12768)
  • [ruff] Ignore unparenthesized tuples in subscripts when the subscript is a type annotation or type alias (RUF031) (#​12762)
  • [ruff] Ignore template strings passed to logging and builtins._() calls (RUF027) (#​12889)
  • [ruff] Do not remove parens for tuples with starred expressions in Python <=3.10 (RUF031) (#​12784)
  • Evaluate default parameter values for a function in that function's enclosing scope (#​12852)
Other changes
  • Respect VS Code cell metadata when detecting the language of Jupyter Notebook cells (#​12864)
  • Respect kernelspec notebook metadata when detecting the preferred language for a Jupyter Notebook (#​12875)

v0.5.7

Compare Source

Preview features
  • [flake8-comprehensions] Account for list and set comprehensions in unnecessary-literal-within-tuple-call (C409) (#​12657)
  • [flake8-pyi] Add autofix for future-annotations-in-stub (PYI044) (#​12676)
  • [flake8-return] Avoid syntax error when auto-fixing RET505 with mixed indentation (space and tabs) (#​12740)
  • [pydoclint] Add docstring-missing-yields (DOC402) and docstring-extraneous-yields (DOC403) (#​12538)
  • [pydoclint] Avoid DOC201 if docstring begins with "Return", "Returns", "Yield", or "Yields" (#​12675)
  • [pydoclint] Deduplicate collected exceptions after traversing function bodies (DOC501) (#​12642)
  • [pydoclint] Ignore DOC errors for stub functions (#​12651)
  • [pydoclint] Teach rules to understand reraised exceptions as being explicitly raised (DOC501, DOC502) (#​12639)
  • [ruff] Implement incorrectly-parenthesized-tuple-in-subscript (RUF031) (#​12480)
  • [ruff] Mark RUF023 fix as unsafe if __slots__ is not a set and the binding is used elsewhere (#​12692)
Rule changes
  • [refurb] Add autofix for implicit-cwd (FURB177) (#​12708)
  • [ruff] Add autofix for zip-instead-of-pairwise (RUF007) (#​12663)
  • [tryceratops] Add BaseException to raise-vanilla-class rule (TRY002) (#​12620)
Server
  • Ignore non-file workspace URL; Ruff will display a warning notification in this case (#​12725)
CLI
  • Fix cache invalidation for nested pyproject.toml files (#​12727)
Bug fixes
  • [flake8-async] Fix false positives with multiple async with items (ASYNC100) (#​12643)
  • [flake8-bandit] Avoid false-positives for list concatenations in SQL construction (S608) (#​12720)
  • [flake8-bugbear] Treat return as equivalent to break (B909) (#​12646)
  • [flake8-comprehensions] Set comprehensions not a violation for sum in unnecessary-comprehension-in-call (C419) (#​12691)
  • [flake8-simplify] Parenthesize conditions based on precedence when merging if arms (SIM114) (#​12737)
  • [pydoclint] Try both 'Raises' section styles wh

Configuration

📅 Schedule: Branch creation - "every 4th week on Thursday before 10am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jul 18, 2024

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/master-minor-updates branch 6 times, most recently from 19002b2 to 80a28e4 Compare July 25, 2024 17:03
@renovate renovate bot force-pushed the renovate/master-minor-updates branch 3 times, most recently from 515da75 to 2c1201f Compare August 6, 2024 22:45
@renovate renovate bot force-pushed the renovate/master-minor-updates branch 4 times, most recently from 507fef9 to 9ad8dae Compare August 15, 2024 12:53
@renovate renovate bot force-pushed the renovate/master-minor-updates branch 3 times, most recently from 5347653 to 95f8fcf Compare August 22, 2024 14:49
@renovate renovate bot force-pushed the renovate/master-minor-updates branch 3 times, most recently from 628f837 to 5267cbb Compare August 29, 2024 15:28
@renovate renovate bot force-pushed the renovate/master-minor-updates branch 5 times, most recently from 6e003f8 to fe9634b Compare September 10, 2024 13:04
@renovate renovate bot force-pushed the renovate/master-minor-updates branch from fe9634b to 0fa12b0 Compare September 11, 2024 05:00
@jvansanten jvansanten merged commit a4c12a7 into master Sep 12, 2024
10 checks passed
@jvansanten jvansanten deleted the renovate/master-minor-updates branch September 12, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant