Skip to content
Myr

Merge branch '2.3.x'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parents c9b6110, 9930b0f · Browse files · 8 files+22 added−12 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

8 files+22 added−12 removed

  • other:+22 added−12 removed

8 files+22 added−12 removed

modified:requirements/tests-pallets-min.in+1 added-1 removed
1Werkzeug==2.3.31Werkzeug==2.3.52Jinja2==3.1.23MarkupSafe==2.1.14itsdangerous==2.1.25click==8.1.3
1 unmodified line
modified:requirements/tests-pallets-min.txt+2 added-2 removed
1# SHA1:0b58503b99aabc227b7f39357216d676d9987a121# SHA1:c4bfd085a9d4e81c583daf70671803d5e388c6562#3# This file is autogenerated by pip-compile-multi4# To update, run:5#
11 unmodified lines
17 # via18 # -r requirements/tests-pallets-min.in19 # jinja220 # werkzeug21werkzeug==2.3.321werkzeug==2.3.522 # via -r requirements/tests-pallets-min.in
modified:src/flask/__init__.py+1 added-1 removed
36 unmodified lines
37from .templating import render_template_string as render_template_string38from .templating import stream_template as stream_template39from .templating import stream_template_string as stream_template_string4041__version__ = "2.3.2"41__version__ = "2.3.3.dev"424344def __getattr__(name):45 if name == "_app_ctx_stack":
57 unmodified lines
modified:src/flask/helpers.py+3 added-2 removed
1from __future__ import annotations23import importlib.util4import os4import pkgutil5import socket6import sys7import typing as t8import warnings
565 unmodified lines
574 if mod is not None and hasattr(mod, "__file__") and mod.__file__ is not None:575 return os.path.dirname(os.path.abspath(mod.__file__))576577 # Next attempt: check the loader.578 loader = pkgutil.get_loader(import_name)578 spec = importlib.util.find_spec(import_name)579 loader = spec.loader if spec is not None else None580581 # Loader does not exist or we're referring to an unloaded main582 # module or a main module without path (interactive sessions), go583 # with the current working directory.
111 unmodified lines
modified:src/flask/scaffold.py+2 added-2 removed
1 unmodified line
23import importlib.util4import os5import pathlib6import pkgutil6import sys7import typing as t8from collections import defaultdict9from datetime import timedelta
844 unmodified lines
854 else:855 return os.path.dirname(root_spec.origin)856857 # we were unable to find the `package_path` using PEP 451 loaders859 loader = pkgutil.get_loader(root_mod_name)858 spec = importlib.util.find_spec(root_mod_name)859 loader = spec.loader if spec is not None else None860861 if loader is None or root_mod_name == "__main__":862 # import name is not found, or interactive/main module863 return os.getcwd()
60 unmodified lines
modified:.pre-commit-config.yaml+1 added-1 removed
modified:CHANGES.rst+9 added
1Version 2.3.32-------------34Unreleased56- Python 3.12 compatibility.7- Update Werkzeug requirement to >=2.3.5.8910Version 2.3.211-------------1213Released 2023-05-01
1501 unmodified lines
modified:pyproject.toml+3 added-3 removed