Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the upper bound for Flake8 dependency to <5.0 #1594

Merged
merged 12 commits into from
Jun 14, 2022
3 changes: 2 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@
* The file `conf/base/logging.yml` is now optional. See [our documentation](https://kedro.readthedocs.io/en/0.18.2/logging/logging.html) for details.

## Bug fixes and other changes
* Bumped `pyyaml` upper-bound to make Kedro compatible with the [pyodide](https://pyodide.org/en/stable/usage/loading-packages.html#micropip) stack.
* Bumped `pyyaml` upper bound to make Kedro compatible with the [pyodide](https://pyodide.org/en/stable/usage/loading-packages.html#micropip) stack.
* Updated project template's Sphinx configuration to use `myst_parser` instead of `recommonmark`.
* Reduced number of log lines by changing the logging level from `INFO` to `DEBUG` for low priority messages.
* Kedro's framework-side logging configuration no longer performs file-based logging. Hence superfluous `info.log`/`errors.log` files are no longer created in your project root, and running Kedro on read-only file systems such as Databricks Repos is now possible.
* The `root` logger is now set to the Python default level of `WARNING` rather than `INFO`. Kedro's logger is still set to emit `INFO` level messages.
* Bumped the upper bound for the Flake8 dependency to <5.0.
* `kedro jupyter notebook/lab` no longer reuses a Jupyter kernel.
* Required `cookiecutter>=2.1.1` to address a [known command injection vulnerability](https://security.snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281).

Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorial/tutorial_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The generic project template bundles some typical dependencies, in `src/requirem

```text
black==22.1.0 # Used for formatting code with `kedro lint`
flake8>=3.7.9, <4.0 # Used for linting code with `kedro lint`
flake8>=3.7.9, <5.0 # Used for linting code with `kedro lint`
ipython==7.0 # Used for an IPython session with `kedro ipython`
isort~=5.0 # Used for linting code with `kedro lint`
jupyter~=1.0 # Used to open a Kedro-session in Jupyter Notebook & Lab
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black~=22.0
flake8>=3.7.9, <4.0
flake8>=3.7.9, <5.0
ipython>=7.31.1, <8.0
isort~=5.0
jupyter~=1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black~=22.0
flake8>=3.7.9, <4.0
flake8>=3.7.9, <5.0
ipython>=7.31.1, <8.0
isort~=5.0
jupyter~=1.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cookiecutter>=2.1.1, <3.0
dynaconf>=3.1.2, <4.0
fsspec>=2021.4, <=2022.1
gitpython~=3.0
importlib_metadata>=4.4 # Compatible with Python 3.10 importlib.metadata
importlib_metadata>=3.6 # The "selectable" entry points were introduced in `importlib_metadata` 3.6 and Python 3.10.
deepyaman marked this conversation as resolved.
Show resolved Hide resolved
deepyaman marked this conversation as resolved.
Show resolved Hide resolved
jmespath>=0.9.5, <1.0
pip-tools~=6.5
pluggy~=1.0.0
Expand Down