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

Migrate to Python 3.7 #270

Merged
merged 42 commits into from
Jan 2, 2020
Merged

Migrate to Python 3.7 #270

merged 42 commits into from
Jan 2, 2020

Conversation

dvvanessastoiber
Copy link
Contributor

@dvvanessastoiber dvvanessastoiber commented Dec 13, 2019

Required PR phovea/phovea_server#89

Changes according to wiki page

Summary

  • Use new Python 3.7 syntax and adapt import statements accordingly
  • Use adequate Docker and CircleCi images
  • Update requirements.txt and requirements_dev.txt
  • Remove .gitlab-ci.yml

dvvanessastoiber and others added 30 commits September 12, 2019 13:05
- in /.circleci/config.yml and gitlab-ci.yml
- set environment variable NODE_VERSION: 10.16.3 for this
Docker image
in _.travis.yml_ and _tox.ini_
`.values()` does not return an array in Python 3 but
wraps a `dict_values` wrapper around the data instead
-> use call to `list`
from `openpyxl.cell` instead of
 `openpyxl.worksheet.write_only` -> otherwise
module not found error
In Python 3, `d.keys()` returns an iterable instead of a `list`
done by  `BytesToStringEncoder`
the functions return an `iterable` in Python 3
Openpyxl does not allow you to write lists in
excel cells. By converting the `list` into a `string`
you can paste it into excel.
# Conflicts:
#	tdp_core/sql_filter.py
no longer available in Python 3
@dvvanessastoiber dvvanessastoiber added the type: refactor Refactor the current implementation label Dec 13, 2019
@dvvanessastoiber dvvanessastoiber requested review from thinkh and a user December 13, 2019 06:26
@dvvanessastoiber dvvanessastoiber assigned thinkh and ghost Dec 13, 2019
@ghost ghost removed the request for review from thinkh December 16, 2019 06:39
@ghost ghost unassigned thinkh Dec 16, 2019
@thinkh thinkh added the release: major PR merge results in a new major version label Jan 2, 2020
@thinkh thinkh marked this pull request as ready for review January 2, 2020 14:30
Copy link
Member

@thinkh thinkh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you work. Looks good! 👍

@thinkh thinkh self-assigned this Jan 2, 2020
@thinkh thinkh merged commit 25ec984 into develop Jan 2, 2020
@thinkh thinkh deleted the python_3.7 branch January 2, 2020 14:41
@thinkh thinkh mentioned this pull request Jan 13, 2020
29 tasks
@ghost ghost mentioned this pull request Mar 19, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: major PR merge results in a new major version type: refactor Refactor the current implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants