Skip to content

Commit

Permalink
[KF-5958] Upgrade to Python 3.10+ using Poetry (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
deusebio authored Dec 12, 2024
1 parent 052769e commit 29ea01f
Show file tree
Hide file tree
Showing 20 changed files with 2,179 additions and 572 deletions.
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

0 comments on commit 29ea01f

Please sign in to comment.