-
Notifications
You must be signed in to change notification settings - Fork 274
Python3 support #221
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
Merged
Merged
Python3 support #221
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
d5e861e
python3 all platform. py3 tests
hendolim b2ef63e
py3 test ci
hendolim f07dc7a
indent
hendolim 14ddbe5
install pkgs through dpkg or the likes
hendolim a493c3a
ci python3 image
hendolim 154b215
docker python3 image. more test
hendolim 8289f3a
have to use machine image
hendolim e101daf
trigger ci
hendolim fa09489
pip3 install
hendolim dab820c
try python3.5
hendolim 8d5f224
pip3 installation location varies. Just run it as a script
hendolim 0677632
py3first to fail fast
hendolim 5bdbb4b
order
hendolim 6919254
pylinter
hendolim 72a91cc
python3 alias
hendolim 2f1d972
see if machine image has python 3.4
hendolim 4ab80ba
bashenv to set alias
hendolim d037777
try with basrc first
hendolim cfffa19
indent bash env
hendolim 5aea308
maybe default bash env
hendolim 4d82357
symlink py3
hendolim 22e0725
Merge branch 'develop' into port-to-python3
hendolim 39c89a4
try unlink python3
hendolim 36d307e
figuring out where the pkgs are called from
hendolim bb95489
figuring out where the pkgs are called from
hendolim 209fb58
figuring out where the pkgs are called from
hendolim 0126085
figuring out where the pkgs are called from
hendolim 9a8aa06
figuring out where the pkgs are called from
hendolim 1398454
figuring out where the pkgs are called from
hendolim c569000
figuring out where the pkgs are called from
hendolim 15b15bd
might be able to use pyenv
hendolim f18e70c
might be able to use pyenv
hendolim b9c866a
might be able to use pyenv
hendolim b20e730
might be able to use pyenv
hendolim d1c4e49
might be able to use pyenv
hendolim d0723f3
might be able to use pyenv
hendolim fc32c77
might be able to use pyenv
hendolim a555747
might be able to use pyenv
hendolim b3afccc
resolved clashing pyenv python3
hendolim 8f65207
properlu update python3
hendolim 7b30744
properlu update python3
hendolim 2e5da74
properlu update python3
hendolim 78a5831
properlu update python3
hendolim 266aa62
properlu update python3
hendolim 22afcd5
properlu update python3
hendolim bd3764a
properlu update python3
hendolim 597d7e2
properlu update python3
hendolim 83fa915
pip3 on path
hendolim c321cb1
path source
hendolim 2adcbea
path source
hendolim bbc8478
custom python3
hendolim 3f56e57
custom python3
hendolim f51b802
use pyenv preference order to make python2 and 3 exists concurrently
hendolim 2b3a4ba
update pyenbv
hendolim d30c7d0
use py2 and py3 default version from pyenv
hendolim 8f3547c
adding pylint
hendolim 04c7669
disable pylint for now
hendolim 07c9790
test python3 installation inside container
hendolim fd87589
format
hendolim 7100176
published version ci
hendolim 5c1e5a8
empty commit
hendolim 42a33f6
epel repo works
hendolim 33a0b42
use 3.7.4
hendolim 816489d
use 3.7.4
hendolim d972c6d
use 3.7.4
hendolim 5188aad
py5
hendolim e3e399b
python default version check
hendolim d74bb02
ci config indent
hendolim 0bf6275
additional image layer for python2&3
hendolim 5b32318
added test for image size increase
hendolim c1366b7
adding image size test to ci
hendolim 7c64d3e
fix image size test
hendolim 0570ed7
Merge branch 'develop' into port-to-python3
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ARG SPLUNK_PRODUCT=splunk | ||
| FROM ${SPLUNK_PRODUCT}-centos-7:latest | ||
| USER root | ||
|
|
||
| RUN yum -y update | ||
| RUN yum -y install python36 python36-requests | ||
| RUN python3 -m ensurepip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ARG SPLUNK_PRODUCT=splunk | ||
| FROM ${SPLUNK_PRODUCT}-debian-10:latest | ||
| USER root | ||
|
|
||
| RUN apt update | ||
| RUN apt-get install -y --no-install-recommends python3 python3-pip python3-setuptools python3-requests python3-yaml | ||
| RUN pip3 --no-cache-dir install ansible | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ARG SPLUNK_PRODUCT=splunk | ||
| FROM ${SPLUNK_PRODUCT}-debian-9:latest | ||
| USER root | ||
|
|
||
| RUN apt-get update | ||
| RUN apt-get install -y --no-install-recommends python3 python3-pip python3-requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ARG SPLUNK_PRODUCT=splunk | ||
| FROM ${SPLUNK_PRODUCT}-redhat-8:latest | ||
| USER root | ||
|
|
||
| RUN microdnf -y --nodocs install python3 | ||
| RUN alternatives --set python /usr/bin/python2 | ||
| RUN pip3 -q --no-cache-dir install requests ansible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,4 @@ docker | |
| PyYAML | ||
| docker-compose | ||
| pyasn1 | ||
| junit-xml | ||
| junit-xml | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.