Skip to content

chore: bump procrastinate from 3.11.0 to 3.12.0 - #467

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/procrastinate-3.12.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/procrastinate-3.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Bumps procrastinate from 3.11.0 to 3.12.0.

Release notes

Sourced from procrastinate's releases.

3.12.0

Highlights

  • Breaking: Python 3.10 is no longer supported, Python 3.15 is (#1660)
  • Alembic: if your project manages its schema with Alembic, add procrastinate.contrib.alembic:versions to your version_locations (pip install "procrastinate[alembic]"). See With Alembic (#1584)
  • Lock modes: lock_mode="mutex" keeps jobs sharing a lock from running at the same time, without letting a job scheduled for later hold up the others. See Locks (#1606)
  • Much faster fetching with locks: the lock check of the fetch query now uses an index. With 100k waiting jobs that have a lock, fetching one went from 237 ms to 2 ms with 16 workers, and from 3.7 ms to 0.3 ms with one (#1677). A worker also picks the next job sharing a lock as soon as the previous one completes, instead of at its next poll (#1676)
  • Timezones for periodic tasks: @app.periodic(cron="0 9 * * *", tzinfo="Europe/Paris"). See Periodic tasks (#1474)
  • Worker shutdown is more reliable: heartbeat kept while draining, aborts during shutdown, stuck fetches and listeners (#1585, #1603, #1605, #1668, #1670)
  • The in-memory testing connector now handles retries, aborts and finishes like Postgres does, which may surface tests that relied on the old behaviour (#1663)

Migrations

Pre (launch before upgrading):

Post (launch after upgrading):

[!NOTE] 03.12.00_03 and 03.12.00_51 use CONCURRENTLY and can't run inside a transaction: apply them on their own. Django migrations and Alembic revisions handle this already.

[!NOTE] The 3.11.0 release notes forgot to list its pre-migration, 03.11.00_01_pre_fetch_job_skip_null_lock.sql. If you apply the SQL scripts yourself and skipped it, nothing is broken: it only made fetching faster for jobs without a lock, and 03.12.00_01_pre_add_lock_mode.sql includes the same change, so there's nothing to catch up on.

What's Changed

Features

Bug Fixes

Miscellaneous

... (truncated)

Commits
  • 0a47a4c Merge pull request #1677 from vipierozan99/lock-id-index
  • 4dd1d87 Merge pull request #1671 from procrastinate-org/renovate/pypi-soupsieve-vulne...
  • 5fa89bc Merge pull request #1676 from loispostula/wake-worker-when-lock-released
  • 842bf33 Document concurrent index migrations in CONTRIBUTING
  • e8ff027 Build and drop the lock index concurrently
  • 631609a Clear the new-job event before fetching, not after
  • 959c73e Update dependency soupsieve to v4 [SECURITY]
  • 0e98aa3 Check index usage instead of timing in the lock index test
  • 72d1414 Add a (lock) index for the lock check of fetch_job_v2
  • 608ea38 Wake the worker when a locked job completes
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 27, 2026
Bumps [procrastinate](https://github.com/procrastinate-org/procrastinate) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/procrastinate-org/procrastinate/releases)
- [Changelog](https://github.com/procrastinate-org/procrastinate/blob/main/CHANGELOG.md)
- [Commits](procrastinate-org/procrastinate@3.11.0...3.12.0)

---
updated-dependencies:
- dependency-name: procrastinate
  dependency-version: 3.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
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 python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants