#2968 fix python version parsing for py 3.10
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji fixpyparse  into  master

Download 2968.patch

py 3.10 was parsed as py 3.1

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

I did some tests with this pr.
It might be:

PYVER := $(shell $(PYTHON) -c 'import sys; print(".".join(sys.version.split(".")[0]))')
  • '.' should be quoted as "."
  • PYVER should be an integer as a decimal is not accepted by -lt test.

I've remade it to just major version as we're not testing anything else there now.

rebased onto ebb86221cb33c3907e1876a7ba3c2ed1c388d1dc

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

:thumbsup:

rebased onto 5f65cf63b7d0822b6fdc7f93c96122929b10fcc3

Commit abefeccb fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata