Skip to content

Commit

Permalink
Require python >=3.8, update actions and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lzkelley committed Apr 13, 2024
1 parent 342e9f8 commit fcc8444
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
# os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
# os: [ubuntu-latest]
os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
# python-version: ["3.6", "3.7"]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9"]
python-version: ["3.11"]

steps:
- name: Check out repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
echo "github.ref = ${{ github.ref }}, github.ref_type = ${{ github.ref_type }}"
echo "github.repository = ${{ github.repository }}, github.event_name = ${{ github.event_name }} "
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.11"

- name: Install pypa/build
run: python -m pip install build --user
Expand Down
4 changes: 2 additions & 2 deletions cosmopy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""
"""

__version__ = "3.2.1"
__author__ = "Luke Zoltan Kelley <lzkelley@northwestern.edu>"
__version__ = "3.6"
__author__ = "Luke Zoltan Kelley <lzkelley@berkeley.edu>"
__license__ = "MIT"

import astropy as ap
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
setup(
name="cosmopy",
author="Luke Zoltan Kelley",
author_email="lzkelley@northwestern.edu",
author_email="lzkelley@berkeley.edu",
version=version,
description="",
license="MIT",
Expand All @@ -33,5 +33,5 @@
long_description=long_description,
long_description_content_type='text/markdown',
keywords=['utilities', 'physics', 'astronomy', 'cosmology', 'astrophysics', 'calculator'],
python_requires=">=3.5",
python_requires=">=3.8",
)
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ requires = tox-conda
isolated_build = true
parallel_show_output = true
envlist =
py35
py36
py37
py38
py39
py310
py311
py312
flake8

[testenv]
Expand Down

0 comments on commit fcc8444

Please sign in to comment.