Skip to content

Commit acc3401

Browse files
authored
Build source packages with PEP 625 compliant filenames (#285)
We bump `setuptools` (and related dependencies) so the built source packages have PEP 625 compliant filenames. This is required by PyPI: > In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625. Any source distributions already uploaded will remain in place as-is and do not need to be updated. > > Specifically, your recent upload of 'frequenz-api-common-0.6.4.tar.gz' is incompatible with PEP 625 because it does not contain the normalized project name 'frequenz_api_common'.
2 parents 7283271 + b6c21dd commit acc3401

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pyproject.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
[build-system]
55
requires = [
6-
"setuptools == 68.1.0",
7-
"setuptools_scm[toml] == 7.1.0",
8-
"frequenz-repo-config[api] == 0.9.2",
6+
"setuptools == 75.8.0",
7+
"setuptools_scm[toml] == 8.1.0",
8+
"frequenz-repo-config[api] == 0.11.0",
99
# We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
1010
# sure the code is generated using the minimum supported versions, as older
1111
# versions can't work with code that was generated with newer versions.
@@ -62,23 +62,23 @@ dev-mkdocs = [
6262
"mkdocs-literate-nav == 0.6.1",
6363
"mkdocs-material == 9.5.21",
6464
"mkdocstrings[python] == 0.25.1",
65-
"frequenz-repo-config[api] == 0.9.2",
65+
"frequenz-repo-config[api] == 0.11.0",
6666
]
6767
dev-mypy = [
6868
"mypy == 1.10.0",
6969
"grpc-stubs == 1.53.0.5",
7070
# For checking the noxfile, docs/ script, and tests
7171
"frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]",
7272
]
73-
dev-noxfile = ["nox == 2024.4.15", "frequenz-repo-config[api] == 0.9.2"]
73+
dev-noxfile = ["nox == 2024.4.15", "frequenz-repo-config[api] == 0.11.0"]
7474
dev-pylint = [
7575
"pylint == 3.1.0",
7676
# For checking the noxfile, docs/ script, and tests
7777
"frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]",
7878
]
7979
dev-pytest = [
8080
"pytest == 8.2.0",
81-
"frequenz-repo-config[extra-lint-examples] == 0.9.2",
81+
"frequenz-repo-config[extra-lint-examples] == 0.11.0",
8282
]
8383
dev = [
8484
"frequenz-api-common[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",

0 commit comments

Comments
 (0)