mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
www/py-flask-restx: unbreak after dcb0e109b8
$ 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
This commit is contained in:
parent
dd20d5d7b2
commit
9dc986e31d
@ -1,5 +1,6 @@
|
||||
PORTNAME= flask-restx
|
||||
PORTVERSION= 0.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
13
www/py-flask-restx/files/patch-requirements_install.pip
Normal file
13
www/py-flask-restx/files/patch-requirements_install.pip
Normal file
@ -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'
|
Loading…
Reference in New Issue
Block a user