You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit contains multiple changes that improve the
compatibility with python3.7.
In particular:
- bumps sioworkers version to 1.4 (without Celery, with pinned
dependencies, and some minor changes)
- pins dependencies versions
- migrates from slate+pdfminer+pdfminer3k to pdfminer.six for parsing pdf files
- resolves (10s of) unidecode warnings on python2
- makes enum34 a python2-only dependency
- migrates to badochov/djsupervisor - a django-supervisor fork that
supports python3
and other changes, mainly related to bytes/str differences between
python2 and python3.
The complete log of squashed commits:
commit 167f856
Author: Jakub Molinski <[email protected]>
Date: Tue Mar 23 10:51:03 2021 +0100
Pin sioworkers version
Change-Id: I821baeafc232248ed008e3a16622f3940912c411
commit 88f05ff
Author: Jakub Molinski <[email protected]>
Date: Mon Mar 22 19:44:04 2021 +0100
Update WIP comments
also isort & black
Change-Id: I7513d2903fbaf039e585f52c2de0e7c9e3dad011
commit db0a01f
Author: Hubert Badocha <[email protected]>
Date: Mon Mar 22 20:27:24 2021 +0100
Limited dependencies versions.
Pinned django-supervisor.
Limited to last version supporting python2:
- pygments
- shortuuid.
Limited to newest version rest of packages.
Change-Id: I786221b13ef996e51a7af30e392b26518f01a75a
commit e4d3653
Author: Jakub Molinski <[email protected]>
Date: Mon Mar 22 19:20:40 2021 +0100
Migrate to sioworkers version 1.4
- bumped required version to 1.4
- fixed celery configuration in default_settings.py
Change-Id: Ic7b03ffca5f0142fcedca968383ee4c3d0d20956
commit 055a09c
Author: Jakub Molinski <[email protected]>
Date: Sun Mar 14 14:26:25 2021 +0100
Reenable mail tests
Change-Id: I26f92a611d7167a021c49ddc99213acbd33bef7b
commit 5fd3203
Author: Jakub Molinski <[email protected]>
Date: Sun Mar 14 15:34:03 2021 +0100
Resolve unicode warings
Change-Id: I3331d6bb140f9164a89702edff71303337ef007f
commit f20546b
Author: Hubert Badocha <[email protected]>
Date: Sat Mar 13 22:44:44 2021 +0100
Readded pylint directive.
Moved enum34 to python2 specific packages.
Change-Id: Icd910407956195047f667ffe74936febeeba5b18
commit 3218993
Author: Hubert Badocha <[email protected]>
Date: Sat Mar 13 19:14:04 2021 +0100
Removed deprecated django import.
Fixed pylint issues in programs/test.py.
Reenabled treating warnings as errors in pylint.
Change-Id: I74de9904ca3a0e819fd54bec7cb001e235b73656
commit 2c41d24
Author: Jakub Molinski <[email protected]>
Date: Sat Mar 13 01:01:13 2021 +0100
Fix sending binary data in test client
Test client accepts the value as string and in python3 .decode changes
type from str to bytes, so the decoding needs to be done conditionally.
Change-Id: I0b9d3b594cddecd4960d21f2fa286327d7d940d8
commit d3e3a36
Author: Jakub Molinski <[email protected]>
Date: Fri Mar 12 20:05:48 2021 +0100
Change slate to pdfminer.six for parsing pdf
Slate and its dependencies do not support python2 and python3 very well.
I have replaced slate, slate3k, pdfminer and pdfminer3k dependencies
with a single dependency on pdfminer.six.
Change-Id: I59b2e42a74fe971e566bc504b1c8e1e219209e07
commit 70eaf4b
Author: Jakub Molinski <[email protected]>
Date: Fri Mar 12 14:55:24 2021 +0100
Fix detecting memory limit from package
Change-Id: I12283833a442389058495df21af7dbfc1842a6d8
commit 85eece1
Author: Hubert Badocha <[email protected]>
Date: Fri Mar 12 14:00:56 2021 +0100
Fixed problems apps.
Investigated evalmgr tests failures.
Change-Id: I1b9f976b4e4773e1acaa65564425c78f2bb0754d
commit 454849e
Author: Jakub Molinski <[email protected]>
Date: Fri Mar 12 14:05:07 2021 +0100
Fix text type problem in pa, checking dict keys presence in statistics
Change-Id: I66a789ade08c213a7e3c3ecb78b5245d802ecafd
commit 282b3c3
Author: Jakub Molinski <[email protected]>
Date: Fri Mar 12 13:14:28 2021 +0100
Pin some packages version so that tests use same env on py2 and py3
Change-Id: I5bca96d05246b8b60232caa242bf6c801bf65c8d
commit ef8f869
Author: Jakub Molinski <[email protected]>
Date: Fri Mar 12 13:10:47 2021 +0100
Make sure input passed to pipe is binary
Converts data passed to popen to binary (six.binary_type).
Temporarily comments-out mail tests.
Change-Id: Ib846c98f363f16545d57a70997e4bb9fcc6ba40f
commit 6992426
Author: Hubert Badocha <[email protected]>
Date: Fri Mar 12 00:26:17 2021 +0100
Changed djsupervisor and pytest.ini setting to be able to run test.
Fixed tests from problems.
Investigated failing tests from oireports and statistics.
Change-Id: I3488b6d02560a9a864c56936d0edacdb5d283650
commit 06e3c75
Author: Jakub Molinski <[email protected]>
Date: Thu Mar 11 21:48:58 2021 +0100
Change djsupervisor source repo in requirements_py3
Change-Id: I6749de4abfc96e597159cc3b90f63157df1b3fab
Change-Id: I26959bf871c9c761e7fb971d44966d7e7b9305c4
0 commit comments