Skip to content

Commit eba7a8a

Browse files
authored
release 0.1.4 (#81)
* 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 * 🧹
1 parent 80ef7a1 commit eba7a8a

File tree

3 files changed

+18
-28
lines changed

3 files changed

+18
-28
lines changed

.github/workflows/ci-tsdownsample.yml

+15-24
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,14 @@ jobs:
4646
matrix:
4747
os: ['windows-latest', 'macOS-latest', 'ubuntu-latest']
4848
rust: ['nightly'] # ['stable', 'beta']
49-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', "3.13"]
50-
exclude: # Python < 3.8 is not supported on Apple Silicon ARM64
51-
- os: macOS-latest
52-
python-version: '3.7'
53-
- os: ubuntu-latest
54-
python-version: '3.7'
55-
include: # So run on older version on Intel CPU
56-
- os: macOS-13
57-
python-version: '3.7'
58-
- os: ubuntu-22.04
59-
python-version: '3.7'
49+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', "3.13"]
6050

6151
env:
6252
PYTHON: ${{ matrix.python-version }}
6353

6454
steps:
65-
- uses: actions/checkout@v3
66-
- uses: actions/setup-python@v4
55+
- uses: actions/checkout@v4
56+
- uses: actions/setup-python@v5
6757
with:
6858
python-version: ${{ matrix.python-version }}
6959
- run: pip install -r tests/requirements.txt
@@ -91,7 +81,7 @@ jobs:
9181
- run: make test # Test Python
9282

9383
- name: Upload coverage to Codecov
94-
uses: codecov/codecov-action@v3
84+
uses: codecov/codecov-action@v5
9585

9686
Build:
9787
# Perhaps smth more in line with this https://github.com/messense/crfs-rs/blob/main/.github/workflows/Python.yml
@@ -146,10 +136,10 @@ jobs:
146136
- uses: actions/checkout@v3
147137

148138
- name: set up python
149-
uses: actions/setup-python@v4
150-
# with:
151-
# python-version: '3.11'
152-
# architecture: ${{ matrix.python-architecture || 'x64' }}
139+
uses: actions/setup-python@v5
140+
with:
141+
python-version: 3.13
142+
architecture: ${{ matrix.python-architecture || 'x64' }}
153143

154144
- name: build sdist
155145
if: ${{ matrix.os == 'ubuntu' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }}
@@ -165,13 +155,13 @@ jobs:
165155
target: ${{ matrix.target }}
166156
manylinux: ${{ matrix.manylinux || 'auto' }}
167157
container: ${{ matrix.container }}
168-
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.7 3.8 3.9 3.10 3.11 3.12' }}
158+
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13' }}
169159

170160
- run: ${{ matrix.ls || 'ls -lh' }} dist/
171161

172-
- uses: actions/upload-artifact@v3
162+
- uses: actions/upload-artifact@v4
173163
with:
174-
name: pypi_files
164+
name: pypi_files-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.interpreter || 'all' }}-${{ matrix.manylinux || 'auto' }}
175165
path: dist
176166

177167
Release:
@@ -187,12 +177,13 @@ jobs:
187177
# with:
188178
# python-version: '3.10'
189179

190-
- run: pip install -U twine
180+
- run: pip install -U twine packaging
191181

192182
- name: get dist artifacts
193-
uses: actions/download-artifact@v3
183+
uses: actions/download-artifact@v4
194184
with:
195-
name: pypi_files
185+
pattern: pypi_files-*
186+
merge-multiple: true
196187
path: dist
197188

198189
- run: twine check dist/*

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ build-backend = "maturin"
55
[project]
66
name = "tsdownsample"
77
description = "Time series downsampling in rust"
8-
version = "0.1.4"
9-
requires-python = ">=3.7"
8+
version = "0.1.4.1"
9+
requires-python = ">=3.8"
1010
dependencies = ["numpy"]
1111
authors = [{name = "Jeroen Van Der Donckt"}]
1212
readme = "README.md"
@@ -16,7 +16,6 @@ classifiers = [
1616
'Intended Audience :: Developers',
1717
'License :: OSI Approved :: MIT License',
1818
'Programming Language :: Python :: 3',
19-
'Programming Language :: Python :: 3.7',
2019
'Programming Language :: Python :: 3.8',
2120
'Programming Language :: Python :: 3.9',
2221
'Programming Language :: Python :: 3.10',

tsdownsample/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
NaNMinMaxLTTBDownsampler,
1212
)
1313

14-
__version__ = "0.1.4"
14+
__version__ = "0.1.4.1"
1515
__author__ = "Jeroen Van Der Donckt"
1616

1717
__all__ = [

0 commit comments

Comments
 (0)