Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for 4.2 #524

Merged
merged 2 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/ci_cron_monthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
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
---------
Expand Down
6 changes: 3 additions & 3 deletions baseband/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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 =
Expand Down
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 =
Expand Down Expand Up @@ -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

Expand Down