Date: Sun, 23 May 2021 01:17:17 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9dc986e31d53 - main - www/py-flask-restx: unbreak after dcb0e109b877 Message-ID: <202105230117.14N1HHbV053733@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=9dc986e31d531fd75f4b7b5638254687292b75ad commit 9dc986e31d531fd75f4b7b5638254687292b75ad Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-05-23 01:09:50 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-05-23 01:16:33 +0000 www/py-flask-restx: unbreak after dcb0e109b877 $ flexget execute Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (Werkzeug 2.0.1 (/usr/local/lib/python3.8/site-packages), Requirement.parse('werkzeug<2.0.0'), {'flask-restx'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/flexget", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module> def _initialize_master_working_set(): File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'werkzeug<2.0.0' distribution was not found and is required by flask-restx --- www/py-flask-restx/Makefile | 1 + www/py-flask-restx/files/patch-requirements_install.pip | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/www/py-flask-restx/Makefile b/www/py-flask-restx/Makefile index fc7d8570f0ec..11dc18650dcf 100644 --- a/www/py-flask-restx/Makefile +++ b/www/py-flask-restx/Makefile @@ -1,5 +1,6 @@ PORTNAME= flask-restx PORTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-flask-restx/files/patch-requirements_install.pip b/www/py-flask-restx/files/patch-requirements_install.pip new file mode 100644 index 000000000000..8d42c6fe279d --- /dev/null +++ b/www/py-flask-restx/files/patch-requirements_install.pip @@ -0,0 +1,13 @@ +--- requirements/install.pip.orig 2021-05-12 12:55:49 UTC ++++ requirements/install.pip +@@ -1,8 +1,8 @@ + aniso8601==8.0.0; python_version < '3.5' + aniso8601>=0.82; python_version >= '3.5' + jsonschema +-Flask>=0.8, <2.0.0 +-werkzeug <2.0.0 ++Flask>=0.8 ++werkzeug + pytz + six>=1.3.0 + enum34; python_version < '3.4'home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105230117.14N1HHbV053733>
