Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

uv manages to understand it needs to differentiate the django version depending on python #1303

Merged
merged 3 commits into from
Jan 26, 2025
Merged
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
6 changes: 0 additions & 6 deletions docs/howto/django/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ how.
For each Python version supported by Procrastinate, Procastinate is tested with
the latest Django version supported by that Python version.

As of January 2025, this means Procrastinate is tested with Django 4.2 for
Python 3.8 and 3.9, and Django 5.1 for Python 3.10+. This paragraph is likely
to be outdated in the future, the best way to get up-to-date info is to have a
look at the `django` dependency group section of the [package
configuration](https://github.com/procrastinate-org/procrastinate/blob/main/pyproject.toml#L78-81)

## Installation & configuration

To start, install procrastinate with:
Expand Down
13 changes: 1 addition & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,7 @@ procrastinate = 'procrastinate.cli:main'
[tool.uv]
cache-keys = [{ git = { commit = true, tags = true } }]
required-version = ">=0.5.21"
default-groups = [
"release",
"lint_format",
"pg_implem",
"django",
"test",
"docs",
]
default-groups = ["release", "lint_format", "pg_implem", "test", "docs"]

[dependency-groups]
types = ["django-stubs"]
Expand All @@ -80,10 +73,6 @@ pg_implem = [
"psycopg[binary,pool]; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version >= '3.10'",
"psycopg[pool]; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version < '3.10'",
]
django = [
"django<6; python_version < '3.10'",
"django; python_version >= '3.10'",
]
test = [
"pytest-asyncio",
"pytest-cov",
Expand Down
1 change: 0 additions & 1 deletion scripts/sync-pre-commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def main():
"--no-group=release",
"--no-group=lint_format",
"--no-group=pg_implem",
"--no-group=django",
"--no-group=test",
"--no-group=docs",
]
Expand Down
8 changes: 0 additions & 8 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading