Skip to content

Commit

Permalink
python3.8 is near end of life so stop running CI using 3.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdjakem committed May 27, 2024
1 parent 2e04a99 commit a3e263e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 26 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/continuous-integration-workflow-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,9 @@ jobs:
strategy:
fail-fast: false
matrix:
# os: [ubuntu-latest]
# pin to python-3.7.16 because github actions has a bug with _bz2 on
# ubunutu for 3.7.17
# quotes needed around two-digit versions
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11']
os: [ubuntu-latest, macos-latest]
# python-version: [3.7, 3.8] #3.8 currently fails due to numpy error
# solely experienced when using github actions ValueError:
# numpy.ndarray size changed, may indicate binary incompatibility.
# Expected 96 from C header, got 88 from PyObject

steps:
- uses: actions/checkout@v4
Expand All @@ -40,11 +33,9 @@ jobs:
with:
activate-environment: pyapprox-base
python-version: ${{ matrix.python-version }}
# channels: defaults,conda-forge
channels: defaults
environment-file: environment.yml
auto-update-conda: true
# use-only-tar-bz2: true
auto-activate-base: false
- name: Conda list
shell: bash -l {0} # - l {0} is needed to activate created env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,8 @@ jobs:
fail-fast: false
matrix:
# os: [ubuntu-latest]
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11']
os: [ubuntu-latest, macos-latest]
# python-version: [3.7, 3.8] #3.8 currently fails due to numpy error
# solely experienced when using github actions ValueError:
# numpy.ndarray size changed, may indicate binary incompatibility.
# Expected 96 from C header, got 88 from PyObject

steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }} on ${{ matrix.os }}
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/continuous-integration-workflow-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,17 @@ jobs:
strategy:
fail-fast: false
matrix:
# os: [ubuntu-latest]
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11']
os: [ubuntu-latest, macos-latest]
# python-version: [3.7, 3.8] #3.8 currently fails due to numpy error
# solely experienced when using github actions ValueError:
# numpy.ndarray size changed, may indicate binary incompatibility.
# Expected 96 from C header, got 88 from PyObject

steps:
- uses: actions/checkout@v4
- name: Setup Miniconda with Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: pyapprox-base
python-version: ${{ matrix.python-version }}
# channels: defaults,conda-forge
channels: defaults
environment-file: environment.yml
# use-only-tar-bz2: true
auto-update-conda: true
auto-activate-base: false
- name: Conda list
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-workflow-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11']
# exclude:
# # stalls on github actions
# - os: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def no_cythonize(extensions, **_ignore):
include_dirs=[np.get_include()],
setup_requires=['numpy >= 1.16.4', 'Cython', 'scipy >= 1.0.0'],
install_requires=[
'setuptools',
'numpy >= 1.16.4',
'matplotlib',
'scipy >= 1.0.0',
Expand Down

0 comments on commit a3e263e

Please # to comment.