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 3.7 support and simplify packaging #23 #24

Merged
merged 1 commit into from
Jul 15, 2023
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
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
22 changes: 3 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version"]
description = "Code Editor-style reprs for Earth Engine data in a Jupyter notebook."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7"
requires-python = ">=3.8"
authors = [{ name = "Aaron Zuspan" }]
keywords = [
"earthengine",
Expand Down Expand Up @@ -44,27 +44,11 @@ include = ["/eerepr"]

[tool.hatch.envs.test]
dependencies = [
"earthengine-api",
"pytest",
"pytest-cov",
"tox",
]

[tool.hatch.envs.test.scripts]
tests = "pytest ."
cov = "pytest . --cov=eerepr --cov-report=html"
view-cov = "open htmlcov/index.html"
ci = "tox"
all = "pytest . {args}"
cov = "pytest . --cov=eerepr {args}"

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = python3.7,python3.8,python3.9,python3.10
[testenv]
deps =
pytest
pytest-cov
earthengine-api
commands = pytest
isolated_build = True
"""
15 changes: 0 additions & 15 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.