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

V0.3.x #14

Open
wants to merge 97 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
7276165
Adding cibuildwheel workflow
Dec 3, 2021
0a2f44b
RLS: v0.1.1
Dec 3, 2021
d9a65cb
Removing hyperopt
Dec 3, 2021
828860d
Changes to git workflows
Dec 3, 2021
2addead
0.2.0 Changes
Nov 2, 2021
62c8fec
Merge pull request #3 from paypal/dev_0.2.x
cpoli Jan 27, 2022
e0d4eff
reformat code with black
Jan 27, 2022
4f636ad
Merge pull request #4 from paypal/dev_0.2.x
cpoli Jan 27, 2022
5486038
fix Replace-dask, changed notebooks & docstrings & setup.py
Feb 2, 2022
cd96a91
clean up notebooks and run_doc.sh
Feb 2, 2022
3ae787c
Deleting duplicate workflow
Feb 2, 2022
7e8399f
Merge pull request #6 from paypal/dev_0.2.x
vogetihrsh Feb 2, 2022
65be5fc
Fixing linux output dir
Feb 2, 2022
a25e507
RLS: v0.2.0
Feb 2, 2022
754a878
update the build.yml
Feb 4, 2022
f90496f
Merge branch 'v0.2.x' into dev_0.2.x
cpoli Feb 8, 2022
b0fdda0
update workflows/build.yml
Feb 15, 2022
740c7a9
update workflows/build.yml
Feb 15, 2022
fb039f1
update setup.py
Mar 31, 2022
5e0a39c
koalas for Python3.6
Mar 31, 2022
e5d34f6
v0.3
Sep 7, 2022
7891bf7
remove dask folder
Sep 7, 2022
432973f
mod build.yml to get 36 37 38 39 wheels
Sep 7, 2022
4d20181
a few bug fix+notebooks update
Oct 6, 2022
8b43877
added a few transformers + some bug fixing
Jan 12, 2023
ace51c4
downgrated numpy version
Jan 12, 2023
66cc30e
added column_names functionality to various transformers
May 30, 2023
54012e9
add someinput variables in some transformers
May 30, 2023
86d7443
removed koalas testing for now.
May 31, 2023
1b3c2a6
removed feature_generation_dt tests (failing for linux).
May 31, 2023
28c401d
removed feature_generation_dt tests in buil.yml (failing for linux).
May 31, 2023
fe01ddd
downgrade numpy version to <=1.23.5
May 31, 2023
33905be
removing feature_generation_dt tests again
May 31, 2023
4230e95
added Looking in indexes: https://pypi.org/simple, http://artifactory…
May 31, 2023
6bf8530
added pyproject.toml
May 31, 2023
c116761
simplified pyproject.toml
May 31, 2023
7d5ffbc
modified build.yml to chain commands in CIBW_BEFORE_ALL
May 31, 2023
13251e1
deleted .toml file
May 31, 2023
29f24e4
modified build.yml to chain commands in CIBW_BEFORE_ALL for both linu…
May 31, 2023
5551aeb
modified build.yml to chain commands in CIBW_BEFORE_ALL for both linu…
May 31, 2023
00c759d
modified build.yml
May 31, 2023
89c990d
modified build.yml
May 31, 2023
cfd6047
modified build.yml
May 31, 2023
41b991e
modified build.yml
May 31, 2023
ff33b35
modified build.yml
May 31, 2023
3978e65
modified build.yml
May 31, 2023
0b5eb67
modified build.yml
May 31, 2023
1881bbc
modified build.yml
May 31, 2023
175f994
modified build.yml
May 31, 2023
be18c59
modified build.yml
May 31, 2023
87f870b
modified build.yml
May 31, 2023
5a296d6
modified build.yml
May 31, 2023
ddba3dc
modified build.yml
May 31, 2023
4668736
modified build.yml
May 31, 2023
8e75fb2
modified build.yml
May 31, 2023
4633c51
modified build.yml
Jun 2, 2023
ffcb48c
modified build.yml
Jun 5, 2023
3d29317
modified setup.py (downgraded pandas version to avoid koalas errors)
Jun 5, 2023
40b62a0
modified build.yml
Jun 5, 2023
89896f7
modified build.yml
Jun 5, 2023
913082d
modified setup.py
Jun 5, 2023
e7df05b
modified setup.py
Jun 5, 2023
9cd0abf
changed README.md
Jun 8, 2023
a8aadda
mod build.yml to include 3.10
Jun 8, 2023
a6ccf46
remove all warnings and error if is an empty list
Jul 4, 2023
6202154
remove the version commented out 'pandas<=1.5.3' and added 'treelite<…
Jul 4, 2023
a0dc117
added 'pandas<=1.5.3' in setup.py
Jul 4, 2023
a931432
new 0.3.4 version - treelite removed for now - problem with spark.pan…
Feb 21, 2024
6345b1a
modified lower_case.py
cpoli Mar 5, 2024
240285d
remove tests.rst
cpoli Mar 5, 2024
b6275a2
Upgrade scikit-learn to version 1.0.1 or later.
cpoli Mar 5, 2024
9bf4494
Added pyarrow in the list of packages to install
cpoli Mar 5, 2024
e90f19c
Modified test_woe_encoder_dd.py to fix the string[pyarrow]/object dty…
cpoli Mar 5, 2024
53f1ebd
Modified build.yml to skip py39 to py312 for linux. Error to investig…
cpoli Mar 5, 2024
58ed203
fix wheel generation for linux py>=39 -attempt1
cpoli Mar 13, 2024
4a8547a
update the wheel to generate wheels for maxos and linux py36 to py312
cpoli Mar 13, 2024
f3979ad
remove the version of cibuildwheel in the build.yml file (line 93)
cpoli Mar 13, 2024
bffce40
error for linux py312 -attempt1
cpoli Mar 13, 2024
1bbc3d9
error for linux py312 -attempt1
cpoli Mar 13, 2024
8460b7b
added some new transformers
cpoli Aug 1, 2024
f45d538
remove docker folders
cpoli Aug 1, 2024
fbde1a2
mod build.yml
cpoli Aug 1, 2024
ad3c551
mod build.yml
cpoli Aug 1, 2024
c8a07ae
mod build.yml
cpoli Aug 1, 2024
4d07d30
mod build.yml
cpoli Aug 1, 2024
20f8e3d
mod build.yml
cpoli Aug 1, 2024
5126295
mod build.yml
cpoli Aug 1, 2024
e7585f7
mod build.yml
cpoli Aug 1, 2024
7d45f08
mod build.yml
cpoli Aug 1, 2024
05054bc
mod build.yml
cpoli Aug 1, 2024
9df33e2
mod build.yml
cpoli Aug 1, 2024
6bc9aea
mod build.yml
cpoli Aug 1, 2024
0cf1ec3
mod build.yml
cpoli Aug 1, 2024
de6b225
mod build.yml
cpoli Aug 1, 2024
a078178
mod build.yml
cpoli Aug 1, 2024
f648389
mod build.yml
cpoli Aug 1, 2024
424b95d
mod build.yml
cpoli Aug 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed .DS_Store
Binary file not shown.
Binary file removed .coverage
Binary file not shown.
Binary file removed .github/.DS_Store
Binary file not shown.
148 changes: 92 additions & 56 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: build and test
name: Build and Test

