From 9b50ed57ce2db1ea9da6497e467dac4f4d4efb91 Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Mon, 9 Oct 2023 19:03:55 +1100 Subject: [PATCH 1/4] support_311 --- .github/workflows/build.yml | 6 +++--- azure-kusto-data/setup.py | 1 + azure-kusto-ingest/setup.py | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5813696..012f57dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,14 +13,14 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.7', '3.8', '3.9', '3.10' ] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] env: PYTHON: ${{ matrix.python-version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/azure-kusto-data/setup.py b/azure-kusto-data/setup.py index 313ad1cb..819ab52a 100644 --- a/azure-kusto-data/setup.py +++ b/azure-kusto-data/setup.py @@ -38,6 +38,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: OSI Approved :: MIT License", ], namespace_packages=["azure"], diff --git a/azure-kusto-ingest/setup.py b/azure-kusto-ingest/setup.py index 8a42e012..4270f17f 100644 --- a/azure-kusto-ingest/setup.py +++ b/azure-kusto-ingest/setup.py @@ -38,6 +38,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: OSI Approved :: MIT License", ], packages=find_packages(exclude=["azure", "tests"]), From 54e63d7e09d3c484f10ea3d601735ec91c94b06d Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Mon, 9 Oct 2023 19:14:13 +1100 Subject: [PATCH 2/4] Test and verify Python 3.12 --- .github/workflows/build.yml | 2 +- azure-kusto-data/setup.py | 1 + azure-kusto-ingest/setup.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 012f57dd..2f70762d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] env: PYTHON: ${{ matrix.python-version }} diff --git a/azure-kusto-data/setup.py b/azure-kusto-data/setup.py index 819ab52a..247c99bc 100644 --- a/azure-kusto-data/setup.py +++ b/azure-kusto-data/setup.py @@ -39,6 +39,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", ], namespace_packages=["azure"], diff --git a/azure-kusto-ingest/setup.py b/azure-kusto-ingest/setup.py index 4270f17f..3892b120 100644 --- a/azure-kusto-ingest/setup.py +++ b/azure-kusto-ingest/setup.py @@ -39,6 +39,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", ], packages=find_packages(exclude=["azure", "tests"]), From 74ca9e7f7e29c7557d370c3ff0549a823a963f1c Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Mon, 9 Oct 2023 19:23:08 +1100 Subject: [PATCH 3/4] Use the latest aiohttp for Python 3.12 support --- azure-kusto-data/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-kusto-data/setup.py b/azure-kusto-data/setup.py index 247c99bc..7d743421 100644 --- a/azure-kusto-data/setup.py +++ b/azure-kusto-data/setup.py @@ -48,5 +48,5 @@ package_data={"": ["wellKnownKustoEndpoints.json"]}, include_package_data=True, install_requires=["python-dateutil>=2.8.0", "requests>=2.13.0", "azure-identity>=1.5.0,<2", "msal>=1.9.0,<2", "ijson~=3.1", "azure-core>=1.11.0,<2"], - extras_require={"pandas": ["pandas"], "aio": ["aiohttp>=3.4.4,<4", "asgiref>=3.2.3,<4"]}, + extras_require={"pandas": ["pandas"], "aio": ["aiohttp>=3.9.0b2,<4", "asgiref>=3.2.3,<4"]}, ) From 37b433c9a0d08bf8a1b8386a52c6ed7d370eaec2 Mon Sep 17 00:00:00 2001 From: AsafMah Date: Tue, 21 Nov 2023 09:59:06 +0200 Subject: [PATCH 4/4] Update setup.py --- azure-kusto-data/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-kusto-data/setup.py b/azure-kusto-data/setup.py index 7d743421..34bc2d72 100644 --- a/azure-kusto-data/setup.py +++ b/azure-kusto-data/setup.py @@ -48,5 +48,5 @@ package_data={"": ["wellKnownKustoEndpoints.json"]}, include_package_data=True, install_requires=["python-dateutil>=2.8.0", "requests>=2.13.0", "azure-identity>=1.5.0,<2", "msal>=1.9.0,<2", "ijson~=3.1", "azure-core>=1.11.0,<2"], - extras_require={"pandas": ["pandas"], "aio": ["aiohttp>=3.9.0b2,<4", "asgiref>=3.2.3,<4"]}, + extras_require={"pandas": ["pandas"], "aio": ["aiohttp>=3.8.0,<4", "asgiref>=3.2.3,<4"]}, )