sfu-db / dataprep

Open-source low code data preparation library in python. Collect, clean and visualization your data in python with a few lines of code.
http://dataprep.ai
MIT License
1.98k stars 203 forks source link

feat(clean) : precompile Levenstein and python-crfsuite when release #894

Closed qidanrui closed 2 years ago

qidanrui commented 2 years ago

Description

Change the release.yml in workflow to compile Levenstein and python-crfsuite before releasing on different platforms: OS including: ubuntu-latest, macos-latest and windows-latest Python version including: 3.8, 3.9

How Has This Been Tested?

Workflows except create release notes in upload part are passed through, see: https://github.com/sfu-db/dataprep/actions/runs/2231296563

After install wheel, clean_phone and clean_address can still run in the normal way

Snapshots:

Screen Shot 2022-04-26 at 11 46 05 PM Screen Shot 2022-04-26 at 11 45 47 PM

Checklist:

codecov[bot] commented 2 years ago

Codecov Report

Merging #894 (724fbcc) into develop (a7bf820) will increase coverage by 0.04%. The diff coverage is 73.04%.

@@             Coverage Diff             @@
##           develop     #894      +/-   ##
===========================================
+ Coverage    56.01%   56.06%   +0.04%     
===========================================
  Files          314      316       +2     
  Lines        20383    20460      +77     
===========================================
+ Hits         11418    11470      +52     
- Misses        8965     8990      +25     
Impacted Files Coverage Δ
dataprep/clean/clean_url.py 97.84% <ø> (ø)
dataprep/clean/gui/clean_gui.py 29.13% <0.00%> (-0.04%) :arrow_down:
dataprep/clean/clean_json.py 30.76% <30.76%> (ø)
dataprep/eda/create_db_report/report.py 42.85% <42.85%> (ø)
dataprep/eda/create_db_report/__init__.py 70.00% <66.66%> (+6.36%) :arrow_up:
dataprep/eda/create_db_report/views/constraint.py 92.30% <80.00%> (ø)
dataprep/clean/clean_phone.py 95.69% <95.00%> (+0.46%) :arrow_up:
dataprep/clean/__init__.py 100.00% <100.00%> (ø)
dataprep/clean/address_utils.py 84.25% <100.00%> (ø)
dataprep/clean/clean_duplication_utils.py 92.41% <100.00%> (ø)
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7b2ce3f...724fbcc. Read the comment docs.