Bug 262399 - www/py-requests: Update to 2.27.1
Summary: www/py-requests: Update to 2.27.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: Po-Chuan Hsieh
URL:
Keywords:
Depends on: 262181
Blocks: 262366
  Show dependency treegraph
 
Reported: 2022-03-07 13:39 UTC by takefu
Modified: 2022-06-01 16:59 UTC (History)
3 users (show)

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


Attachments
py-requests-2.27.1.patch (1.28 KB, patch)
2022-03-07 13:39 UTC, takefu
no flags Details | Diff
Update py-requests to 2.27.1, add the "socks" and "use_chardet_on_py3" option, fix test and change PORTVERSION to DISTVERSION (4.68 KB, patch)
2022-03-08 21:44 UTC, Niclas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.