Skip to content
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: 6 additions & 6 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# Needed for `setuptools-scm`
fetch-depth: 0

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: tarball
path: dist/*.tar.gz
Expand All @@ -36,16 +36,16 @@ jobs:
os: [ubuntu-latest] #, macos-latest]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# Needed for `setuptools-scm`
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v4.1

- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: wheels-${{ matrix.os }}
path: wheelhouse/*.whl
Expand All @@ -66,7 +66,7 @@ jobs:
# Alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v7
with:
path: dist # put artifacts where next action expects them to be
merge-multiple: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
os: [ubuntu-latest]
dist:
- py3_casacore_master
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# Needed for `setuptools-scm`
fetch-depth: 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:

jobs:
osx:
runs-on: macos-13
runs-on: macos-15
continue-on-error: true

steps:
- name: checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# Needed for `setuptools-scm`
fetch-depth: 0
Expand Down Expand Up @@ -43,6 +43,6 @@ jobs:
run: venv/bin/delocate-wheel -v dist/*.whl

- name: Publish OS X binary wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
path: dist/*.whl
2 changes: 1 addition & 1 deletion .github/workflows/py3_casacore_master.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ADD . /src
WORKDIR /src
RUN python3 -m venv venv && \
. venv/bin/activate && \
pip install 'numpy<2' && \
pip install numpy && \
pip install . && \
cd tests && \
pip install -r requirements.txt && \
Expand Down
25 changes: 11 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dynamic = ["version"]
keywords = ["pyrap", "casacore", "utilities", "astronomy"]
license = {file = "LICENSE"}
readme = {file = "README.rst", content-type = "text/x-rst"}
requires-python = ">=3.8"
requires-python = ">=3.10"
authors = [
{name = "Malte Marquarding", email = "Malte.Marquarding@gmail.com"},
{name = "Ger van Diepen", email = "gervandiepen@gmail.com"},
Expand Down Expand Up @@ -51,10 +51,11 @@ Homepage = "https://github.com/casacore/python-casacore"
#########################

[tool.cibuildwheel]
build = "cp3{8,9,10,11,12,13}-*_x86_64"
build = "cp3{10,11,12,13,14}-*_x86_64"
build-verbosity = 1
environment = """ \
CXXFLAGS="-I/usr/include/cfitsio" \
LD_LIBRARY_PATH=/opt/boost/lib \
"""
test-command = "cd {package}/tests && pytest"
test-requires = "pytest"
Expand All @@ -68,29 +69,25 @@ repair-wheel-command = """\
[tool.cibuildwheel.linux]
skip = ["*-musllinux_*"]

[[tool.cibuildwheel.overrides]]
select="cp38-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py38_master"

[[tool.cibuildwheel.overrides]]
select="cp39-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py39_master"

[[tool.cibuildwheel.overrides]]
select="cp310-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py310_master"
manylinux-x86_64-image = "quay.io/casacore/casacore:py310_v3.8.1"

[[tool.cibuildwheel.overrides]]
select="cp311-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py311_master"
manylinux-x86_64-image = "quay.io/casacore/casacore:py311_v3.8.1"

[[tool.cibuildwheel.overrides]]
select="cp312-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py312_master"
manylinux-x86_64-image = "quay.io/casacore/casacore:py312_v3.8.1"

[[tool.cibuildwheel.overrides]]
select="cp313-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py313_master"
manylinux-x86_64-image = "quay.io/casacore/casacore:py313_v3.8.1"

[[tool.cibuildwheel.overrides]]
select="cp314-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py314_v3.8.1"


#########################
Expand Down
Loading