Skip to content

Commit

Permalink
cookiecutter: Bump dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
  • Loading branch information
llucax committed Apr 16, 2024
1 parent 3430d11 commit 624fea9
Show file tree
Hide file tree
Showing 11 changed files with 214 additions and 83 deletions.
31 changes: 16 additions & 15 deletions cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies = [
]
{%- elif cookiecutter.type == "api" %}
dependencies = [
"frequenz-api-common >= 0.3.1, < 0.4.0",
"frequenz-api-common >= 0.5.0, < 0.6.0",
"googleapis-common-protos >= 1.56.2, < 2",
"grpcio >= 1.51.1, < 2",
]
Expand All @@ -61,26 +61,26 @@ email = "{{cookiecutter.author_email}}"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 6.1.0",
"flake8 == 7.0.0",
"flake8-docstrings == 1.7.0",
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
"pydoclint == 0.3.2",
"pydoclint == 0.4.1",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 23.9.1", "isort == 5.12.0"]
dev-formatting = ["black == 24.4.0", "isort == 5.13.2"]
dev-mkdocs = [
"black == 23.9.1",
"Markdown == 3.6.0",
"black == 24.4.0",
"mike == 2.0.0",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.4",
"mkdocs-material == 9.3.1",
"mkdocstrings[python] == 0.23.0",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.18",
"mkdocstrings[python] == 0.24.3",
"frequenz-repo-config[{{cookiecutter.type}}] == 0.9.1",
]
dev-mypy = [
"mypy == 1.5.1",
"mypy == 1.9.0",
{%- if cookiecutter.type == "api" %}
"grpc-stubs == 1.53.0.2",
{%- endif %}
Expand All @@ -89,21 +89,22 @@ dev-mypy = [
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2023.4.22",
"nox == 2024.4.15",
"frequenz-repo-config[{{cookiecutter.type}}] == 0.9.1",
]
dev-pylint = [
"pylint == 3.0.2",
# dev-pytest already defines a dependency to pylint because of the examples
# For checking the noxfile, docs/ script, and tests
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.0.0",
"pytest == 8.1.1",
"pylint == 3.1.0", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.9.1",
{%- if cookiecutter.type != "api" %}
"pytest-mock == 3.11.1",
"pytest-asyncio == 0.21.1",
"async-solipsism == 0.5",
"pytest-mock == 3.14.0",
"pytest-asyncio == 0.23.6",
"async-solipsism == 0.6",
{%- endif %}
]
dev = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,30 @@
"pypi_package_name": "frequenz-actor-test",
"github_repo_name": "frequenz-actor-test",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
},
"_cookiecutter": {
"Introduction": "{{cookiecutter | introduction}}",
"type": [
"actor",
"api",
"app",
"lib",
"model"
],
"name": "test",
"description": "Test description",
"title": "{{cookiecutter | proj_title}}",
"keywords": "(comma separated: 'frequenz', <type> and <name> are included automatically)",
"github_org": "frequenz-floss",
"license": [
"MIT",
"Proprietary"
],
"author_name": "Frequenz Energy-as-a-Service GmbH",
"author_email": "floss@frequenz.com",
"python_package": "{{cookiecutter | python_package}}",
"pypi_package_name": "{{cookiecutter | pypi_package_name}}",
"github_repo_name": "{{cookiecutter | github_repo_name}}",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,45 +43,46 @@ email = "floss@frequenz.com"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 6.1.0",
"flake8 == 7.0.0",
"flake8-docstrings == 1.7.0",
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
"pydoclint == 0.3.2",
"pydoclint == 0.4.1",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 23.9.1", "isort == 5.12.0"]
dev-formatting = ["black == 24.4.0", "isort == 5.13.2"]
dev-mkdocs = [
"black == 23.9.1",
"Markdown == 3.6.0",
"black == 24.4.0",
"mike == 2.0.0",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.4",
"mkdocs-material == 9.3.1",
"mkdocstrings[python] == 0.23.0",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.18",
"mkdocstrings[python] == 0.24.3",
"frequenz-repo-config[actor] == 0.9.1",
]
dev-mypy = [
"mypy == 1.5.1",
"mypy == 1.9.0",
"types-Markdown == 3.6.0.20240316",
# For checking the noxfile, docs/ script, and tests
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2023.4.22",
"nox == 2024.4.15",
"frequenz-repo-config[actor] == 0.9.1",
]
dev-pylint = [
"pylint == 3.0.2",
# dev-pytest already defines a dependency to pylint because of the examples
# For checking the noxfile, docs/ script, and tests
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.0.0",
"pytest == 8.1.1",
"pylint == 3.1.0", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.9.1",
"pytest-mock == 3.11.1",
"pytest-asyncio == 0.21.1",
"async-solipsism == 0.5",
"pytest-mock == 3.14.0",
"pytest-asyncio == 0.23.6",
"async-solipsism == 0.6",
]
dev = [
"frequenz-actor-test[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,30 @@
"pypi_package_name": "frequenz-api-test",
"github_repo_name": "frequenz-api-test",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
},
"_cookiecutter": {
"Introduction": "{{cookiecutter | introduction}}",
"type": [
"api",
"actor",
"app",
"lib",
"model"
],
"name": "test",
"description": "Test description",
"title": "{{cookiecutter | proj_title}}",
"keywords": "(comma separated: 'frequenz', <type> and <name> are included automatically)",
"github_org": "frequenz-floss",
"license": [
"MIT",
"Proprietary"
],
"author_name": "Frequenz Energy-as-a-Service GmbH",
"author_email": "floss@frequenz.com",
"python_package": "{{cookiecutter | python_package}}",
"pypi_package_name": "{{cookiecutter | pypi_package_name}}",
"github_repo_name": "{{cookiecutter | github_repo_name}}",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [
requires-python = ">= 3.11, < 4"
# TODO(cookiecutter): Remove and add more dependencies if appropriate
dependencies = [
"frequenz-api-common >= 0.3.1, < 0.4.0",
"frequenz-api-common >= 0.5.0, < 0.6.0",
"googleapis-common-protos >= 1.56.2, < 2",
"grpcio >= 1.51.1, < 2",
]
Expand All @@ -41,42 +41,43 @@ email = "floss@frequenz.com"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 6.1.0",
"flake8 == 7.0.0",
"flake8-docstrings == 1.7.0",
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
"pydoclint == 0.3.2",
"pydoclint == 0.4.1",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 23.9.1", "isort == 5.12.0"]
dev-formatting = ["black == 24.4.0", "isort == 5.13.2"]
dev-mkdocs = [
"black == 23.9.1",
"Markdown == 3.6.0",
"black == 24.4.0",
"mike == 2.0.0",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.4",
"mkdocs-material == 9.3.1",
"mkdocstrings[python] == 0.23.0",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.18",
"mkdocstrings[python] == 0.24.3",
"frequenz-repo-config[api] == 0.9.1",
]
dev-mypy = [
"mypy == 1.5.1",
"mypy == 1.9.0",
"grpc-stubs == 1.53.0.2",
"types-Markdown == 3.6.0.20240316",
# For checking the noxfile, docs/ script, and tests
"frequenz-api-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2023.4.22",
"nox == 2024.4.15",
"frequenz-repo-config[api] == 0.9.1",
]
dev-pylint = [
"pylint == 3.0.2",
# dev-pytest already defines a dependency to pylint because of the examples
# For checking the noxfile, docs/ script, and tests
"frequenz-api-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.0.0",
"pytest == 8.1.1",
"pylint == 3.1.0", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.9.1",
]
dev = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,30 @@
"pypi_package_name": "frequenz-app-test",
"github_repo_name": "frequenz-app-test",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
},
"_cookiecutter": {
"Introduction": "{{cookiecutter | introduction}}",
"type": [
"app",
"actor",
"api",
"lib",
"model"
],
"name": "test",
"description": "Test description",
"title": "{{cookiecutter | proj_title}}",
"keywords": "(comma separated: 'frequenz', <type> and <name> are included automatically)",
"github_org": "frequenz-floss",
"license": [
"MIT",
"Proprietary"
],
"author_name": "Frequenz Energy-as-a-Service GmbH",
"author_email": "floss@frequenz.com",
"python_package": "{{cookiecutter | python_package}}",
"pypi_package_name": "{{cookiecutter | pypi_package_name}}",
"github_repo_name": "{{cookiecutter | github_repo_name}}",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,45 +42,46 @@ email = "floss@frequenz.com"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 6.1.0",
"flake8 == 7.0.0",
"flake8-docstrings == 1.7.0",
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
"pydoclint == 0.3.2",
"pydoclint == 0.4.1",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 23.9.1", "isort == 5.12.0"]
dev-formatting = ["black == 24.4.0", "isort == 5.13.2"]
dev-mkdocs = [
"black == 23.9.1",
"Markdown == 3.6.0",
"black == 24.4.0",
"mike == 2.0.0",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.4",
"mkdocs-material == 9.3.1",
"mkdocstrings[python] == 0.23.0",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.18",
"mkdocstrings[python] == 0.24.3",
"frequenz-repo-config[app] == 0.9.1",
]
dev-mypy = [
"mypy == 1.5.1",
"mypy == 1.9.0",
"types-Markdown == 3.6.0.20240316",
# For checking the noxfile, docs/ script, and tests
"frequenz-app-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2023.4.22",
"nox == 2024.4.15",
"frequenz-repo-config[app] == 0.9.1",
]
dev-pylint = [
"pylint == 3.0.2",
# dev-pytest already defines a dependency to pylint because of the examples
# For checking the noxfile, docs/ script, and tests
"frequenz-app-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.0.0",
"pytest == 8.1.1",
"pylint == 3.1.0", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.9.1",
"pytest-mock == 3.11.1",
"pytest-asyncio == 0.21.1",
"async-solipsism == 0.5",
"pytest-mock == 3.14.0",
"pytest-asyncio == 0.23.6",
"async-solipsism == 0.6",
]
dev = [
"frequenz-app-test[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,30 @@
"pypi_package_name": "frequenz-test",
"github_repo_name": "frequenz-test-python",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
},
"_cookiecutter": {
"Introduction": "{{cookiecutter | introduction}}",
"type": [
"lib",
"actor",
"api",
"app",
"model"
],
"name": "test",
"description": "Test description",
"title": "{{cookiecutter | proj_title}}",
"keywords": "(comma separated: 'frequenz', <type> and <name> are included automatically)",
"github_org": "frequenz-floss",
"license": [
"MIT",
"Proprietary"
],
"author_name": "Frequenz Energy-as-a-Service GmbH",
"author_email": "floss@frequenz.com",
"python_package": "{{cookiecutter | python_package}}",
"pypi_package_name": "{{cookiecutter | pypi_package_name}}",
"github_repo_name": "{{cookiecutter | github_repo_name}}",
"default_codeowners": "(like @some-org/some-team; defaults to a team based on the repo type)"
}
}
Loading

0 comments on commit 624fea9

Please sign in to comment.