Update pytest for django-evolution release-2.x.

Review Request #14867 — Created March 2, 2026 and submitted

Information

Django Evolution
release-2.x

Reviewers

pip audit is showing an insecure dependency on py with no available
fix. It seems like that package is getting pulled in by the very old
version of pytest-env that was pinned in dev-requirements.txt. This
change updates pytest and pytest-env for modern(ish) versions of Python.

Ran unit tests.

Summary ID
Update pytest for django-evolution release-2.x.
`pip audit` is showing an insecure dependency on `py` with no available fix. It seems like that package is getting pulled in by the very old version of pytest-env that was pinned in dev-requirements.txt. This change updates pytest and pytest-env for modern(ish) versions of Python. Testing Done: Ran unit tests.
oplprvopwynoovkyvnvznzzmxyrowrvp
chipx86
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.x (2036cb7)