protoc-gen-validate icon indicating copy to clipboard operation
protoc-gen-validate copied to clipboard

Release support for python 3.13

Open mspiller opened this issue 3 weeks ago • 2 comments

I just got hit by:

  File "project/.venv/lib/python3.13/site-packages/protoc_gen_validate/validator.py", line 70, in _validate_inner
    return locals()['generate_validate']
           ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'generate_validate'

I saw it is fixed in latest develop, but there is not release. Would it be possible to release minor version of this library.

mspiller avatar Dec 02 '25 16:12 mspiller

hey @mspiller, thanks for the shout — we tried to get a release out this morning, but the action failed, probably due to an upgrade in setuptools. Once we get that solved, we'll get the release published.

stefanvanburen avatar Dec 04 '25 16:12 stefanvanburen

I see. I checked locally and it works if I remove the whole line in setup.cfg:

version = env: SETUPTOOLS_SCM_PRETEND_VERSION

After that I could build with (and got correct wheel version):

SETUPTOOLS_SCM_PRETEND_VERSION=1.3.1 make python-release

mspiller avatar Dec 06 '25 08:12 mspiller

Closed by accident. I thought 1.3.0 was released since it's tagged in github, but it's missing on pypi. Any update?

mspiller avatar Dec 18 '25 19:12 mspiller