Skip to content

Commit

Permalink
Merge pull request #524 from mhvk/prepare-for-4.2
Browse files Browse the repository at this point in the history
Prepare for 4.2
  • Loading branch information
mhvk authored Jul 17, 2024
2 parents a2fbcc0 + 52e5fbc commit 93b7bd6
Showing 6 changed files with 25 additions and 43 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci_cron_monthly.yml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ jobs:
name: Test on ${{ matrix.arch }}
# Don't run on forks of the repository.
if: (github.repository == 'mhvk/baseband' && (github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
apt_packages: git python3-astropy python3-pip

@@ -34,7 +34,7 @@ jobs:
- arch: ppc64le

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: uraimo/run-on-arch-action@v2
@@ -43,8 +43,6 @@ jobs:
with:
arch: ${{ matrix.arch }}
distro: ubuntu_latest
# Speeds up builds by storing container images in a GitHub package registry.
githubToken: ${{ github.token }}
shell: /bin/bash
install: |
apt-get update -q -y
@@ -61,7 +59,7 @@ jobs:
apt_packages: git python3-astropy python3-pip

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install system dependencies
@@ -84,10 +82,10 @@ jobs:
- os: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install Python dependencies
18 changes: 9 additions & 9 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
@@ -18,18 +18,18 @@ jobs:
include:

- name: Test basics and coverage
python: "3.10"
toxenv: py310-test-cov
python: "3.12"
toxenv: py312-test-cov

- name: Code style checks
python: "3.x"
toxenv: codestyle

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install Python dependencies
@@ -48,27 +48,27 @@ jobs:

# doc build done on readthedocs.
# - name: Documentation build
# python: 3.8
# python: 3.x
# toxenv: build_docs
# apt_packages: graphviz

- name: Test oldest supported version
python: "3.8"
toxenv: py38-test-oldestdeps
python: "3.10"
toxenv: py310-test-oldestdeps

- name: Windows
os: windows-latest
python: "3.12"
toxenv: py312-test

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install system dependencies
if: matrix.apt_packages
run: sudo apt-get install ${{ matrix.apt_packages }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install Python dependencies
22 changes: 3 additions & 19 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
4.2 (unreleased)
4.2 (2024-07-17)
================

- The minimum versions required by baseband are now python 3.8, astropy 5.0,
and numpy 1.18.

New Features
------------

API Changes
-----------

Bug Fixes
---------

Other Changes and Additions
---------------------------


4.1.4 (2024-07-17)
==================
- The minimum versions required by baseband are now python 3.10, astropy 5.1,
and numpy 1.24.

Bug Fixes
---------
6 changes: 3 additions & 3 deletions baseband/__init__.py
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
# ----------------------------------------------------------------------------

# Define minima for the documentation, but do not bother to explicitly check.
__minimum_python_version__ = '3.8'
__minimum_astropy_version__ = '5.0'
__minimum_numpy_version__ = '1.18'
__minimum_python_version__ = '3.10'
__minimum_astropy_version__ = '5.1'
__minimum_numpy_version__ = '1.24'

from .io import file_info, open # noqa
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -17,10 +17,10 @@ github_project = mhvk/baseband
[options]
zip_safe = False
packages = find:
python_requires = >=3.8
python_requires = >=3.10
setup_requires = setuptools_scm
install_requires =
astropy>=5.0
astropy>=5.1

[options.entry_points]
baseband.io =
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39,310,311}-test{,-alldeps,-oldestdeps,-devdeps,-cov}
py{310,311,312}-test{,-alldeps,-oldestdeps,-devdeps,-cov}
build_docs
codestyle
requires =
@@ -34,8 +34,8 @@ description =

# The following provides some specific pinnings for key packages
deps =
oldestdeps: astropy==5.0.*
oldestdeps: numpy==1.18.*
oldestdeps: astropy==5.1.*
oldestdeps: numpy==1.24.*
devdeps: git+https://github.com/numpy/numpy.git#egg=numpy
devdeps: git+https://github.com/astropy/astropy.git#egg=astropy

0 comments on commit 93b7bd6

Please sign in to comment.