Revamp the tox configuration.

Review Request #14921 — Created March 17, 2026 and updated

Information

Django Evolution
master

Reviewers

This change moves to the new TOML-based format for tox configuration,
and makes several fixes and improvements:

  • Fixed typos in postgres environments.
  • Fixed envlist to include db-specific environments for specific
    python/django combinations (before this was listed in the comments but
    didn't actually work).
  • Made it so our test setup will bail in the event that we're running
    with a db+django version that is not supported (since I still haven't
    figured out how to make this work with the tox config). This makes it
    so running dbtests-mysql5_7 won't fail with lots of errors when it
    tries to run against all the django4.2+ envs.
  • Tweaked Python versions for Django 4.x

Ran tests for various environments.

Summary ID
Revamp the tox configuration.
This change moves to the new TOML-based format for tox configuration, and makes several fixes and improvements: - Fixed typos in postgres environments. - Fixed envlist to include db-specific environments for specific python/django combinations (before this was listed in the comments but didn't actually work). - Made it so our test setup will bail in the event that we're running with a db+django version that is not supported (since I still haven't figured out how to make this work with the tox config). This makes it so running `dbtests-mysql5_7` won't fail with lots of errors when it tries to run against all the django4.2+ envs. - Tweaked Python versions for Django 4.x Testing Done: - Ran tests for various environments.
pzrwkkknoxowmwnuxtuvzoyqnlyuluwo
Description From Last Updated

line break before binary operator Column: 28 Error code: W503

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
david
david
Review request changed
Change Summary:

Fix meta-meta targets (dbtests-minmax, etc)

Commits:
Summary ID
Revamp the tox configuration.
This change moves to the new TOML-based format for tox configuration, and makes several fixes and improvements: - Fixed typos in postgres environments. - Fixed envlist to include db-specific environments for specific python/django combinations (before this was listed in the comments but didn't actually work). - Made it so our test setup will bail in the event that we're running with a db+django version that is not supported (since I still haven't figured out how to make this work with the tox config). This makes it so running `dbtests-mysql5_7` won't fail with lots of errors when it tries to run against all the django4.2+ envs. - Tweaked Python versions for Django 4.x Testing Done: - Ran tests for various environments.
pzrwkkknoxowmwnuxtuvzoyqnlyuluwo
Revamp the tox configuration.
This change moves to the new TOML-based format for tox configuration, and makes several fixes and improvements: - Fixed typos in postgres environments. - Fixed envlist to include db-specific environments for specific python/django combinations (before this was listed in the comments but didn't actually work). - Made it so our test setup will bail in the event that we're running with a db+django version that is not supported (since I still haven't figured out how to make this work with the tox config). This makes it so running `dbtests-mysql5_7` won't fail with lots of errors when it tries to run against all the django4.2+ envs. - Tweaked Python versions for Django 4.x Testing Done: - Ran tests for various environments.
pzrwkkknoxowmwnuxtuvzoyqnlyuluwo

Checks run (2 succeeded)

flake8 passed.
JSHint passed.