diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index 68008585..f392558c 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - name: Checkout repository @@ -69,7 +69,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.7" + python-version: "3.8" - name: Install non-python dependencies on linux run: | sudo apt-get install libsuitesparse-dev @@ -115,7 +115,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.7' + python-version: '3.8' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index ad6c38ec..801e4f37 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -114,8 +114,8 @@ Before you submit a pull request, check that it meets these guidelines: 1. The pull request should include tests. 2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring. -3. The pull request should work for Python 2.6, 2.7, 3.3, 3.4 and 3.5, and for PyPy. Check - https://travis-ci.org/nanograv/enterprise/pull_requests +3. The pull request should work for Python 3.8, 3.9, 3.10, and 3.11. Check + https://github.com/nanograv/enterprise/pulls and make sure that the tests pass for all supported Python versions. Tips diff --git a/README.md b/README.md index 6c71c471..965396c1 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Build Status](https://github.com/nanograv/enterprise/workflows/CI-Tests/badge.svg)](https://github.com/nanograv/enterprise/actions) [![Documentation Status](https://readthedocs.org/projects/enterprise/badge/?version=latest)](https://enterprise.readthedocs.io/en/latest/?badge=latest) [![Test Coverage](https://codecov.io/gh/nanograv/enterprise/branch/master/graph/badge.svg?token=YXSX3293VF)](https://codecov.io/gh/nanograv/enterprise) -![Python Versions](https://img.shields.io/badge/python-3.7%2C%203.8%2C%203.9%2C%203.10-blue.svg) +![Python Versions](https://img.shields.io/badge/python-3.8%2C%203.9%2C%203.10%2C%203.11-blue.svg) [![Zenodo DOI 4059815](https://zenodo.org/badge/DOI/10.5281/zenodo.4059815.svg)](https://doi.org/10.5281/zenodo.4059815) @@ -14,7 +14,7 @@ Inference SuitE) is a pulsar timing analysis code, aimed at noise analysis, gravitational-wave searches, and timing model analysis. - Note: `enterprise>=3.0` does not support Python2.7. You must use - Python \>= 3.7. + Python \>= 3.8. - Free software: MIT license - Documentation: . diff --git a/docs/index.rst b/docs/index.rst index 223d63dd..c778e692 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -15,7 +15,7 @@ Welcome to enterprise's documentation! .. image:: https://codecov.io/gh/nanograv/enterprise/branch/master/graph/badge.svg?token=YXSX3293VF :target: https://codecov.io/gh/nanograv/enterprise :alt: Test Coverage -.. image:: https://img.shields.io/badge/python-3.6%2C%203.7%2C%203.8-blue.svg +.. image:: https://img.shields.io/badge/python-3.8%2C%203.9%2C%203.10%2C%203.11-blue.svg :alt: Python Versions .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4059815.svg diff --git a/setup.py b/setup.py index 2e5993a3..1e068864 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ package_dir={"enterprise": "enterprise"}, include_package_data=True, package_data={"enterprise": ["datafiles/*", "datafiles/ephemeris/*", "datafiles/ng9/*", "datafiles/mdc_open1/*"]}, - python_requires=">=3.7, <3.11", + python_requires=">=3.8, <3.12", install_requires=requirements, license="MIT license", zip_safe=False, @@ -42,10 +42,10 @@ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics", ],