Skip to content

Commit

Permalink
Drop python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Jul 11, 2023
1 parent fa03f1e commit 524dbc4
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Upload Python Package

on:
release:
types: [created,updated]
types: [created, updated]

jobs:
deploy:
Expand All @@ -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: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -39,6 +38,10 @@ jobs:
- name: Install dask-deltatable
run: python -m pip install -e ".[dev]"

- name: conde list
shell: bash -l {0}
run: conda list

- name: Run tests
id: run_tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 0 additions & 9 deletions continous_integeration/environment-3.8.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion dask_deltatable/_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion dask_deltatable/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 524dbc4

Please sign in to comment.