Skip to content

Commit 92b9a7d

Browse files
Update Python 3.9 references to 3.10 (#1370)
Fixing one more release failure: https://github.com/bufbuild/protoc-gen-validate/actions/runs/22145968058/job/64023090922
1 parent e72f3dc commit 92b9a7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,14 @@ prepare-python-release:
143143
.PHONY: python-release
144144
python-release: prepare-python-release
145145
rm -rf python/dist
146-
python3.9 -m build --no-isolation --sdist python
147-
# the below command should be identical to `python3.9 -m build --wheel`
146+
python3.10 -m build --no-isolation --sdist python
147+
# the below command should be identical to `python3.10 -m build --wheel`
148148
# however that returns mysterious `error: could not create 'build': File exists`.
149149
# setuptools copies source and data files to a temporary build directory,
150150
# but why there's a collision or why setuptools stopped respecting the `build_lib` flag is unclear.
151151
# As a workaround, we build a source distribution and then separately build a wheel from it.
152-
python3.9 -m pip wheel --wheel-dir python/dist --no-deps python/dist/*
153-
python3.9 -m twine upload --verbose --skip-existing --repository ${PYPI_REPO} --username "__token__" --password ${PGV_PYPI_TOKEN} python/dist/*
152+
python3.10 -m pip wheel --wheel-dir python/dist --no-deps python/dist/*
153+
python3.10 -m twine upload --verbose --skip-existing --repository ${PYPI_REPO} --username "__token__" --password ${PGV_PYPI_TOKEN} python/dist/*
154154

155155
.PHONY: check-generated
156156
check-generated: ## run during CI; this checks that the checked-in generated code matches the generated version.

0 commit comments

Comments
 (0)