Closed mraniki closed 1 year ago
Sorry I'm not sure where you're seeing v0.16.0 . This doesn't exist. About python 3.12, we haven't tested it with that version of python. It probably works but we're not sure.
It's when I build via poetry the way it is define create a conflict
I ended up fixing the dep in the toml:
pythorhead = {version ="^0.15.4", python = ">=3.10,<3.12"}
But anyone else that might use the package might face the issue.
here the GitHub action trace which got me the failure : https://github.com/mraniki/iamlistening/actions/runs/5788711231/job/15688234986
Are you using python 3.12?
no the run get's done on the 3.11 but due to the way you declare python, it create that dependency error. Anyway I got a walk around but might be good to review how it is defined. that is the first package that does that to me.
I honestly don't know poetry so I don't know why it's failing. A normal pip install is working for others.
I solved it with that: https://python-poetry.org/docs/dependency-specification/#multiple-constraints-dependencies
I'm also running into this error, I solved it with @mraniki's solution https://github.com/db0/pythorhead/issues/69#issuecomment-1669393947
The current project's Python requirement (>=3.10,<4.0) is not compatible with some of the required packages Python requirement:
Because pythorhead (0.15.4) requires Python <3.12,>=3.8 and no versions of pythorhead match >0.15.4,<0.16.0, pythorhead is forbidden. So, because iamlistening depends on pythorhead (^0.15.4), version solving failed.
• Check your dependencies Python requirement: The Python requirement can be specified via the
python
ormarkers
properties