From 744b574a6f457221b19efa2c7992253d6f5c8b72 Mon Sep 17 00:00:00 2001 From: Ethan Henderson Date: Sun, 25 Jul 2021 03:34:52 +0100 Subject: [PATCH] Declare Python 3.10 support --- README.md | 2 +- setup.py | 2 +- tests/test_youtube_analytics.py | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b864d0..032f555 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ A simple yet powerful API wrapper to make getting analytical information from yo ## Installation -**You need Python 3.6.0 or greater to run analytix.** It is recommended you install analytix in a virtual environment. +**You need Python 3.6.0 or greater to run analytix.** It is recommended you install analytix in a virtual environment. **Note**: While analytix supports Python 3.10, pandas does not. You will be able to retrieve reports and save them locally, but you won't be able to convert them to DataFrame objects. To install the latest stable version of analytix, use the following command: ```sh diff --git a/setup.py b/setup.py index 483cb2a..ae98c1a 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ def parse_requirements(path): "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", - # "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.10", "Topic :: Utilities", ], project_urls={ diff --git a/tests/test_youtube_analytics.py b/tests/test_youtube_analytics.py index 70d3a4b..719c604 100644 --- a/tests/test_youtube_analytics.py +++ b/tests/test_youtube_analytics.py @@ -47,8 +47,6 @@ def test_reports_max_results(client): def test_reports_sort_ascending(client): - import numpy as np - report = client.retrieve( dt.date(2021, 1, 1), dt.date(2021, 2, 28), @@ -60,8 +58,6 @@ def test_reports_sort_ascending(client): def test_reports_sort_descending(client): - import numpy as np - report = client.retrieve( dt.date(2021, 1, 1), dt.date(2021, 2, 28),