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

Upgrade dependencies to py3-compatible versions #378

Closed
29 tasks done
julen opened this issue Dec 16, 2019 · 0 comments
Closed
29 tasks done

Upgrade dependencies to py3-compatible versions #378

julen opened this issue Dec 16, 2019 · 0 comments
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@julen
Copy link
Contributor

julen commented Dec 16, 2019

Let's upgrade our direct library dependencies to their latest versions supporting both py2 and py3. With this we'll be able to later on switch our testing matrix to run on py3.

Here's the list of all our current direct dependencies, with the specific versions we can upgrade to:

Django and apps

  • Django==1.11.18 (1.11.26 is the last released version supporting both py2 and py3)

  • django-allauth==0.30.0 (0.40 is the last released version supporting both py2 and py3)

  • django-assets==0.12 (latest version already, supports both py2 and py3)

  • django-contact-form==1.4.2 (1.7 is the last released version supporting both py2 and py3)

  • django-contrib-comments==1.8.0 (1.9.1 is the last released version supporting both py2 and py3)

  • django-redis==4.9.1 (4.10.0 is the last released version supporting both py2 and py3)

  • django-rq==1.0.0 (2.1.0 is the last released version supporting both py2 and py3)

  • django-statici18n==1.5.0 (1.8.3 is the last released version supporting both py2 and py3)

Libraries

  • cssmin==0.2.0 (dependency of django-assets, no longer maintained)
  • elasticsearch>=1.0.0,<2.0.0 (the library already supports py2+py3, the version to use depends on the runtime. See Upgrade ElasticSearch version requirement #350 for further details)
  • lxml==4.2.1 (4.4.2 is the last released version supporting both py2 and py3)
  • python-dateutil==2.5.3 (2.8.1 is the last released version supporting both py2 and py3)
  • python-levenshtein==0.12.0 (latest version already, supports both py2 and py3)
  • rq==0.7.1 (1.1.0 is the last released version supporting both py2 and py3)

Translate Toolkit

  • translate-toolkit==2.2.5 (2.4.0 is the last released version supporting both py2 and py3)

Database

  • mysqlclient>=1.3.3 (1.4.6 is the last released version supporting both py2 and py3)
  • psycopg2>=2.4.5 (2.8.4 is the last released version supporting both py2 and py3)

Logging

  • raven==6.5.0 (to be upgraded/replaced by sentry-python)

Testing

  • factory_boy==2.8.1 (2.12.0 is the last released version supporting both py2 and py3)
  • fakeredis==0.8.1 (1.1.0 is the last released version supporting both py2 and py3)
  • pytest==3.0.2 (4.6 is the last series supporting py2 and py3, https://docs.pytest.org/en/latest/py27-py34-deprecation.html)
  • pytest-catchlog==1.2.2 (latest version already, supports both py2 and py3) (this is now part of pytest)
  • pytest-cov==2.3.1 (2.8.1 is the last released version supporting both py2 and py3)
  • pytest-django==3.1.2 (3.7.0 is the last released version supporting both py2 and py3)

Linting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant