Skip to content

Bump, widen and fix setuptools dependency #392

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

Merged
merged 2 commits into from
Apr 23, 2025
Merged
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
36 changes: 1 addition & 35 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,3 @@
# Frequenz Repository Configuration Release Notes

## Summary

<!-- Here goes a general summary of what this release is about -->

## Upgrading

<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->

### Cookiecutter template

All upgrading should be done via the migration script or regenerating the templates.

```bash
curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.12/cookiecutter/migrate.py | python3
```

But you might still need to adapt your code:

<!-- Here upgrade steps for cookiecutter specifically -->

## New Features

<!-- Here goes the main new features and examples or instructions on how to use them -->

### Cookiecutter template

<!-- Here new features for cookiecutter specifically -->

## Bug Fixes

<!-- Here goes notable bug fixes that are worth a special mention or explanation -->

### Cookiecutter template

<!-- Here bug fixes for cookiecutter specifically -->
This version only widens the `setuptools` dependency to support 79.x.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH

[build-system]
requires = ["setuptools == 78.1.0", "setuptools_scm[toml] == 8.2.0"]
requires = ["setuptools == 79.0.0", "setuptools_scm[toml] == 8.3.0"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -57,7 +57,7 @@ actor = []
api = [
"grpcio-tools >= 1.47.0, < 2",
"mypy-protobuf >= 3.0.0, < 4",
"setuptools >= 67.6.0, < 79",
"setuptools >= 67.6.0, < 80",
]
app = []
lib = []
Expand Down Expand Up @@ -88,7 +88,7 @@ dev-mkdocs = [
]
dev-mypy = [
"mypy == 1.15.0",
"types-setuptools >= 67.6.0, < 79", # Should match the api dependency
"types-setuptools >= 67.6.0, < 80", # Should match the api dependency
"types-Markdown == 3.7.0.20250322",
"types-PyYAML == 6.0.12.20250326",
"types-babel == 2.11.0.15",
Expand All @@ -101,7 +101,7 @@ dev-pylint = [
# dev-pytest already defines a dependency to pylint because of the examples
# For checking the noxfile, docs/ script, and tests
"frequenz-repo-config[dev-mkdocs,dev-noxfile,dev-pytest]",
"setuptools >= 67.6.0, < 76", # Should match the build dependency
"setuptools >= 67.6.0, < 80", # Should match the api dependency
]
dev-pytest = [
"pytest == 8.3.5",
Expand Down
Loading