Bug 276138 - www/py-httpbin: Update to 0.10.1
Summary: www/py-httpbin: Update to 0.10.1
Status: Closed FIXED
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: 2024-01-06 05:27 UTC by Yuri Victorovich
Modified: 2024-01-08 17:43 UTC (History)
1 user (show)

See Also:
contact: maintainer-feedback+


Attachments
patch (5.13 KB, patch)
2024-01-06 05:27 UTC, Yuri Victorovich
no flags Details | Diff
Patch updating httpbin to 0.10.1 and fixing tests (8.92 KB, patch)
2024-01-08 13:38 UTC, Evilham
contact: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2024-01-06 05:27:51 UTC
Created attachment 247474 [details]
patch
Comment 1 Evilham 2024-01-08 13:34:34 UTC
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!
Comment 2 Evilham 2024-01-08 13:38:42 UTC
Created attachment 247529 [details]
Patch updating httpbin to 0.10.1 and fixing tests

This patch overrides the previously proposed one.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2024-01-08 17:35:07 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-01-08 17:43:11 UTC
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(-)