Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAINT] Remove Eigenpro and Test build wheel #175

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3e773d5
uncommend build wheel ci
TimotheeMathieu Sep 3, 2024
bf188d2
modify to compile with up to date numpy
TimotheeMathieu Sep 3, 2024
23a597e
try to fix ci
TimotheeMathieu Sep 3, 2024
9abcf67
relax version and fix using 3.11
TimotheeMathieu Sep 3, 2024
79ff37a
correct test eigenpro and huber
TimotheeMathieu Sep 3, 2024
684c045
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 3, 2024
73d286f
fix tests
TimotheeMathieu Sep 5, 2024
aa6531d
Merge branch 'main' of https://github.com/TimotheeMathieu/scikit-lear…
TimotheeMathieu Sep 5, 2024
1d75bab
remove unused import
TimotheeMathieu Sep 5, 2024
55aa993
minor
TimotheeMathieu Nov 2, 2024
d39539e
remove eigenpro
TimotheeMathieu Nov 5, 2024
b741129
fix import init
TimotheeMathieu Nov 5, 2024
ef3a95e
remove more eigenpro
TimotheeMathieu Nov 5, 2024
9b75391
fix readmes examples
TimotheeMathieu Nov 5, 2024
f888048
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 5, 2024
c13d663
requirement doc
TimotheeMathieu Nov 5, 2024
74b4237
fix workflow
TimotheeMathieu Nov 5, 2024
eb101fa
fix workflow
TimotheeMathieu Nov 5, 2024
9ac737c
try some update
TimotheeMathieu Nov 5, 2024
c1b8668
skip 3.6
TimotheeMathieu Nov 5, 2024
668a3d6
skip 3.7
TimotheeMathieu Nov 5, 2024
366b3f5
try lon long fix windows
TimotheeMathieu Nov 5, 2024
3fd3aee
try fix windows
TimotheeMathieu Nov 5, 2024
f51843e
try fix windows
TimotheeMathieu Nov 5, 2024
c993117
try fix windows
TimotheeMathieu Nov 5, 2024
9d34dce
try fix windows
TimotheeMathieu Nov 5, 2024
ebcbd56
try fix windows
TimotheeMathieu Nov 5, 2024
fa315a9
try fix windows
TimotheeMathieu Nov 5, 2024
1970ba3
try fix windows
TimotheeMathieu Nov 5, 2024
0b7df6c
revert to last working
TimotheeMathieu Nov 5, 2024
1c47b6f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 5, 2024
b737a8a
typos
TimotheeMathieu Nov 5, 2024
0aa5ef7
Merge branch 'main' of https://github.com/TimotheeMathieu/scikit-lear…
TimotheeMathieu Nov 5, 2024
9bbb2de
try fix windows
TimotheeMathieu Nov 5, 2024
78ef2f2
try fix windows
TimotheeMathieu Nov 5, 2024
832dfc1
try fix windows
TimotheeMathieu Nov 5, 2024
f19d98a
try fix windows
TimotheeMathieu Nov 5, 2024
9ba0d2c
try fix windows
TimotheeMathieu Nov 5, 2024
0acd491
try fix windows
TimotheeMathieu Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 28 additions & 49 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: build_wheels

on: #[push, pull_request]
release:
types:
- created
workflow_dispatch:
inputs:
version:
description: 'Manually trigger wheel build in Github UI'
required: true
on: [push, pull_request]



jobs:
Expand All @@ -25,59 +18,45 @@ jobs:
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.8'
python-version: '3.10'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.12.1
python -m pip install cibuildwheel==2.21.3 setuptools cython numpy
- name: Build wheels
env:
# We only build for Python 3.6+. On Linux manylinux2010 is used.
# Skipping pypy wheels for now since scipy & scikit-learn haven't build them yet.
# Skip python3.11 for 32bit.
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *musllinux*"
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *musllinux* *cp36* *cp37*"
CIBW_TEST_REQUIRES: "pytest pandas scikit-learn"
CIBW_TEST_COMMAND: "pytest --pyargs sklearn_extra"
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl

build_sdist:
name: sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.8'

- name: Install dependencies
run: pip install setuptools cython numpy

- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz

upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
# upload to PyPI on every tag starting with 'v'
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@master
- uses: actions/upload-artifact@v4
with:
user: __token__
password: ${{ secrets.pypi_password }}
# To test:
repository_url: https://test.pypi.org/legacy/
path: |
./wheelhouse/*.whl
./dist/*.tar.gz
name: ${{ matrix.os }}

# upload_pypi:
# needs: [build_wheels, build_sdist]
# runs-on: ubuntu-latest
# # upload to PyPI on every tag starting with 'v'
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
# steps:
# - uses: actions/download-artifact@v2
# with:
# name: artifact
# path: dist

# - uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.pypi_password }}
# # To test:
# repository_url: https://test.pypi.org/legacy/
14 changes: 7 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
matrix:
Python39:
python.version: '3.9'
NUMPY_VERSION: "1.19.4"
SCIPY_VERSION: "1.5.4"
NUMPY_VERSION: "*"
SCIPY_VERSION: "*"
SKLEARN_VERSION: "*"
Python310:
python.version: '3.10'
NUMPY_VERSION: "1.26.1"
SCIPY_VERSION: "1.11.3"
NUMPY_VERSION: "*"
SCIPY_VERSION: "*"
SKLEARN_VERSION: "*"
Python311:
python.version: '3.10'
NUMPY_VERSION: "1.26.1"
SCIPY_VERSION: "1.11.3"
python.version: '3.11'
NUMPY_VERSION: "*"
SCIPY_VERSION: "*"
SKLEARN_VERSION: "*"

variables:
Expand Down
107 changes: 0 additions & 107 deletions benchmarks/_bench/eigenpro_plot_mnist.py

This file was deleted.

112 changes: 0 additions & 112 deletions benchmarks/_bench/eigenpro_plot_noisy_mnist.py

This file was deleted.

Loading
Loading