Skip to content
Open
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
51 changes: 45 additions & 6 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,62 @@ on:

jobs:
linux-macos:
name: test-all ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.VERBOSE }}
name: test-all ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.VERBOSE }} ${{ matrix.ONE }} ${{ matrix.ONLY_BUILTINS }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
# 3.12 has no pandas wheel, takes a long time to build
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
EXTRA: [false] # used to force includes to get included
ONLY_BUILTINS: [''] # used to turn off ray
ONE: [false] # used to force pandas<2
include:
- python-version: 3.7
os: ubuntu-20.04 # oldest LTS in github actions
EXTRA: true
- python-version: 3.7
os: ubuntu-latest
# make sure that the most verbose level is not crashy
VERBOSE: verbose # does work
PARAMSURVEY_VERBOSE: 3
PYTEST_STDERR_VISIBLE: -s
EXTRA: true
- python-version: 3.7
os: ubuntu-latest
EXTRA: true
ONE: true
- python-version: '3.13'
os: ubuntu-latest
EXTRA: true
ONLY_BUILTINS: 1 # no ray wheel for 3.13
- python-version: '3.11'
os: macos-latest
EXTRA: true
ONLY_BUILTINS: 1
- python-version: '3.11'
os: macos-latest
EXTRA: true
ONE: true # this wheel exists, does not in 3.13
ONLY_BUILTINS: 1
- python-version: '3.13'
os: macos-latest
EXTRA: true
ONLY_BUILTINS: 1
#- python-version: '3.7'
# os: windows-latest
# EXTRA: true
# ONLY_BUILTINS: 1
#- python-version: '3.7'
# os: windows-latest
# EXTRA: true
# ONE: true # this wheel exists, does not in 3.13
# ONLY_BUILTINS: 1
#- python-version: '3.13'
# os: windows-latest
# EXTRA: true
# ONLY_BUILTINS: 1

steps:

Expand All @@ -37,10 +75,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install setuptools on python 3.12+
if: ${{ matrix.python-version >= '3.12' }}
- name: Install pandas<2 if needed
if: ${{ matrix.ONE }}
run: |
pip install setuptools
pip install 'numpy<2' # or macos screws up
pip install 'pandas<2'

- name: 'Install dependencies'
run: |
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- 0.4.21
+ removed numpy<2 pandas<2 now that pandas-appender is updated
+ test on macos and windows
+ test pandas<2 just to be sure

- 0.4.20
+ moved CI to Github Actions, dropped py3.7
+ moved coverage to CodeCov
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

requires = [
'hdrhistogram',
'pandas<2', # temporary until pandas-appender is fixed
'numpy<2', # temporary until pandas-appender is fixed
'pandas-appender>=0.9.1',
'psutil',
]
Expand Down Expand Up @@ -74,6 +72,8 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3 :: Only',
],
)