Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new python 3.12.1 not compatible? #40

Open
kalleick opened this issue May 12, 2024 · 2 comments
Open

new python 3.12.1 not compatible? #40

kalleick opened this issue May 12, 2024 · 2 comments
Labels
question Further information is requested

Comments

@kalleick
Copy link

Hi,
when i try to install with:
pip install git+https://github.com/JanCBrammer/OpenHRV.git
i get this error:
ERROR: Package 'openhrv' requires a different Python: 3.12.1 not in '==3.11.*'

can you upgrade your code or do you have a hint, what to do?

thx
Patrick

@JanCBrammer
Copy link
Owner

Thanks for your question @kalleick.
I've pinned the Python version to 3.11 (as well as the PySide6 version) for now to ensure compatibility and narrow down the problem space regarding Bluetooth issues.

If you're working with a local copy of the repository you could just relax the Python version yourself by changing

requires-python = "== 3.11.*"

Otherwise, you could try installing Python 3.11 (e.g., using https://github.com/pyenv/pyenv).

@JanCBrammer JanCBrammer added the question Further information is requested label May 24, 2024
@Maltimore
Copy link

I've done this today (relaxing the python version requirement) and can confirm that it works perfectly with python 3.9.2. It seems very likely then that it would work at least with python between (inclusive) 3.9 and 3.11. Maybe at some point you could consider relaxing the constraints in the official pyproject.toml, as it may help others who are not confident to change the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants