diff --git a/.github/workflows/ci-tsdownsample.yml b/.github/workflows/ci-tsdownsample.yml index a27a82c..afcff60 100644 --- a/.github/workflows/ci-tsdownsample.yml +++ b/.github/workflows/ci-tsdownsample.yml @@ -46,24 +46,14 @@ jobs: matrix: os: ['windows-latest', 'macOS-latest', 'ubuntu-latest'] rust: ['nightly'] # ['stable', 'beta'] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', "3.13"] - exclude: # Python < 3.8 is not supported on Apple Silicon ARM64 - - os: macOS-latest - python-version: '3.7' - - os: ubuntu-latest - python-version: '3.7' - include: # So run on older version on Intel CPU - - os: macOS-13 - python-version: '3.7' - - os: ubuntu-22.04 - python-version: '3.7' + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', "3.13"] env: PYTHON: ${{ matrix.python-version }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - run: pip install -r tests/requirements.txt @@ -91,7 +81,7 @@ jobs: - run: make test # Test Python - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 Build: # Perhaps smth more in line with this https://github.com/messense/crfs-rs/blob/main/.github/workflows/Python.yml @@ -146,10 +136,10 @@ jobs: - uses: actions/checkout@v3 - name: set up python - uses: actions/setup-python@v4 - # with: - # python-version: '3.11' - # architecture: ${{ matrix.python-architecture || 'x64' }} + uses: actions/setup-python@v5 + with: + python-version: 3.13 + architecture: ${{ matrix.python-architecture || 'x64' }} - name: build sdist if: ${{ matrix.os == 'ubuntu' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }} @@ -165,13 +155,13 @@ jobs: target: ${{ matrix.target }} manylinux: ${{ matrix.manylinux || 'auto' }} container: ${{ matrix.container }} - args: --release --out dist --interpreter ${{ matrix.interpreter || '3.7 3.8 3.9 3.10 3.11 3.12' }} + args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13' }} - run: ${{ matrix.ls || 'ls -lh' }} dist/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: pypi_files + name: pypi_files-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.interpreter || 'all' }}-${{ matrix.manylinux || 'auto' }} path: dist Release: @@ -187,12 +177,13 @@ jobs: # with: # python-version: '3.10' - - run: pip install -U twine + - run: pip install -U twine packaging - name: get dist artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: pypi_files + pattern: pypi_files-* + merge-multiple: true path: dist - run: twine check dist/* diff --git a/pyproject.toml b/pyproject.toml index 8598639..876db6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,8 +5,8 @@ build-backend = "maturin" [project] name = "tsdownsample" description = "Time series downsampling in rust" -version = "0.1.4" -requires-python = ">=3.7" +version = "0.1.4.1" +requires-python = ">=3.8" dependencies = ["numpy"] authors = [{name = "Jeroen Van Der Donckt"}] readme = "README.md" @@ -16,7 +16,6 @@ classifiers = [ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', diff --git a/tsdownsample/__init__.py b/tsdownsample/__init__.py index b874022..bfed60a 100644 --- a/tsdownsample/__init__.py +++ b/tsdownsample/__init__.py @@ -11,7 +11,7 @@ NaNMinMaxLTTBDownsampler, ) -__version__ = "0.1.4" +__version__ = "0.1.4.1" __author__ = "Jeroen Van Der Donckt" __all__ = [