Created attachment 220973 [details]
When I tried to even print the help message, cookiecutter complains of missing and outdated dependencies. Match what is in setup.py.
This includes a line for www/py-requests>=2.23.0, which is being addressed in another PR.
Thank you very much for the report. I guess we're waiting on 250941 for now, although I wonder if the absolute latest version of py-requests really is required? Python module versions in dependencies tend to be "what the developers tested with" which usually equates to "what was current when they ran the tests" and frequently don't include all of the dependency versions that could work just fine.
A commit references this bug:
Date: Mon Dec 28 10:14:38 UTC 2020
New revision: 559453
Fix `make test` to achieve 100% pass rate by converting entirely
unnecessary references to '/bin/bash' to use '/bin/sh' instead.
Update dependency versions to match 'setup.cfg' _except_ for
py-requests, where the ports currently has only 2.22.0 available, but
upstream is requiring at least 2.23.0. (Waiting on PR 250941) 
Submitted by: Charlie Li
Most of the dependency versions now match what upstream requires. Still waiting on PR 250941 for the devel/py-requests port to be updated to >2.23.0, but in the mean time do the best we can by requiring at least 2.22.0
After removing some gratuitous and entirely unnecessary use of '/bin/bash' -- the test scripts are along the lines of 'touch foo ; echo bar' -- we now have 100% of the tests passing.
I'll leave this PR open until I can sort out the py-requests dependency version properly.
koobs@ has commandeered the rest of the devel/py-requests stuff after some hints to progress forward. We've at least got their test suite under control so it's now onto consumers.
This port only requires at least 2.23.0 as stated in setup.cfg, but for the sake of other consumers in the tree in addition to shutting up portscout, that port's PR is for 2.25.1.
A commit in branch main references this bug:
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2021-05-22 20:48:04 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2021-05-22 20:52:24 +0000
devel/py-cookiecutter: Amend py-requests dependency version
With 7d02ece23c1a68 updating www/py-requests to the current version,
we can correctly match the version requirements from upstream.
Reported by: vishwin
devel/py-cookiecutter/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)