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 python dev-dependencies #356

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
inline-snapshot (changelog) >=0.18.1 -> >=0.19.3 age adoption passing confidence
poethepoet >=0.32.0 -> >=0.32.1 age adoption passing confidence
pytest-asyncio (changelog) >=0.25.0 -> >=0.25.2 age adoption passing confidence

Release Notes

15r10nk/inline-snapshot (inline-snapshot)

v0.19.3

Compare Source

Fixed

  • raise no assertion for positional arguments inside constructor methods.

v0.19.2

Compare Source

Fixed

  • fixed a crash when you changed the snapshot to use a custom constructor method for dataclass/pydantic models.

    example:

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    class A(BaseModel):
        a: int
    
        @​classmethod
        def from_str(cls, s):
            return cls(a=int(s))
    
    def test_something():
        assert A(a=2) == snapshot(A.from_str("1"))

v0.19.1

Compare Source

Added

  • added the optional inline-snapshot[dirty-equals] dependency to depend on the dirty-equals version which works in combination with inline-snapshot.

Fixed

  • snapshots with pydantic models can now be compared multiple times

    class A(BaseModel):
        a: int
    
    def test_something():
        for _ in [1, 2]:
            assert A(a=1) == snapshot(A(a=1))

v0.19.0

Compare Source

Added

  • You can now specify which tool you want to use to format your code by setting a format-command in your configuration.

Changed

  • BREAKING-CHANGE you have to install inline-snapshot[black] now if you want to format your code like in the previous versions. This option is not required if you use a format-command.

Fixed

  • Load default config values even if [tool.inline-snapshot] is missing.
    This makes the documented default shortcuts --review and --fix work.

v0.18.2

Compare Source

Changed

  • added [dependency-groups] to pyproject.toml and use uv and pytest to run tests in CI.

Fixed

  • use '.model_fields' on pydantic model class and not instance. This fixes a deprecation warning in the upcoming pydantic v2.11 (#​169)

nat-n/poethepoet (poethepoet)

v0.32.1

Compare Source

Enhancements

Full Changelog: nat-n/poethepoet@v0.32.0...v0.32.1

pytest-dev/pytest-asyncio (pytest-asyncio)

v0.25.2: pytest-asyncio 0.25.2

Compare Source

  • Call loop.shutdown_asyncgens() before closing the event loop to ensure async generators are closed in the same manner as asyncio.run does #​1034

v0.25.1: pytest-asyncio 0.25.1

Compare Source

  • Fixes an issue that caused a broken event loop when a function-scoped test was executed in between two tests with wider loop scope #​950
  • Improves test collection speed in auto mode #​1020
  • Corrects the warning that is emitted upon redefining the event_loop fixture

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), 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.


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

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 13, 2025
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.65%. Comparing base (4a66251) to head (517c135).
Report is 6 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #356   +/-   ##
=======================================
  Coverage   93.65%   93.65%           
=======================================
  Files          41       41           
  Lines        2268     2268           
=======================================
  Hits         2124     2124           
  Misses        144      144           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch from dde90c6 to fe15721 Compare January 15, 2025 17:27
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch from fe15721 to 517c135 Compare January 15, 2025 20:20
@he0119 he0119 enabled auto-merge (squash) January 22, 2025 13:34
@he0119 he0119 merged commit a2ff5cf into main Jan 22, 2025
7 checks passed
@he0119 he0119 deleted the renovate/python-dev-dependencies branch January 22, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant