Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.7 #499

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.10.0
Expand All @@ -42,11 +42,6 @@ jobs:
use-mamba: true
miniforge-variant: Mambaforge

- if: matrix.python-version == '3.7' # Should be remove when Python 3.7 is no longer supported
name: Pin importlib-metadata to 2.0
run: |
mamba install importlib-metadata==2.0

- name: Install intake-esm
run: |
python -m pip install -e . --no-deps --force-reinstall
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

"""The setup script."""


import pathlib
from os.path import exists

from setuptools import find_packages, setup
Expand All @@ -11,8 +13,7 @@


if exists('README.md'):
with open('README.md') as f:
long_description = f.read()
long_description = pathlib.Path('README.md').read_text()
else:
long_description = ''

Expand All @@ -23,18 +24,18 @@
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering',
]

setup(
name='intake-esm',
description='An intake plugin for parsing an ESM (Earth System Model) Collection/catalog and loading assets (netCDF files and/or Zarr stores) into xarray datasets.',
description='An intake plugin for parsing an Earth System Model (ESM) catalog and loading netCDF files and/or Zarr stores into Xarray datasets.',
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.7',
python_requires='>=3.8',
maintainer='NCAR XDev Team',
maintainer_email='xdev@ucar.edu',
classifiers=CLASSIFIERS,
Expand Down