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

[feature] Added support for Ubuntu 20.04 (#189) #207

Merged
merged 2 commits into from
Sep 19, 2020

Conversation

PabloCastellano
Copy link
Contributor

(this PR integrates the work done in #190)

  • switched to use /usr/bin/python3 by default
  • python-virtualenv > python3-virtualenv
  • build in travis using ubuntu 20.04
  • add ubuntu 20.04 (focal) to meta info
  • handle redis 4/5 and dependencies
  • removed step to install python-wheel (installed by pip later)
  • simplified python3-virtualenv installation
  • pin channels_redis to 2.4 for redis 4 compatibility

Closes #189

@PabloCastellano PabloCastellano force-pushed the issue/189-add-support-ubuntu2004 branch from b2b664c to e8f6025 Compare September 16, 2020 14:58
- switched to use /usr/bin/python3 by default
- python-virtualenv > python3-virtualenv
- build in travis using ubuntu 20.04
- add ubuntu 20.04 (focal) to meta info
- handle redis 4/5 and dependencies
- removed step to install python-wheel (installed by pip later)
- simplified python3-virtualenv installation
- pin channels_redis to 2.4 for redis 4 compatibility

Closes #189
@PabloCastellano PabloCastellano force-pushed the issue/189-add-support-ubuntu2004 branch from e8f6025 to 30c1c34 Compare September 16, 2020 15:22
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Looks good, only one minor doubt below.

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
Copy link
Member

Choose a reason for hiding this comment

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

are you sure this is needed? The virtualenv should know the python version without the need of introducing this change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure now, but I probably made this change and then forgot to remove it 😁

@devkapilbansal
Copy link
Member

@PabloCastellano the type should be feature instead of feat

@nemesifier
Copy link
Member

nemesifier commented Sep 17, 2020

@PabloCastellano the type should be feature instead of feat

More info about that here: openwisp/openwisp-utils#110 (comment)

@nemesifier nemesifier force-pushed the issue/189-add-support-ubuntu2004 branch from 02755e3 to 26654f0 Compare September 18, 2020 23:47
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Fixed the minor issue 26654f0.

Thanks!

@nemesifier nemesifier merged commit ea8ad58 into master Sep 19, 2020
@nemesifier nemesifier changed the title [feat] Added support for Ubuntu 20.04 (#189) [feature] Added support for Ubuntu 20.04 (#189) Sep 19, 2020
@PabloCastellano PabloCastellano deleted the issue/189-add-support-ubuntu2004 branch September 21, 2020 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OS] Add support for Ubuntu 20 LTS
3 participants