Created attachment 247474 [details] patch
Nice, less local patches! Or so I thought :-). While checking this patch, I noticed that some things could break with the change to werkzeug 3.X. Also, that we can use the chance to change the WWW. It seems awfully misleading that it is that repository, while it now probably should be: https://github.com/psf/httpbin or https://pypi.org/project/httpbin/ It seems... not to have been solved ideally, hadn't noticed really. While there, I applied patches from Fedora (care, their comment has a wrong version number), which should be kept while https://github.com/psf/httpbin/issues/36 is open. See: https://src.fedoraproject.org/rpms/python-httpbin/c/54fe8e1f94f208b16ef0588e4eb69aaa107e9867?branch=rawhide All in all, I'd propose a different patch improving on this one, thanks for starting it!
Created attachment 247529 [details] Patch updating httpbin to 0.10.1 and fixing tests This patch overrides the previously proposed one.
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c9938cd6a315180087ea9a1160515fd23c84bbb7 commit c9938cd6a315180087ea9a1160515fd23c84bbb7 Author: Evilham <contact@evilham.com> AuthorDate: 2024-01-08 17:34:19 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-01-08 17:41:49 +0000 www/py-httpbin: update 0.7.0 → 0.10.1 PR: 276138 www/py-httpbin/Makefile | 32 +++++++++-------- www/py-httpbin/distinfo | 6 ++-- www/py-httpbin/files/patch-httpbin-core.py (gone) | 11 ------ www/py-httpbin/files/patch-httpbin_core.py (new) | 40 +++++++++++++++++++++ .../files/patch-httpbin_helpers.py (new) | 41 ++++++++++++++++++++++ www/py-httpbin/files/patch-test__httpbin.py (gone) | 24 ------------- 6 files changed, 102 insertions(+), 52 deletions(-)