Skip to content

Commit

Permalink
python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
stfbnc committed Nov 18, 2023
1 parent 2aa7b47 commit d3e780d
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 22 deletions.
10 changes: 5 additions & 5 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ environment:
python -m pip install -r requirements.txt
matrix:
- CIBW_BUILD: "cp37-win_amd64"
- CIBW_BUILD: "cp38-win_amd64"
- CIBW_BUILD: "cp39-win_amd64"
- CIBW_BUILD: "cp310-win_amd64"
- CIBW_BUILD: "cp311-win_amd64"
#- CIBW_BUILD: "cp38-win_amd64"
#- CIBW_BUILD: "cp39-win_amd64"
#- CIBW_BUILD: "cp310-win_amd64"
#- CIBW_BUILD: "cp311-win_amd64"
- CIBW_BUILD: "cp312-win_amd64"

stack: python 3.8

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.2
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_TEST_REQUIRES: pytest
Expand All @@ -32,7 +32,7 @@ jobs:
pip3 install --upgrade pip &&
pip3 install Cython &&
pip3 install -r requirements.txt
CIBW_BUILD: "cp37-manylinux* cp38-manylinux* cp39-manylinux* cp310-manylinux* cp311-manylinux*"
CIBW_BUILD: "cp38-manylinux* cp39-manylinux* cp310-manylinux* cp311-manylinux* cp312-manylinux*"
CIBW_SKIP: "*-manylinux_i686"
CIBW_ARCHS_LINUX: "x86_64"
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
platforms: arm64

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.2
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_TEST_REQUIRES: pytest
Expand All @@ -37,7 +37,7 @@ jobs:
pip3 install --upgrade pip &&
pip3 install Cython &&
pip3 install -r requirements.txt
CIBW_BUILD: "cp37-manylinux* cp38-manylinux* cp39-manylinux* cp310-manylinux* cp311-manylinux*"
CIBW_BUILD: "cp38-manylinux* cp39-manylinux* cp310-manylinux* cp311-manylinux* cp312-manylinux*"
CIBW_SKIP: "*-manylinux_i686"
CIBW_ARCHS_LINUX: "aarch64"
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:

jobs:
build_wheels:
name: Build wheels on macos-10.15
runs-on: macos-10.15
name: Build wheels on macos-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

Expand All @@ -22,7 +22,7 @@ jobs:
shell: bash

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.2
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_TEST_REQUIRES: pytest
Expand All @@ -32,7 +32,7 @@ jobs:
pip3 install Cython &&
pip3 install setuptools &&
pip3 install -r requirements.txt
CIBW_BUILD: "cp37-macosx_x86_64 cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64"
CIBW_BUILD: "cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64"
CIBW_ARCHS_MACOS: "x86_64"

- name: Show files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
pip3 install --upgrade pip &&
pip3 install Cython &&
pip3 install -r requirements.txt
CIBW_BUILD: "cp38-macosx_arm64 cp39-macosx_arm64 cp310-macosx_arm64 cp311-macosx_x86_64"
CIBW_BUILD: "cp38-macosx_arm64 cp39-macosx_arm64 cp310-macosx_arm64 cp311-macosx_x86_64 cp312-macosx_x86_64"
CIBW_ARCHS_MACOS: "arm64"

- name: Show files
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ It is mostly written in Cython and C in order to speed up computations.

### Prerequisites

- Python 3.7 or higher
- numpy (version >= 1.22)
- Python 3.8 or higher
- numpy (version >= 1.24.4)

### Installing

Expand Down Expand Up @@ -61,6 +61,10 @@ Bianchi, S., (2020). fathon: A Python package for a fast computation of detrend

## Changelog

#### v1.3.3

- fix divergent results when `q` approaches 0 (affects MFDFA-like algorithms)

#### v1.3.2

- unbiased version of DFA, as described [here](https://doi.org/10.1016/j.physa.2018.03.043)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
numpy>=1.22
numpy==1.24.4
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ def get_extension(module_name, src_name, current_os):
"Operating System :: Microsoft :: Windows",
"Programming Language :: Cython",
"Programming Language :: C",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering"],
python_requires=">=3.7",
install_requires=["numpy>=1.22"],
python_requires=">=3.8",
install_requires=["numpy==1.24.4"],
project_urls={"Documentation": "https://fathon.readthedocs.io/",
"Bug Reports": "https://github.com/stfbnc/fathon/issues",
"Source": "https://github.com/stfbnc/fathon/"},
Expand Down
4 changes: 2 additions & 2 deletions upload_release_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import os
import argparse

min_py3 = 7
max_py3 = 11
min_py3 = 8
max_py3 = 12


def download_file(url, folder_name):
Expand Down

0 comments on commit d3e780d

Please sign in to comment.