Skip to content

Commit

Permalink
security/theonionbox: Fix build with py-urllib3 1.26.5
Browse files Browse the repository at this point in the history
- While I'm here, update version requirement of RUN_DEPENDS
  • Loading branch information
sunpoet committed Jul 24, 2021
1 parent 723b9b7 commit 3da1ad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion security/theonionbox/Makefile
Expand Up @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}apscheduler>=3.4:devel/py-apscheduler@${PY_F
${PYTHON_PKGNAMEPREFIX}requests>2.18:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stem>=1.5.4:security/py-stem@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tzlocal>=1.5:devel/py-tzlocal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.22:net/py-urllib3@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1,1<1.27,1:net/py-urllib3@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} # workaround for bug#230613: missing internal sqlite3 module in python

USES= python:3.6+
Expand Down
2 changes: 1 addition & 1 deletion security/theonionbox/files/patch-setup.py
Expand Up @@ -32,7 +32,7 @@
'tzlocal>=1.5',
'futures>=3.2; python_version<"3.0"',
- 'urllib3>=1.24.2, <1.25' # '<1.25' due to requests 2.21 requirement
+ 'urllib3>=1.21.1,<1.26' # copied (except the exclusions) from requests 2.22
+ 'urllib3>=1.21.1,<1.27' # copied (except the exclusions) from requests 2.25.1
],
long_description_content_type='text/x-rst; charset=UTF-8',
classifiers=[

0 comments on commit 3da1ad5

Please sign in to comment.