Skip to content

Commit

Permalink
release 0.1.4 (#81)
Browse files Browse the repository at this point in the history
* release 0.1.4

* 🙏 update actions

* add python 3.13 to ci build

* 🙏 install python 3.7 besides 3.13

* 🙏

* 🧹

* drop python 3.7 support

* 🙏

* 🙏 update download-artifacts

* 🙏 update upload artifact

* 🙏

* 🙏 unique file name

* 🙏

* 🙈 use pattern

* 🙏

* 🙏 try release candidate

* 🎉 0.1.4.1

* 🧹
  • Loading branch information
jvdd authored Jan 29, 2025
1 parent 80ef7a1 commit eba7a8a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 28 deletions.
39 changes: 15 additions & 24 deletions .github/workflows/ci-tsdownsample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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' }}
Expand All @@ -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:
Expand All @@ -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/*
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion tsdownsample/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
NaNMinMaxLTTBDownsampler,
)

__version__ = "0.1.4"
__version__ = "0.1.4.1"
__author__ = "Jeroen Van Der Donckt"

__all__ = [
Expand Down

0 comments on commit eba7a8a

Please sign in to comment.