From fcc84441e29ffa69e4c9a8057bc2532e209f0dfe Mon Sep 17 00:00:00 2001 From: Luke Zoltan Kelley Date: Sat, 13 Apr 2024 11:50:18 -0700 Subject: [PATCH] Require python >=3.8, update actions and tests --- .github/workflows/build-status.yml | 6 +++--- .github/workflows/coverage.yaml | 2 +- .github/workflows/publish-to-pypi.yml | 4 ++-- cosmopy/__init__.py | 4 ++-- setup.py | 4 ++-- tox.ini | 5 ++--- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-status.yml b/.github/workflows/build-status.yml index 2ae733c..9f26208 100644 --- a/.github/workflows/build-status.yml +++ b/.github/workflows/build-status.yml @@ -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: diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index c3e6f75..c5dca18 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.9"] + python-version: ["3.11"] steps: - name: Check out repository diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 3e8941f..556456d 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -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 diff --git a/cosmopy/__init__.py b/cosmopy/__init__.py index c43f5d8..6a12da0 100644 --- a/cosmopy/__init__.py +++ b/cosmopy/__init__.py @@ -1,8 +1,8 @@ """ """ -__version__ = "3.2.1" -__author__ = "Luke Zoltan Kelley " +__version__ = "3.6" +__author__ = "Luke Zoltan Kelley " __license__ = "MIT" import astropy as ap diff --git a/setup.py b/setup.py index ab847f0..0a904a2 100644 --- a/setup.py +++ b/setup.py @@ -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", @@ -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", ) diff --git a/tox.ini b/tox.ini index 25d6975..b1882a0 100644 --- a/tox.ini +++ b/tox.ini @@ -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]