-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ability to run unit tests in a Docker container * Remove support for Python 3.7 * Add support for Python 3.12 * Remove support for Google Ads API v13 * Move to implicit namespace, remove usage of pkg_resources
- Loading branch information
Showing
1,893 changed files
with
3,102 additions
and
213,890 deletions.
There are no files selected for viewing
This file contains 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 @@ | ||
.coverage |
This file contains 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 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,40 @@ | ||
ARG image_name=ubuntu:20.04 | ||
FROM ${image_name} | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Etc/GMT | ||
COPY . /google-ads-python | ||
RUN apt-get update -qy && \ | ||
apt-get install -qy --no-install-recommends \ | ||
ca-certificates \ | ||
curl \ | ||
gnupg2 && \ | ||
. /etc/os-release && \ | ||
echo "deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu ${UBUNTU_CODENAME} main" > /etc/apt/sources.list.d/deadsnakes.list && \ | ||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776 && \ | ||
apt-get update -qy && \ | ||
apt-get install -qy --no-install-recommends \ | ||
git \ | ||
openssh-client \ | ||
python3.8 \ | ||
python3.8-distutils \ | ||
python3.9 \ | ||
python3.10 \ | ||
python3.11 \ | ||
python3.12 && \ | ||
curl -fsSo /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ | ||
python3.8 /tmp/get-pip.py && \ | ||
python3.8 -m pip install --no-cache-dir --upgrade pip && \ | ||
python3.9 /tmp/get-pip.py && \ | ||
python3.9 -m pip install --no-cache-dir --upgrade pip && \ | ||
python3.10 /tmp/get-pip.py && \ | ||
python3.10 -m pip install --no-cache-dir --upgrade pip && \ | ||
python3.11 /tmp/get-pip.py && \ | ||
python3.11 -m pip install --no-cache-dir --upgrade pip && \ | ||
python3.12 /tmp/get-pip.py && \ | ||
python3.12 -m pip install --no-cache-dir --upgrade pip && \ | ||
rm /tmp/get-pip.py && \ | ||
python3 -m pip install --no-cache-dir "nox>=2020.12.31,<2022.6" && \ | ||
rm -rf /var/cache/apt/lists | ||
|
||
WORKDIR "/google-ads-python" |
This file contains 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 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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
Oops, something went wrong.