Skip to content

Commit 8eee604

Browse files
committed
INIT py39 support in cibw test doc pyproject
1 parent e5cbafa commit 8eee604

File tree

10 files changed

+7304
-12746
lines changed

10 files changed

+7304
-12746
lines changed

.github/workflows/asv.yml

Lines changed: 0 additions & 128 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,14 @@ name: CI
33
on:
44
workflow_call:
55
push:
6-
branches: ["main"]
6+
branches: ["py39"]
77
pull_request:
8-
branches: ["main"]
8+
branches: ["py39"]
99

1010
jobs:
1111
call-test:
1212
uses: ./.github/workflows/test.yml
1313
secrets: inherit
14-
15-
call-wasm-wheel:
16-
needs: call-test
17-
uses: ./.github/workflows/emscripten.yml
1814

1915
call-wheel:
2016
needs: call-test

.github/workflows/emscripten.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/publish-pypi.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
with:
2121
environments: >-
2222
dev
23-
nogil
2423
cache: true
2524

2625
- name: Re-install local
@@ -36,9 +35,6 @@ jobs:
3635
run: |
3736
pixi run -e dev doc
3837
CMD=doctest pixi run -e dev doc
39-
- name: Test nogil
40-
run: |
41-
pixi run -e nogil nogil-eta
4238
- name: Test coverage
4339
if: matrix.os == 'ubuntu-latest'
4440
shell: bash

.github/workflows/wheel.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ jobs:
3535
- name: Build wheels
3636
uses: pypa/[email protected]
3737
env:
38-
CIBW_SKIP: "*_i686 *_ppc64le *_s390x *_universal2 *-musllinux_* cp314t*"
39-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
38+
CIBW_SKIP: "*_i686 *_ppc64le *_s390x *_universal2 *-musllinux_*"
39+
CIBW_PROJECT_REQUIRES_PYTHON: "==3.9"
4040
CIBW_ARCHS_LINUX: auto
4141
CIBW_ARCHS_MACOS: x86_64 arm64
4242
CIBW_ARCHS_WINDOWS: AMD64
43-
# Include free-threaded support
44-
CIBW_ENABLE: cpython-freethreading
4543
- name: Upload package
4644
uses: actions/upload-artifact@v4
4745
with:

fastcan/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def ssc(X, y):
4242
>>> X = [[1], [-1], [0]]
4343
>>> y = [[0], [1], [-1]]
4444
>>> ssc(X, y)
45-
np.float64(0.25)
45+
0.25
4646
"""
4747
X, y = check_X_y(
4848
X, y, dtype=float, ensure_2d=True, multi_output=True, ensure_min_samples=2

0 commit comments

Comments
 (0)