www/py-flask-restx: update to 1.3.2 Changes: https://github.com/python-restx/flask-restx/releases/tag/1.3.2 Reported by: GitHub (watch releases)18753712cd
Port details
www/py-flask-restx1.3.2
Extension for Flask that adds support for quickly building REST APIs
- Maintainer
- jbeich@FreeBSD.org
- Packages
- py312-flask-restx 1.3.2
- Upstream
- up to date
- CPE
flask-restx_project:flask-restx- WWW
- https://pypi.org/project/flask-restx/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (22)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
www/py-flask-restx: update to 1.3.0 Changes: https://github.com/python-restx/flask-restx/releases/tag/1.3.0 Reported by: GitHub (watch releases)361d91e43d
*: Fix build after 3232af18957315da73e0e4105cac869d8cb3c6b1 (www/py-flask PORTNAME change) Approved by: portmgr (blanket)8efcc1c369
www/py-flask-restx: unbreak after 3232af189573
>>> import flask_restx
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask_restx/api.py", line 18, in <module>
from flask.helpers import _endpoint_from_view_func
ImportError: cannot import name '_endpoint_from_view_func' from 'flask.helpers' (/usr/local/lib/python3.9/site-packages/flask/helpers.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/flask_restx/__init__.py", line 2, in <module>
from .api import Api # noqa
File "/usr/local/lib/python3.9/site-packages/flask_restx/api.py", line 20, in <module>
from flask.scaffold import _endpoint_from_view_func
ModuleNotFoundError: No module named 'flask.scaffold'0335abf426www/py-flask-restx: update to 1.2.0 Changes: https://github.com/python-restx/flask-restx/compare/1.1.0...1.2.0 Reported by: Repologyca0de55e84
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cwww/py-flask-restx: update to 1.1.0 Changes: https://github.com/python-restx/flask-restx/compare/0.5.1...1.1.0 Reported by: portscout8c379269d6
*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
www/py-flask-restx: unbreak after ce9d694b5868
>>> import flask_restx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/flask_restx/__init__.py", line 5, in <module>
from .api import Api # noqa
File "/usr/local/lib/python3.9/site-packages/flask_restx/api.py", line 50, in <module>
from .swagger import Swagger
File "/usr/local/lib/python3.9/site-packages/flask_restx/swagger.py", line 18, in <module>
from werkzeug.routing import parse_rule
ImportError: cannot import name 'parse_rule' from 'werkzeug.routing' (/usr/local/lib/python3.9/site-packages/werkzeug/routing/__init__.py)f902f7479fwww/py-flask-restx: update to 0.5.1 Changes: https://github.com/python-restx/flask-restx/compare/0.5.0...0.5.1 Reported by: Repology353e686b72
www/py-flask-restx: update to 0.5.0 Changes: https://github.com/python-restx/flask-restx/compare/0.4.0...0.5.0 Reported by: Repology93fd72ad2a
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-restx9dc986e31dwww/py-flask-restx: update to 0.4.0 Changes: https://github.com/python-restx/flask-restx/compare/0.3.0...0.4.0 Reported by: Repology43f07d4728
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
www/py-flask-restx: update to 0.3.0 Changes: https://github.com/python-restx/flask-restx/compare/0.2.0...0.3.0 Reported by: Repology4c47c324b2
Remove empty PY_ENUM34 from ports using Python 3.6+850accd611
Unbreak bulk -a05e7068032
www/py-flexget: update to 3.1.64 - Switch from flask-restplus to flask-restx, removing the former Changes: https://github.com/Flexget/Flexget/compare/v3.1.59...v3.1.64 PR: 244294c7566d79ab