Skip to content

Commit

Permalink
no more bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Feb 22, 2024
1 parent ba3584f commit 2debadb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/config-testpypi-version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import argparse
import copy
import pathlib
Expand Down Expand Up @@ -44,7 +46,7 @@ def update(mapping, path, value, sep="/"):
# work around a bug in setuptools / setuptools-scm
with_setuptools_pin = copy.deepcopy(with_local_scheme)
requires = extract(with_setuptools_pin, "build-system.requires", sep=".")
requires[0] = "setuptools>=42,<60"
# requires[0] = "setuptools>=42,<60"

new_content = tomli_w.dumps(with_setuptools_pin)
args.path.write_text(new_content)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools>=69",
"wheel",
"setuptools_scm[toml]>=7.0",
"setuptools_scm>=8.0",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit 2debadb

Please sign in to comment.