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

Update dependencies for Python 3.11 #14

Open
ma-lalonde opened this issue Apr 4, 2023 · 3 comments
Open

Update dependencies for Python 3.11 #14

ma-lalonde opened this issue Apr 4, 2023 · 3 comments

Comments

@ma-lalonde
Copy link

Hi, I stumbled upon this cool project and tried to run it. Unfortunately, the latest Fedora releases come with Python 3.11 by default, and the current release package has the requirements Python >=3.7,<3.11 due to dependencies. Would you be able to update dependencies and release package to let mt5linux run with Python 3.11?

Best regards,

@ma-lalonde
Copy link
Author

ma-lalonde commented Apr 5, 2023

In the meantime, I got the example in README.md to work flawlessly in a pypoetry project with python 3.11.2 on Fedora 37 by cloning the code, removing the version numbers in requirements.txt, and building the wheel package with python -m build wheel. Then, replacing mt5linux in README.md with /path/to/mt5linux-something-something.whl.

The program doesn't seem to want to create a new directory for server.py either, even when specifying a path in ~/.
(I'm not a python professional)

@darkpowerxo
Copy link

Could you please update the numpy dependencies:

tensorflow 2.12.0 requires numpy<1.24,>=1.22, but you have numpy 1.24.2 which is incompatible. mt5linux 0.1.9 requires numpy==1.21.4, but you have numpy 1.24.2 which is incompatible.

@hpdeandrade
Copy link

Check out my fork in case you want to stick with a newer python version. Dependencies were updated and it works with Python 3.13.

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

No branches or pull requests

3 participants