#4100 setup.py: Fix version retrieval on Python 3.13+
Merged by tkopecek. Opened by churchyard.
churchyard/koji python3.13  into  master

Download 4100.patch

Accessing version from locals() no longer works.

This was reported to Python in https://github.com/python/cpython/issues/118888
but according to Python developers, it:

  • is an intended change of behavior described in PEP 667
  • was an illegal usage that happens to work in a favored way to begin with

Fixes https://pagure.io/koji/issue/4101

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

:thumbsup:

Metadata Update from @tkopecek:
- Pull-request untagged with: testing-ready
- Pull-request tagged with: no_qe

Commit d982b5ac fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata