Bug 275212 - devel/py-diskcache: Switch to Django 4.2 and update test suite
Summary: devel/py-diskcache: Switch to Django 4.2 and update test suite
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-20 12:07 UTC by Kai Knoblich
Modified: 2023-11-20 12:07 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
py-diskcache-switch-to-django42.patch (1.04 KB, patch)
2023-11-20 12:07 UTC, Kai Knoblich
kai: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer 2023-11-20 12:07:14 UTC
Created attachment 246445 [details]
py-diskcache-switch-to-django42.patch

Hi Yuri,

attached is a patch that switches devel/py-diskcache from Django 4.1, which will become EoL at 2023-12-31, over to Django 4.2.

The patch also updates the test suite and converts it to USE_PYTHON=pytest. 

Altough devel/py-tox is defined in the setup.py using devel/py-pytest as the latter one uses the native system environment with its installed Python packages/libaries.

QA:
~~~
poudriere -> OK (12.4-RELEASE amd64 for py39)


Results of 'make test' (for py39):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> === 248 passed, 1 warning in NN.NNs ===