Merge pull request #676 from maxbachmann/master

use rapidfuzz instead of fuzzywuzzy
This commit is contained in:
Oliver 2020-03-23 09:18:38 +11:00 committed by GitHub
commit d0f71ea6de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,7 @@ Functionality for Bill of Material (BOM) management.
Primarily BOM upload tools. Primarily BOM upload tools.
""" """
from fuzzywuzzy import fuzz from rapidfuzz import fuzz
import tablib import tablib
import os import os

View File

@ -29,7 +29,7 @@ from mptt.models import TreeForeignKey
from decimal import Decimal from decimal import Decimal
from datetime import datetime from datetime import datetime
from fuzzywuzzy import fuzz from rapidfuzz import fuzz
import hashlib import hashlib
from InvenTree import helpers from InvenTree import helpers

View File

@ -18,7 +18,7 @@ from django.conf import settings
import os import os
from fuzzywuzzy import fuzz from rapidfuzz import fuzz
from decimal import Decimal from decimal import Decimal
from .models import PartCategory, Part, PartAttachment from .models import PartCategory, Part, PartAttachment

View File

@ -17,5 +17,4 @@ django-qr-code==1.1.0 # Generate QR codes
flake8==3.3.0 # PEP checking flake8==3.3.0 # PEP checking
coverage==4.0.3 # Unit test coverage coverage==4.0.3 # Unit test coverage
python-coveralls==2.9.1 # Coveralls linking (for Travis) python-coveralls==2.9.1 # Coveralls linking (for Travis)
fuzzywuzzy==0.17.0 # Fuzzy string matching rapidfuzz==0.2.1 # Fuzzy string matching
python-Levenshtein==0.12.0 # Required for fuzzywuzzy