2022-01-31 10:48:36 by Thomas Klausner | Files touched by this commit (8) |
Log message:
*: depend on py-click via versioned_dependencies
|
2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289) |
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.
Set this flag for packages that need it and bump PKGREVISION.
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030) |
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Not committed (merge conflicts):
www/nghttp2/distinfo
Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
|
2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033) |
Log message:
www: Remove SHA1 hashes for distfiles
|
2020-05-17 22:18:36 by Adam Ciarcinski | Files touched by this commit (10) |
Log message:
pytest from versioned depends
|
2020-04-07 10:52:06 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-flask: updated to 1.1.2
Version 1.1.2
- Work around an issue when running the ``flask`` command with an
external debugger on Windows.
- The static route will not catch all URLs if the ``Flask``
``static_folder`` argument ends with a slash.
|
2019-07-13 11:28:59 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-flask: updated to 1.1.1
Version 1.1.1
The flask.json_available flag was added back for compatibility with some \
extensions. It will raise a deprecation warning when used, and will be removed \
in version 2.0.0.
Version 1.1.0
Bump minimum Werkzeug version to >= 0.15.
Drop support for Python 3.4.
Error handlers for InternalServerError or 500 will always be passed an instance \
of InternalServerError. If they are invoked due to an unhandled exception, that \
original exception is now available as e.original_exception rather than being \
passed directly to the handler. The same is true if the handler is for the base \
HTTPException. This makes error handler behavior more consistent.
Flask.finalize_request() is called for all unhandled exceptions even if there is \
no 500 error handler.
Flask.logger takes the same name as Flask.name (the value passed as \
Flask(import_name). This reverts 1.0’s behavior of always logging to \
"flask.app", in order to support multiple apps in the same process. A \
warning will be shown if old configuration is detected that needs to be moved.
flask.RequestContext.copy() includes the current session object in the request \
context copy. This prevents session pointing to an out-of-date object.
Using built-in RequestContext, unprintable Unicode characters in Host header \
will result in a HTTP 400 response and not HTTP 500 as previously.
send_file() supports PathLike objects as described in PEP 0519, to support \
pathlib in Python 3.
send_file() supports BytesIO partial content.
open_resource() accepts the “rt” file mode. This still does the same thing \
as “r”.
The MethodView.methods attribute set in a base class is used by subclasses.
Flask.jinja_options is a dict instead of an ImmutableDict to allow easier \
configuration. Changes must still be made before creating the environment.
Flask’s JSONMixin for the request and response wrappers was moved into \
Werkzeug. Use Werkzeug’s version with Flask-specific support. This bumps the \
Werkzeug dependency to >= 0.15.
The flask command entry point is simplified to take advantage of Werkzeug \
0.15’s better reloader support. This bumps the Werkzeug dependency to >= \
0.15.
Support static_url_path that ends with a forward slash.
Support empty static_folder without requiring setting an empty static_url_path \
as well.
jsonify() supports dataclasses.dataclass objects.
Allow customizing the Flask.url_map_class used for routing.
The development server port can be set to 0, which tells the OS to pick an \
available port.
The return value from cli.load_dotenv() is more consistent with the \
documentation. It will return False if python-dotenv is not installed, or if the \
given path isn’t a file.
Signaling support has a stub for the connect_via method when the Blinker library \
is not installed.
Add an --extra-files option to the flask run CLI command to specify extra files \
that will trigger the reloader on change.
Allow returning a dictionary from a view function. Similar to how returning a \
string will produce a text/html response, returning a dict will call jsonify to \
produce a application/json response.
Blueprints have a cli Click group like app.cli. CLI commands registered with a \
blueprint will be available as a group under the flask command..
When using the test client as a context manager (with client:), all preserved \
request contexts are popped when the block exits, ensuring nested contexts are \
cleaned up correctly.
Show a better error message when the view return type is not supported.
flask.testing.make_test_environ_builder() has been deprecated in favour of a new \
class flask.testing.EnvironBuilder.
The flask run command no longer fails if Python is not built with SSL support. \
Using the --cert option will show an appropriate error message.
URL matching now occurs after the request context is pushed, rather than when \
it’s created. This allows custom URL converters to access the app and request \
contexts, such as to query a database for an id.
|
2019-05-19 09:59:50 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-flask: updated to 1.0.3
Version 1.0.3
- :func:send_file encodes filenames as ASCII instead of Latin-1
(ISO-8859-1). This fixes compatibility with Gunicorn, which is
stricter about header encodings than PEP 3333.
- Allow custom CLIs using FlaskGroup to set the debug flag without
it always being overwritten based on environment variables.
- flask --version outputs Werkzeug's version and simplifies the
Python version.
- :func:send_file handles an attachment_filename that is a
native Python 2 string (bytes) with UTF-8 coded bytes.
- A catch-all error handler registered for HTTPException will not
handle RoutingExcpetion, which is used internally during
routing. This fixes the unexpected behavior that had been introduced
in 1.0.
- Passing the json argument to app.test_client does not
push/pop an extra app context.
|
2018-07-26 09:34:03 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-flask: remove patch that is not in distinfo
|