Azure / azure-functions-python-worker

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

fix for cust sys packages path #1335

Closed hallvictoria closed 8 months ago

hallvictoria commented 8 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 8 months ago

Codecov Report

Merging #1335 (baf4464) into dev (5909387) will decrease coverage by 53.63%. The diff coverage is 50.00%.

:exclamation: Current head baf4464 differs from pull request most recent head fc16528. Consider uploading reports for the commit fc16528 to get more accurate results

@@             Coverage Diff             @@
##              dev    #1335       +/-   ##
===========================================
- Coverage   85.73%   32.11%   -53.63%     
===========================================
  Files          34       34               
  Lines        1942     1940        -2     
  Branches      367      367               
===========================================
- Hits         1665      623     -1042     
- Misses        210     1316     +1106     
+ Partials       67        1       -66     
Flag Coverage Δ
unittests 32.11% <50.00%> (-53.58%) :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% <100.00%> (ø)
azure_functions_worker/dispatcher.py 19.04% <0.00%> (-69.68%) :arrow_down:

... and 23 files with indirect coverage changes