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: update dependencies, fixing tests #382

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

JonasKs
Copy link
Collaborator

@JonasKs JonasKs commented Dec 17, 2022

EDIT April 4th: Seems like this PR is no longer needed, as pipelines have fixed themselves.

As mentioned in #377 (comment):

seems like pytest-asyncio==0.20.3 should fix broken pipelines, according to pytest-dev/pytest-asyncio#460.

I also added

Another potential good thing to do is to use get_running_loop() over get_event_loop(), as per documentation.

But I can remove this if you'd like.

I can rebase the other PRs I have open if this gets merged to make pipelines pass. 😊

@codecov
Copy link

codecov bot commented Dec 17, 2022

Codecov Report

Merging #382 (4b79ba3) into main (bfa8e68) will decrease coverage by 0.27%.
Report is 3 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #382      +/-   ##
==========================================
- Coverage   98.66%   98.40%   -0.27%     
==========================================
  Files          11       11              
  Lines        1052     1063      +11     
  Branches      199      200       +1     
==========================================
+ Hits         1038     1046       +8     
- Misses          6        8       +2     
- Partials        8        9       +1     
Files Coverage Δ
arq/cli.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bfa8e68...4b79ba3. Read the comment docs.

@@ -60,7 +60,7 @@ async def watch_reload(path: str, worker_settings: 'WorkerSettingsType') -> None
except ImportError as e: # pragma: no cover
raise ImportError('watchfiles not installed, use `pip install watchfiles`') from e

loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Pipelines fixed themselves, so I don't think we need to merge this PR.

This is somewhat still relevant, but also not really needed. Feel free to close.

Another potential good thing to do is to use get_running_loop() over get_event_loop(), as per documentation.

@JonasKs JonasKs mentioned this pull request Mar 29, 2024
@samuelcolvin samuelcolvin merged commit b59e716 into python-arq:main Apr 1, 2024
10 checks passed
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.

3 participants