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

Make python 3.6 the minimum version #2788

Merged
merged 1 commit into from Mar 25, 2021
Merged

Conversation

ulyssessouza
Copy link
Collaborator

Resolves #2767

@ulyssessouza ulyssessouza self-assigned this Mar 10, 2021
@ulyssessouza ulyssessouza marked this pull request as ready for review March 16, 2021 13:41
Copy link
Contributor

@feliperuhland feliperuhland left a comment

Choose a reason for hiding this comment

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

Hi, @ulyssessouza. I made some comments.

Have a nice day :)

@@ -1,11 +1,7 @@
ARG PYTHON_VERSION=2.7
ARG PYTHON_VERSION=3.7
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't that be 3.6?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For this one, it's the version on which it will be compiled. Doesn't have a relationship with the minimal version

@@ -73,7 +70,7 @@ def runTests = { Map settings ->
throw new Exception("Need Docker version to test, e.g.: `runTests(dockerVersion: '19.03.12')`")
}
if (!pythonVersion) {
throw new Exception("Need Python version being tested, e.g.: `runTests(pythonVersion: 'py2.7')`")
throw new Exception("Need Python version being tested, e.g.: `runTests(pythonVersion: 'py3.7')`")
Copy link
Contributor

Choose a reason for hiding this comment

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

Here too 3.6

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This one is the same as above. It's the version on which it will be tested. Not released.

@@ -1,4 +1,4 @@
ARG PYTHON_VERSION=2.7
ARG PYTHON_VERSION=3.7
Copy link
Contributor

Choose a reason for hiding this comment

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

And here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@gtardif gtardif left a comment

Choose a reason for hiding this comment

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

Same question as Felipe, + CI expected green build must be edited as currently the PR notifications list expected builds 3.5, 2.7

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
@ulyssessouza
Copy link
Collaborator Author

@gtardif For the CI question, I'm not sure from where it comes. That's maybe cached from previous build where it used to exist on github actions configuration. Since this PR removes it

Copy link
Contributor

@gtardif gtardif left a comment

Choose a reason for hiding this comment

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

LGTM

@aiordache aiordache merged commit 30d482d into master Mar 25, 2021
@aiordache aiordache added this to the 4.5.0 milestone Mar 25, 2021
@aiordache aiordache linked an issue Apr 6, 2021 that may be closed by this pull request
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.

Remove "support" for Python 3.5 as the new cryptography also drops it Remove Python 2 as it has hit EOL
4 participants