cairographics.org/pycairo#2760
Conversation
| PYTHONPATH: "{{prefix}}/lib/python3.11/site-packages:$PYTHONPATH" | ||
| build: | ||
| dependencies: | ||
| freedesktop.org/pkg-config: '*' | ||
| python.org: ^3.11 |
There was a problem hiding this comment.
If you're going to lock the directory via PYTHONPATH, then I think you probably need to lock the version as well, to ~3.11. Possibly that could instead be worked around with symlinks? ln -s python{{version.marketing}} python{{version.major}}?
There was a problem hiding this comment.
I did with {{deps.python.org.version.marketing}}
So will it be ok?
| cairographics.org: '*' | ||
| runtime: | ||
| env: | ||
| PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH" |
There was a problem hiding this comment.
Actually, this probably won't work. Since it doesn't have a runtime dep on python. So, we'd either have to hardcode it to 3 (which is probably what we need to do), or something else that probably won't work.
There was a problem hiding this comment.
Yes, you are right. I did not think about the fact that Python is not in runtime
closes #514