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

Is there a version of this that runs on Python 3.x? #8

Closed
blm-unikent opened this issue May 29, 2019 · 6 comments

Comments

@blm-unikent
Copy link

commented May 29, 2019

If I run from a Python 2.7 environment (end of life soon) I can pip install moodlemlbackend with no problem.

However, whether in a python or conda docker container or on my linux workstation I set up a Python 3.6 or 3.7 environment the dependencies require a build that fails under pip install moodlemlbackend

Do you have a requirements list or Python version 3+ that can run pip install and work?

@dmonllao

This comment has been minimized.

Copy link
Member

commented Jun 2, 2019

Hi @blm-unikent. Thanks for creating the issue. This is in my todo list. We will bump the dependency requirements during the next months and the package will run correctly on python 2.x and 3.x. I will post an update here once done.

@dmonllao

This comment has been minimized.

Copy link
Member

commented Jun 24, 2019

Hi @blm-unikent. I've just installed the current moodle-mlbackend-python package on python 3 in a docker container without further changes (The image is based on debian:stretch-slim).

The container uses python 3.5.3. However, I can't install it in a system running python 3.6.8. The package may be compatible with 3.5.3 but not with 3.6 and higher. In any case, we expect to this this during the upcoming months.

@dmonllao

This comment has been minimized.

Copy link
Member

commented Jul 3, 2019

FYI: https://tracker.moodle.org/browse/MDL-66069. I propose to support python 2.7, 3.4, 3.5 and 3.6 in stable versions (Moodle 3.6 and 3.7) and to support 3.4, 3.5, 3.6 and 3.7 in master (Moodle 3.8dev).

@brianlmerritt

This comment has been minimized.

Copy link

commented Jul 3, 2019

Great - thanks for the update. I can't find that item on the tracker.moodle site - is it private?

@dmonllao

This comment has been minimized.

Copy link
Member

commented Jul 4, 2019

Hi @brianlmerritt, yes, it is private because it is a security MDL (there is a security bug in one of the dependencies we use).

You can see the proposed patches here

@dmonllao

This comment has been minimized.

Copy link
Member

commented Sep 3, 2019

Closing as #9 and #10 have been integrated.

@dmonllao dmonllao closed this Sep 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.