diff --git a/projects/pymysql/build.sh b/projects/pymysql/build.sh index 50e567b0d..84b6cf295 100644 --- a/projects/pymysql/build.sh +++ b/projects/pymysql/build.sh @@ -14,10 +14,10 @@ # limitations under the License. # ################################################################################ -git apply --ignore-space-change --ignore-whitespace $SRC/fuzz_patch.diff -pip3 install . + +python3 -m pip install . # Build fuzzers in $OUT. for fuzzer in $(find $SRC -name 'fuzz_*.py'); do - compile_python_fuzzer $fuzzer --hidden-import=pymysql.constants + compile_python_fuzzer $fuzzer done diff --git a/projects/pymysql/fuzz_patch.diff b/projects/pymysql/fuzz_patch.diff deleted file mode 100644 index 23e47887a..000000000 --- a/projects/pymysql/fuzz_patch.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index 3793a8c..2a61b7a 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -45,5 +45,5 @@ build-backend = "setuptools.build_meta" - - [tool.setuptools.packages.find] - namespaces = false --include = ["pymysql"] -+include = ["pymysql", "pymysql.constants"] - exclude = ["tests*", "pymysql.tests*"]