on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
- main
- v[0-9]+.[0-9]+.x
tags:
- v*

jobs:
build:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.9]
os: [ubuntu-latest] #ubuntu-latest [macos-latest, ] #
python-version: [3.8]
os: [ubuntu-latest] #ubuntu-latest [macos-latest, ] #

env:
PYTHON_VERSION: ${{ matrix.python-version }}
Expand All @@ -32,53 +30,91 @@ jobs:
GITHUB_OAUTH_KEY: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install libomp
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install libomp
fi
shell: bash
- name: install dependencies
run: |
pip install --upgrade pip
pip install certifi
pip install tox tox-wheel tox-gh-actions
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements_tox.txt
python setup_build.py build_ext --inplace
python setup_build.py install
- name: tests
run: |
coverage run --omit gators/*/test*.py -m pytest gators && coverage report && coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install libomp
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install libomp
fi
shell: bash
# - name: install dependencies
# run: |
# pip install --upgrade pip
# pip install certifi
# pip install tox tox-wheel tox-gh-actions
# # pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements_tox.txt
# # python setup.py build_ext --inplace
# # python setup.py install
# pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements.txt
# pip install -e ."[dev]"

# - name: tests
# run: |
# coverage run --omit gators/*/test*.py -m pytest gators && coverage report && coverage xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage.xml

build_wheels:
runs-on: ${{ matrix.os }}
needs: [test]
strategy:
matrix:
os: [macos-latest, ubuntu-latest]

steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/checkout@v2
name: Install java
with:
java-version: 1.8

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

- name: Install python depencies
run: |
python -m pip install --upgrade pip
python -m pip install certifi cibuildwheel
python -m pip install -r requirements.txt

- name: Build MacOS wheel
# if: matrix.os == 'macos-latest'
env:
CIBW_BUILD: "cp311-macosx_x86_64" #cp37-macosx_x86_64 cp38-macosx_x86_64 cp311-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64"
# CIBW_BEFORE_ALL: brew install libomp
CIBW_BEFORE_BUILD_MACOS: |
python -m pip install -U pip
python -m pip install certifi cibuildwheel
python -m pip install -r requirements.txt

# run: |
# - name: Test with tox
# run: tox
# with:
# token: {{ secrets.CODECOV_TOKEN }}
run: python -m cibuildwheel --platform macos --output-dir dist

# - run: coverage run -m pytest gators && coverage report && coverage xml

# token: 'ce68bafd-388e-42e8-abf8-b5ea3b328037'
# - name: Build linux wheels
# if: matrix.os == 'ubuntu-latest'
# env:
# CIBW_BUILD: "cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64"
# CIBW_BEFORE_BUILD_LINUX: |
# python -m pip install -U pip
# python -m pip install certifi cibuildwheel
# python -m pip install -r requirements.txt

# run: python -m cibuildwheel --platform linux --output-dir dist

# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install tox tox-wheel tox-gh-actions
# pip install numpy<1.20.0
# pip install Cython
# - name: Test with tox
# run: tox
- uses: actions/upload-artifact@v2
with:
name: wheels
path: ./dist/*.whl
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ __pycache__/
*.py[cod]
*$py.class

.DS_Store
dist

# C extensions
*.so
.DS_Store
*.pyc


# Distribution / packaging
.Python
Expand Down Expand Up @@ -73,7 +76,7 @@ instance/
.scrapy

# Sphinx documentation
doc
doc/

# PyBuilder
target/
Expand Down Expand Up @@ -131,3 +134,6 @@ dmypy.json

# Pyre type checker
.pyre/

#dask
dask-worker-space
Binary file not shown.
8 changes: 0 additions & 8 deletions .tox/log/py36-0.log

This file was deleted.

12 changes: 0 additions & 12 deletions .tox/log/py36-1.log

This file was deleted.

Loading
Loading