diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 329936c..374a5cb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -2,7 +2,7 @@ name: Upload Python Package on: release: - types: [created,updated] + types: [created, updated] jobs: deploy: @@ -15,7 +15,7 @@ jobs: with: miniforge-variant: Mambaforge use-mamba: true - python-version: 3.8 + python-version: 3.9 - name: Install dependencies shell: bash -l {0} run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7e9596b..8e482b1 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,7 +5,7 @@ on: [push, pull_request] # When this workflow is queued, automatically cancel any previous running # or pending jobs from the same branch concurrency: - group: ${{ github.ref }} + group: tests-${{ github.ref }} cancel-in-progress: true jobs: @@ -15,10 +15,9 @@ jobs: run: shell: bash -l {0} strategy: - fail-fast: false matrix: os: ["windows-latest", "ubuntu-latest", "macos-latest"] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] steps: - name: Checkout source @@ -39,6 +38,9 @@ jobs: - name: Install dask-deltatable run: python -m pip install -e ".[dev]" + - name: conda list + run: conda list + - name: Run tests id: run_tests run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f691b6..87b52e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: hooks: - id: pyupgrade args: - - --py38-plus + - --py39-plus - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.3.0 hooks: diff --git a/continous_integeration/environment-3.8.yaml b/continous_integeration/environment-3.8.yaml deleted file mode 100644 index c3ad542..0000000 --- a/continous_integeration/environment-3.8.yaml +++ /dev/null @@ -1,9 +0,0 @@ -name: test-environment -channels: - - conda-forge -dependencies: - - python=3.8 - - dask - - pyarrow - - pytest - - pytest-cov diff --git a/dask_deltatable/_schema.py b/dask_deltatable/_schema.py index c85d7d5..0e9ac7b 100644 --- a/dask_deltatable/_schema.py +++ b/dask_deltatable/_schema.py @@ -40,8 +40,8 @@ import json import logging import pprint +from collections.abc import Iterable from copy import deepcopy -from typing import Iterable import pandas as pd import pyarrow as pa diff --git a/dask_deltatable/write.py b/dask_deltatable/write.py index 80bdeeb..9cc4678 100644 --- a/dask_deltatable/write.py +++ b/dask_deltatable/write.py @@ -2,9 +2,10 @@ import json import uuid +from collections.abc import Mapping from datetime import datetime from pathlib import Path -from typing import Any, Literal, Mapping +from typing import Any, Literal import dask.dataframe as dd import pyarrow as pa diff --git a/setup.py b/setup.py index 5842ef7..3b72630 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ packages=["dask_deltatable"], long_description=long_description, long_description_content_type="text/markdown", - python_requires=">=3.8", + python_requires=">=3.9", install_requires=open("requirements.txt").read().strip().split("\n"), extras_require={ "dev": ["pytest", "requests", "pytest-cov>=2.10.1"],