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 the Agent build to embed Python 3.8.1 #4464

Merged
merged 45 commits into from
Feb 3, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a518ae7
Upgrade to Python 3.8
remeh Nov 13, 2019
e86a831
Update Python 3.8 hash (Linux).
remeh Nov 13, 2019
8e6ff1a
Update python3 shasum for windows.
remeh Nov 15, 2019
c79cdab
Merge branch 'master' into remeh/python-3.8
remeh Nov 15, 2019
2952536
Patch must be applied to Python 3.8 now.
remeh Nov 15, 2019
b354bdf
Update sha256 to reflect new zips
derekwbrown Nov 15, 2019
49406d1
omnibus: update pip3.
remeh Nov 18, 2019
a829a05
Merge branch 'remeh/python-3.8' of github.com:DataDog/datadog-agent i…
remeh Nov 18, 2019
aa0f231
omnibus: in order to use a more recent pip, we need a more recent pip…
remeh Nov 20, 2019
fd75ce0
Release note entry.
remeh Nov 20, 2019
776b240
Apply suggestions from code review
remeh Jan 8, 2020
47a07c8
Update releasenotes/notes/python-3-8-c66cde69f972eb1e.yaml
remeh Jan 8, 2020
7af37bf
tasks: use `distro` instead of `platform` to get running linux distri…
remeh Jan 8, 2020
9a6b8c7
gitlab-ci: install requirements deps for invoke tasks.
remeh Jan 8, 2020
a708eb0
Revert "gitlab-ci: install requirements deps for invoke tasks."
remeh Jan 8, 2020
6347fbe
gitlab-ci: use new builders shipping `distro` dep for invoke tasks.
remeh Jan 8, 2020
f27327c
gitlab-ci: ebpf tests also need the distro dep
remeh Jan 8, 2020
f7bf60e
gitlab-ci: builders images.
remeh Jan 8, 2020
08fd40a
general: update python 3 to 3.8.1
remeh Jan 8, 2020
3ad269a
gitlab-ci: install `distro` dep for python 3 in tests ebpf job.
remeh Jan 8, 2020
51ba077
Merge branch 'master' into remeh/python-3.8
remeh Jan 8, 2020
0fbb6e4
gitlab-ci: merge WINBUILDIMAGES and BUILDERS vars.
remeh Jan 8, 2020
d8fad95
omnibus: python3.8.1 checksum.
remeh Jan 8, 2020
c906689
gitlab-ci: merge ARMBUILDIMAGES and BUILDIMAGES env vars.
remeh Jan 8, 2020
68564e2
omnibus/python3: update sha256sum of windows archives.
remeh Jan 21, 2020
ad35a0b
empty commit, can't find my pipeline
remeh Jan 24, 2020
0289aa7
Merge remote-tracking branch 'origin/master' into remeh/python-3.8
remeh Jan 27, 2020
e6d26ff
tasks: python 3.8 compliant.
remeh Jan 27, 2020
054c974
omnibus/python3: update wheel dep to 0.34.1
remeh Jan 28, 2020
aec9feb
appveyor: configure appveyor to use python 3.8
remeh Jan 28, 2020
aaf1e76
python3: updated python 3.8.1 32bits for windows sha256sum
remeh Jan 28, 2020
b139ce4
omnibus/pkg-scripts: remove downloader data for both 3.7 & 3.8 pythons
remeh Jan 29, 2020
3a7f9bb
omnibus: remove pythons download data at the right moment only.
remeh Jan 29, 2020
427eba3
omnibus: properly call remove_downlaoder_data for centos.
remeh Jan 29, 2020
e989e67
Merge branch 'master' into remeh/python-3.8
remeh Jan 29, 2020
b730297
gitlab: use new builders images.
remeh Jan 30, 2020
0d841b7
gitlab: use builders images merged in master.
remeh Jan 30, 2020
e3e0a80
gitlab-ci: use the requirements.txt while installing distro for the e…
remeh Jan 31, 2020
0ac14bb
tasks/build_tags: proper entry for redhat since we switched to distro…
remeh Jan 31, 2020
de4142d
packages-scripts: also remove python 3.8 in preinst
remeh Jan 31, 2020
8dc2f7c
Revert "omnibus: properly call remove_downlaoder_data for centos."
remeh Jan 31, 2020
4fdc101
releasesnotes: update python 3.8.1 release note entry.
remeh Jan 31, 2020
71f51ad
Update releasenotes/notes/python-3-8-c66cde69f972eb1e.yaml
remeh Feb 3, 2020
df362eb
releasenotes: adapt python 3.8.1 release note entry.
remeh Feb 3, 2020
ca1e959
releasenotes: remove mention of a7 py version.
remeh Feb 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tasks: use distro instead of platform to get running linux distri…
…bution.
  • Loading branch information
remeh committed Jan 8, 2020
commit 7af37bf1155d7ca4c9523259b904a9f2c11c3002
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ docker==3.0.1
requests==2.20.1
PyYAML==5.1
toml==0.9.4
distro==1.4.0
4 changes: 2 additions & 2 deletions tasks/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import shutil
import sys
import platform
import distro
from distutils.dir_util import copy_tree

import invoke
Expand Down Expand Up @@ -103,7 +103,7 @@ def build(ctx, rebuild=False, race=False, build_include=None, build_exclude=None
build_exclude.append(ex)

# remove all tags that are only available on debian distributions
distname = platform.linux_distribution()[0].lower()
distname = distro.id().lower()
olivielpeau marked this conversation as resolved.
Show resolved Hide resolved
if distname not in REDHAT_AND_DEBIAN_DIST:
for ex in REDHAT_AND_DEBIAN_ONLY_TAGS:
if ex not in build_exclude:
Expand Down
4 changes: 2 additions & 2 deletions tasks/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import shutil
import sys
import platform
import distro
from distutils.dir_util import copy_tree

import invoke
Expand Down Expand Up @@ -62,7 +62,7 @@ def build(ctx, rebuild=False, race=False, build_include=None, build_exclude=None
build_exclude.append(ex)

# remove all tags that are only available on debian distributions
distname = platform.linux_distribution()[0].lower()
distname = distro.id().lower()
if distname not in REDHAT_AND_DEBIAN_DIST:
for ex in REDHAT_AND_DEBIAN_ONLY_TAGS:
if ex not in build_exclude:
Expand Down
4 changes: 2 additions & 2 deletions tasks/build_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Utilities to manage build tags
"""
import sys
import platform
import distro
from invoke import task

# ALL_TAGS lists any available build tag
Expand Down Expand Up @@ -69,7 +69,7 @@ def get_default_build_tags(puppy=False):
exclude = [] if sys.platform.startswith('linux') else LINUX_ONLY_TAGS

# remove all tags that are only available on debian distributions
distname = platform.linux_distribution()[0].lower()
distname = distro.id().lower()
if distname not in REDHAT_AND_DEBIAN_DIST:
exclude = exclude + REDHAT_AND_DEBIAN_ONLY_TAGS

Expand Down