Skip to content

Commit

Permalink
deprecate py38
Browse files Browse the repository at this point in the history
  • Loading branch information
aelanman committed Mar 22, 2024
1 parent 300c502 commit e41afe4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/testsuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.9
- name: Setup Environment
run: |
pip install pre-commit
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.9
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
Expand All @@ -63,7 +63,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ repos:
rev: 22.3.0
hooks:
- id: black
language_version: python3.8
language_version: python3.9
args:
- --line-length=90
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
## Added
- Support for ellipsoid models for selenodetic coordinates (non-spherical)

## Deprecated
- Removed support for Python < 3.9. Astropy >= 6.0 is required for ellipsoid support

## [0.2.0] -- 2022-10-12

## Fixed
Expand Down
10 changes: 0 additions & 10 deletions lunarsky/moon.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ def _check_ellipsoid(ellipsoid=None, default="SPHERE"):
return ellipsoid


def _add_rm_ellipsoid(ellipsoid, name, add=True):
"""Add or remove an ellipsoid class from SELENOIDS.
Needed for testing."""
global SELENOIDS
if add:
SELENOIDS[name] = ellipsoid
else:
SELENOIDS.pop(name, None)


class MoonLocationInfo(QuantityInfoBase):
"""
Container for meta information like name, description, format. This is
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test_suite": "pytest",
"tests_require": ["pytest"],
"setup_requires": ["pytest-runner", "setuptools_scm"],
"install_requires": ["numpy>=1.15", "astropy>3.0", "spiceypy", "jplephem"],
"install_requires": ["numpy>=1.15", "astropy>=6.0.0", "spiceypy", "jplephem"],
"classifiers": [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
Expand Down

0 comments on commit e41afe4

Please sign in to comment.