krzema12 / kotlin-python

Python target for the Kotlin Programming Language. See https://github.com/krzema12/kotlin-python/tree/python-backend/python
https://discuss.kotlinlang.org/t/idea-python-backend/19852
47 stars 1 forks source link

Reference python3 without minor version #131

Closed krzema12 closed 1 year ago

krzema12 commented 1 year ago

We're getting an error, see https://github.com/krzema12/kotlin-python/actions/runs/3871321841/jobs/6599026936

Execution failed for task ':python:box.tests:pythonTest'.
> There was a problem running 'python3.8' binary! Please ensure it's installed.

Let's see if not specifying Python's minor version helps.

SerVB commented 1 year ago

IIRC, the reason for using an exact python version was because of different reports for different versions. And this can be seen in this PR too 😅

Now, without an exact python version specified, be prepared that python can silently update and builds become suddenly broken...

Probably it's worth to specify something more up-to-date like python3.10 to avoid dropping the version. Or pre-installing 3.8...

krzema12 commented 1 year ago

Now, without an exact python version specified, be prepared that python can silently update and builds become suddenly broken...

Yeah, I'm aware of it and I want to address it somehow as a follow-up :) thanks!