Skip to content

Commit

Permalink
ci: update more to 3.12
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Aug 14, 2023
1 parent 49b2582 commit b0a0485
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ jobs:
with:
submodules: true

- name: Python 3.10
- name: Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'

- name: Prepare build files
run: pipx run nox -s prepare
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}
strategy:
matrix:
python: [38, 39, 310, 311]
python: [38, 39, 310, 311, 312]
arch: [aarch64]
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packaging-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- uses: pypa/[email protected]
if: matrix.os == 'ubuntu-latest'
env:
CIBW_BUILD: cp311-manylinux_x86_64
CIBW_BUILD: cp312-manylinux_x86_64
with:
config-file: cibuildwheel.toml
package-dir: awkward-cpp
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
strategy:
matrix:
python-version:
- '3.12'
- '3.11'
- '3.10'
- '3.9'
Expand All @@ -48,7 +49,8 @@ jobs:
runs-on: windows-2019

env:
PIP_ONLY_BINARY: cmake
PIP_ONLY_BINARY: cmake,numpy
PIP_PRE: "1"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -111,6 +113,7 @@ jobs:
strategy:
matrix:
python-version:
- '3.12'
- '3.11'
- '3.10'
- '3.9'
Expand All @@ -119,7 +122,8 @@ jobs:
runs-on: macOS-11

env:
PIP_ONLY_BINARY: cmake
PIP_ONLY_BINARY: cmake,numpy
PIP_PRE: "1"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -190,8 +194,10 @@ jobs:
include:
- python-version: '3.8'
numpy-package: "numpy==1.18.0"
- python-version: '3.12'
numpy-package: "numpy>=1.26.0b1"

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
PIP_ONLY_BINARY: cmake
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![PyPI version](https://badge.fury.io/py/awkward.svg)](https://pypi.org/project/awkward)
[![Conda-Forge](https://img.shields.io/conda/vn/conda-forge/awkward)](https://github.com/conda-forge/awkward-feedstock)
[![Python 3.7‒3.11](https://img.shields.io/badge/python-3.7%E2%80%923.11-blue)](https://www.python.org)
[![Python 3.8‒3.12](https://img.shields.io/badge/python-3.8%E2%80%923.12-blue)](https://www.python.org)
[![BSD-3 Clause License](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Build Test](https://github.com/scikit-hep/awkward/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/scikit-hep/awkward/actions/workflows/test.yml)

Expand Down
8 changes: 4 additions & 4 deletions cibuildwheel.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ test-skip = [
"pp*",
"*musllinux*",
]
manylinux-x86_64-image = "manylinux2014"
build-verbosity = 1
overrides = [
{ select = "cp3?-*", manylinux-x86_64-image = "manylinux2014" },
]

[tool.cibuildwheel.environment]
PIP_ONLY_BINARY = "cmake,numpy"

[[tool.cibuildwheel.overrides]]
select = "cp312-*"
environment.PIP_PRE = "1"
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
Expand Down

0 comments on commit b0a0485

Please sign in to comment.