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

[KF-5958] Upgrade to Python 3.10+ using Poetry #137

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ juju config knative-serving http-proxy=http://10.0.13.50:3128/ https-proxy=http:

#### Running using Notebook

##### Prerequistes
##### Prerequisites

Edit the [PodDefault](tests/proxy-poddefault.yaml.j2) to replace the placeholders for:

Expand Down
1,802 changes: 1,802 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

40 changes: 39 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,50 @@ log_cli_level = "INFO"
# Formatting tools configuration
[tool.black]
line-length = 99
target-version = ["py38"]
target-version = ["py312"]

[tool.isort]
line_length = 99
profile = "black"

[tool.poetry]
name = "kubeflow-uat"
version = "1.0"
description = "kubeflow-uat"
authors = []

[tool.poetry.dependencies]
python = ">=3.10"
juju = "<4.0"
lightkube = ">=0.15"
# pytest is transitive dependencies of other packages
# pytest = "^7.4"
pytest-operator = ">=0.31"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we pinning all those dependencies ... we had a practice to do that only if it is necessary .... where are those versions comming from ?

pytest-dependency = ">=0.6"
tenacity = ">=8.2"

[tool.poetry.group.fmt]
optional = true

[tool.poetry.group.fmt.dependencies]
black = {extras=["jupyter"], version=">=23.9"}
isort = ">=5.12"

[tool.poetry.group.lint]
optional = true

[tool.poetry.group.lint.dependencies]
black = {extras=["jupyter"], version=">=23.9"}
codespell = ">=2.2"
# Flake is transitive dependencies of other packages
# flake8 = ">=6.0"
flake8-builtins = ">=2.1"
flake8-copyright = ">=0.2"
isort = ">=5.12"
pep8-naming = ">=0.13"
pyproject-flake8 = ">=6.0.0"


# Linting tools configuration
[tool.flake8]
max-line-length = 99
Expand Down
2 changes: 0 additions & 2 deletions requirements-fmt.in

This file was deleted.

24 changes: 0 additions & 24 deletions requirements-fmt.txt

This file was deleted.

8 changes: 0 additions & 8 deletions requirements-lint.in

This file was deleted.

51 changes: 0 additions & 51 deletions requirements-lint.txt

This file was deleted.

6 changes: 0 additions & 6 deletions requirements.in

This file was deleted.

206 changes: 0 additions & 206 deletions requirements.txt

This file was deleted.

Loading