Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
335 stars 103 forks source link

fix for cust sys packages path #1334

Closed hallvictoria closed 11 months ago

hallvictoria commented 11 months ago

Description

Changes in worker and constants to fix "Customer packages not in sys path." warning log being hit.

Fixes #


PR information

Quality of Code and Contribution Guidelines

codecov[bot] commented 11 months ago

Codecov Report

Merging #1334 (4ff5438) into dev (1a21fa5) will decrease coverage by 53.87%. The diff coverage is 0.00%.

:exclamation: Current head 4ff5438 differs from pull request most recent head 646c36c. Consider uploading reports for the commit 646c36c to get more accurate results

@@             Coverage Diff             @@
##              dev    #1334       +/-   ##
===========================================
- Coverage   85.96%   32.09%   -53.87%     
===========================================
  Files          34       34               
  Lines        1938     1938               
  Branches      366      365        -1     
===========================================
- Hits         1666      622     -1044     
- Misses        205     1315     +1110     
+ Partials       67        1       -66     
Flag Coverage Δ
unittests 32.09% <0.00%> (-53.82%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
azure_functions_worker/constants.py 100.00% <ø> (ø)
azure_functions_worker/dispatcher.py 19.04% <0.00%> (-68.68%) :arrow_down:

... and 23 files with indirect coverage changes