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 8 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 @@ -213,7 +213,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,820 changes: 1,820 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

39 changes: 38 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,49 @@ 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 = "*"
# pytest is transitive dependencies of other packages
# pytest = "^7.4"
pytest-operator = "*"
pytest-dependency = "*"
tenacity = "*"

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

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

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

[tool.poetry.group.lint.dependencies]
black = {extras=["jupyter"], version="*"}
codespell = "*"
# Flake is transitive dependencies of other packages
# flake8 = ">=6.0"
flake8-builtins = "*"
flake8-copyright = "*"
isort = "*"
pep8-naming = "*"
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