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

⬆️ 🤖 Dependencies: Update asyncz requirement from 0.13.0 to 0.13.1 #2055

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 11, 2025

Updates the requirements on asyncz to permit the latest version.

Release notes

Sourced from asyncz's releases.

Version 0.13.1

Added

  • FileStore was added (simple synchronization via files in a directory).
  • with_lock was added to asyncz.file_locking.

Fixed

  • SQLAlchemyStore didn't pass extra arguments to create_engine.
Changelog

Sourced from asyncz's changelog.

0.13.1

Added

  • FileStore was added (simple synchronization via files in a directory).
  • with_lock was added to asyncz.file_locking.

Fixed

  • SQLAlchemyStore didn't pass extra arguments to create_engine.

0.13.0

Added

  • Multi-Processing safe mode.

Fixed

  • and was mapped to the wrong trigger.
  • Some defaults had wrong module pathes.
  • Missing export of NativeAsyncIOScheduler from schedulers.

0.12.0

Added

  • shutdown trigger.
  • Tasks can have a lifecycle.
  • NativeAsyncIOScheduler with async start/shutdown methods and some optimizations.

Fixed

  • Raise correct exception when maximal instances are reached.
  • Task instances are now per scheduler not per executor.

Changed

  • Invalid executor init kwargs are not ignored anymore.

Removed

  • MaxInterationsReached exception. It had no use and was broken from design.

0.11.0

Added

  • Allow submitting paused tasks.
  • Allow changing in-place attributes of tasks when submitting with add_task.

... (truncated)

Commits

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Update asyncz to 0.13.1.

Updates the requirements on [asyncz](https://github.com/dymmond/asyncz) to permit the latest version.
- [Release notes](https://github.com/dymmond/asyncz/releases)
- [Changelog](https://github.com/dymmond/asyncz/blob/main/docs/release-notes.md)
- [Commits](dymmond/asyncz@0.13.0...0.13.1)

---
updated-dependencies:
- dependency-name: asyncz
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 11, 2025
Copy link

sourcery-ai bot commented Jan 11, 2025

Reviewer's Guide by Sourcery

This pull request updates the asyncz dependency from version 0.13.0 to 0.13.1. This update includes the addition of FileStore for file-based synchronization, with_lock for file locking, and a fix for SQLAlchemyStore to correctly pass extra arguments to create_engine.

Sequence diagram for FileStore locking mechanism

sequenceDiagram
    participant Client
    participant FileStore
    participant FileSystem

    Client->>FileStore: acquire_lock()
    FileStore->>FileSystem: Create lock file
    FileSystem-->>FileStore: Lock acquired
    FileStore-->>Client: Lock success

    Note over Client,FileSystem: Critical section

    Client->>FileStore: release_lock()
    FileStore->>FileSystem: Remove lock file
    FileSystem-->>FileStore: Lock released
    FileStore-->>Client: Release success
Loading

Class diagram for new FileStore and file locking additions

classDiagram
    class FileStore {
        +__init__(directory: str)
        +acquire_lock()
        +release_lock()
    }

    class file_locking {
        +with_lock(path: str)
    }

    class SQLAlchemyStore {
        +__init__(**kwargs)
        +create_engine()
    }

    note for SQLAlchemyStore "Now correctly passes extra arguments to create_engine"
    note for FileStore "New class for file-based synchronization"
    note for file_locking "New utility for file locking operations"
Loading

File-Level Changes

Change Details Files
Updated the asyncz dependency from 0.13.0 to 0.13.1.
  • Changed the version of asyncz from "0.13.0" to "0.13.1" in pyproject.toml.
pyproject.toml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link

@llamapreview llamapreview bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto Pull Request Review from LlamaPReview

Review Status: Automated Review Skipped

Dear contributor,

Thank you for your Pull Request. LlamaPReview has analyzed your changes and determined that this PR does not require an automated code review.

Analysis Result:

PR contains only dependency version updates, requiring no automated code review

We're continuously improving our PR analysis capabilities. Have thoughts on when and how LlamaPReview should perform automated reviews? Share your insights in our GitHub Discussions.

Best regards,
LlamaPReview Team

Copy link

codecov bot commented Jan 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.19%. Comparing base (562896e) to head (04646fb).
Report is 4 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2055   +/-   ##
=======================================
  Coverage   83.19%   83.19%           
=======================================
  Files          12       12           
  Lines         488      488           
=======================================
  Hits          406      406           
  Misses         82       82           

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

@github-actions github-actions bot enabled auto-merge January 11, 2025 19:23
@github-actions github-actions bot merged commit 97b491e into dev Jan 11, 2025
10 checks passed
@github-actions github-actions bot deleted the dependabot/pip/dev/asyncz-0.13.1 branch January 11, 2025 19:23
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