Bug 262399

Summary: www/py-requests: Update to 2.27.1
Product: Ports & Packages Reporter: takefu
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: jhale, n_carlsson, sunpoet
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 262181    
Bug Blocks: 262366    
Attachments:
Description Flags
py-requests-2.27.1.patch
none
Update py-requests to 2.27.1, add the "socks" and "use_chardet_on_py3" option, fix test and change PORTVERSION to DISTVERSION none

Description takefu 2022-03-07 13:39:10 UTC
Created attachment 232299 [details]
py-requests-2.27.1.patch

https://docs.python-requests.org/en/latest/community/updates/#release-history

fix
  pkg-descr
  Bug #260496
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2022-03-07 19:55:16 UTC
Maintainer reset.
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2022-03-08 02:42:08 UTC
Over to new maintainer.
Comment 3 Niclas 2022-03-08 21:44:25 UTC
Created attachment 232329 [details]
Update py-requests to 2.27.1, add the "socks" and "use_chardet_on_py3" option, fix test and change PORTVERSION to DISTVERSION

I was waiting for devel/py-coverage to add py-sqlite3 dependency so that test would work before posting this one.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262181
But since this PR was made I'll add it here.
Comment 4 Niclas 2022-03-08 22:50:22 UTC
Forgot to mention, some of the tests need root. Should the test command enforce it?
Comment 5 Niclas 2022-03-08 23:46:21 UTC
(In reply to Niclas from comment #4)
Sorry, apparently some of my pytest files and folders had been made with root privileges. Removed them and all tests work unprivileged.