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

Update all dependencies #1263

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/python:3.12
FROM mcr.microsoft.com/devcontainers/python:3.13

USER root

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- 5432:5432

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Install poetry
run: pipx install poetry
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@ repos:
- id: trailing-whitespace
- id: mixed-line-ending
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.391
rev: v1.1.392
hooks:
- id: pyright
additional_dependencies:
- aiopg==1.4.0
- anyio==4.7.0
- anyio==4.8.0
- asgiref==3.8.1
- attrs==24.3.0
- contextlib2==21.6.0
- croniter==6.0.0
- django-stubs==5.1.1
- django-stubs==5.1.2
- django==5.1.5
- psycopg2-binary==2.9.10
- psycopg[pool]==3.2.3
- psycopg[pool]==3.2.4
- python-dateutil==2.9.0.post0
- sphinx==7.4.7
- sqlalchemy==2.0.36
- sqlalchemy==2.0.37
- typing-extensions==4.12.2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.9.2
hooks:
- id: ruff
args: [--fix, --unsafe-fixes, --show-fixes]
Expand Down
345 changes: 173 additions & 172 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions tests/acceptance/test_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ async def appender(a: int):
)
duration = time.time() - start_time

assert (
duration >= 0.5
), "processing jobs faster than expected. Is the concurrency respected?"
assert duration >= 0.5, (
"processing jobs faster than expected. Is the concurrency respected?"
)

assert len(results) == 100, "Unexpected number of job executions"

Expand Down
6 changes: 3 additions & 3 deletions tests/unit/contrib/django/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def test_procrastinate_command():

def assert_no_action_named_args(parser):
for action in parser._actions:
assert getattr(action, "dest", "") != (
"args"
), f"'args' found in {parser.prog}\n{error}"
assert getattr(action, "dest", "") != ("args"), (
f"'args' found in {parser.prog}\n{error}"
)
if isinstance(action, argparse._SubParsersAction):
for subparser in action.choices.values():
assert_no_action_named_args(subparser)
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,9 @@ async def task_func(job_context: JobContext):

status = await app.job_manager.get_job_status_async(job_id)
assert status == Status.ABORTED
assert (
worker._job_ids_to_abort == {}
), "Expected cancelled job id to be removed from set"
assert worker._job_ids_to_abort == {}, (
"Expected cancelled job id to be removed from set"
)


@pytest.mark.parametrize(
Expand Down
Loading