Skip to content

[KED-2540] Why are old versions pinned in requirements.txt? #735

Closed
@FlorianGD

Description

Hello,

First of all, thank you for the great tool, I discovered that recently and I really like it so far.

Introduction

In the requirements.txt file that ships when doing kedro new, some packages' versions are pinned, and sometimes to rather old versions. For example, jupyterlab==0.31.1 whereas the latest available version is 3.0.12

Background

I want to use Kedro with the latest version of jupyter lab, especially because the UI to add a tag to a cell is much better.

Problem

My question is: why are the versions pinned, and can I update them or is it going to break Kedro internals?

Below, I took the requirements.txt in the template. I added comments with the latest versions in PyPI if they are excluded by the requirements.

black==v19.10b0  # latest is 20.8b1
flake8>=3.7.9, <4.0
ipython==7.10  # latest is 7.21.0
isort>=4.3.21, <5.0  # latest 5.8.0
jupyter~=1.0
jupyter_client>=5.1, <7.0
jupyterlab==0.31.1  # latest is 3.0.12
kedro=={{ cookiecutter.kedro_version }}
nbstripout==0.3.3  # latest is 0.3.9
pytest-cov~=2.5 
pytest-mock>=1.7.1, <2.0  # latest is 3.5.1
pytest~=6.1.2
wheel==0.32.2  # latest is 0.36.2

Metadata

Assignees

No one assigned

    Labels

    Issue: Feature RequestNew feature or improvement to existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions