Commit 5d169e9719e1ca8096c336accf0317b167444079
1 parent
c3eba869
Exists in
master
and in
1 other branch
fixed minimum python version to 3.7 in setuptools
Showing
2 changed files
with
4 additions
and
3 deletions
Show diff stats
aprendizations/learnapp.py
... | ... | @@ -117,11 +117,12 @@ class LearnApp(object): |
117 | 117 | if pw_ok: |
118 | 118 | if uid in self.online: |
119 | 119 | logger.warning(f'User "{uid}" already logged in, overwriting') |
120 | - counter = self.online[uid]['counter'] | |
120 | + counter = self.online[uid]['counter'] # simultaneous logins | |
121 | 121 | else: |
122 | 122 | logger.info(f'User "{uid}" logged in') |
123 | 123 | counter = 0 |
124 | 124 | |
125 | + # get topics of this student and set its current state | |
125 | 126 | with self.db_session() as s: |
126 | 127 | tt = s.query(StudentTopic).filter_by(student_id=uid) |
127 | 128 | ... | ... |
setup.py
1 | 1 | from setuptools import setup, find_packages |
2 | 2 | |
3 | 3 | from aprendizations import (__author__, __license__, |
4 | - APP_NAME, APP_VERSION, APP_DESCRIPTION) | |
4 | + APP_NAME, APP_VERSION, APP_DESCRIPTION) | |
5 | 5 | |
6 | 6 | with open("README.md", "r") as f: |
7 | 7 | long_description = f.read() |
... | ... | @@ -18,7 +18,7 @@ setup( |
18 | 18 | url="https:USERNAME//bitbucket.org/USERNAME/aprendizations.git", |
19 | 19 | packages=find_packages(), |
20 | 20 | include_package_data=True, # install files from MANIFEST.in |
21 | - python_requires='>=3.6.*', | |
21 | + python_requires='>=3.7.*', | |
22 | 22 | install_requires=[ |
23 | 23 | 'tornado', 'mistune', 'pyyaml', 'pygments', 'sqlalchemy', 'bcrypt', |
24 | 24 | 'networkx' | ... | ... |